prepare-regression
यह क्या करती है
यह स्किल एजेंट से पुल रिक्वेस्ट या कमिट रेंज के पुराने और नए संस्करण, उनके शीर्षक, संदेश और रिव्यू टिप्पणियाँ जमवाती है। यह उन लोगों के लिए है जो रिग्रेशन जाँच शुरू करने वाले हैं।
कब इस्तेमाल करें
- ✓जब आप पुल रिक्वेस्ट की जाँच से पहले बदलाव से पहले और बाद की तय कॉपी चाहते हैं।
- ✓जब किसी कमिट रेंज का शुरुआती बिंदु साफ़ न हो और उसे पिन करना हो।
- ✓जब किसी बदलाव की चर्चा और सुरक्षा नोट्स तारीखों और लिंक के साथ सहेजने हों।
Skill का लिंक
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/prepare-regression/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे इस पुल रिक्वेस्ट के कोड की बदलाव से पहले और बाद की तय कॉपी चाहिए, उसकी टिप्पणियों के साथ, ताकि मैं उसकी जाँच कर सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट बदलाव के सटीक शुरुआती और अंतिम बिंदु तय करता है, हर एक का सोर्स कोड कॉपी करता है, और चर्चा को टाइमस्टैम्प के साथ सहेजता है। फिर वह इन रिकॉर्ड्स को सील करता है, ताकि बाद के चरण वही सामग्री इस्तेमाल करें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Prepare a change
When to Use
Input: PR URL or repository plus commit/range, and registry assignment. Follow project guidance after resolving the target commit.
When NOT to Use
The same inputs have a verified preparation record; reuse it.
Prepare
- Read the standard and file contract. Pin the complete change as S0/S1: commit parent or explicit range baseline; merge base to frozen head for unmerged PRs; merge first parent to merge commit, squash parent to squash, or the complete rebased series for merged PRs. Ambiguous ranges and missing root baselines block preparation.
- Freeze commit titles/messages or PR title, body, discussion, reviews and inline comments with URLs and collection time. Paginate APIs; record limits and lifecycle. Locate security/threat-model documents in both states; record paths or search limitations.
- Run snapshot.py via
uv run --no-projectwith repository, S0, S1 and a new directory, or equivalent Git commands for special source needs. Preserve dependency/submodule/LFS revisions. Exclude later history; keep exports pristine and build in separate copies. - Write and seal
prepare.jsonwith boundary explanations, frozen context and source artifacts. If blocked, preserve collected evidence and name the prerequisite.
Report Back
Keep detailed evidence in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
prepare.jsonpath, or why none was produced. - Result: selected S0/S1 and material collection limitations.
- Blocker: missing prerequisite or required caller action, if blocked.
Rationalizations to Reject
- “The PR is merged”: that does not identify the complete change boundary.
अक्सर पूछे जाने वाले सवाल
एजेंट को तय स्नैपशॉट क्यों चाहिए?
ताकि बाद की जाँचें हर बार एक ही कोड की तुलना करें, भले ही रिव्यू शुरू होने के बाद ब्रांच बदल जाए।
क्या कोड होस्ट से लाइव कनेक्शन चाहिए?
कोड और टिप्पणियाँ जमा करने के लिए रिपॉज़िटरी या पुल रिक्वेस्ट तक पहुँच चाहिए। जो सीमाएँ आईं, उनके रिकॉर्ड नतीजों के साथ सहेजे जाते हैं।
अगर कमिट रेंज अस्पष्ट हो तो?
स्किल रुक जाती है और कुछ तैयार नहीं करती, ताकि आप पहले रेंज ठीक कर सकें।
जानकारी
लेखक का मूल विवरण
Use when pinning before/after sources and collecting PR or commit context for a regression investigation.
repo: trailofbits/skills
लोकप्रियता
- GitHub स्टार
- 8.0k
- रैंकिंग में स्थान
- #12697
- लाइसेंस
- CC-BY-SA-4.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
audit-context-building
8.0kयह आपके एजेंट को सुरक्षा जाँच से पहले किसी अनजान कोड को समझने में मदद करती है, हर फ़ंक्शन की मान्यताएँ और निर्भरताएँ नक्शे में दिखाकर।
algorand-vulnerability-scanner
8.0kयह आपके एजेंट को Algorand कॉन्ट्रैक्ट्स में 11 आम सुरक्षा समस्याएँ जाँचने में मदद करती है, जैसे रीकीइंग हमले और बिना जाँची फ़ीस।
audit-prep-assistant
8.0kयह आपके एजेंट को बाहरी सुरक्षा समीक्षा के लिए कोड तैयार करने में मदद करती है, जैसे स्टैटिक एनालिसिस, टेस्ट कवरेज और दस्तावेज़ीकरण।
cairo-vulnerability-scanner
8.0kयह आपके एजेंट को StarkNet के Cairo कॉन्ट्रैक्ट्स में 6 गंभीर समस्याएँ जाँचने में मदद करती है, जैसे ओवरफ़्लो और सिग्नेचर रीप्ले।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।