verification-before-completion
यह क्या करती है
यह नियम तय करती है कि AI एजेंट को काम पूरा होने की बात कहने से पहले ताज़ा सबूत दिखाना चाहिए, जैसे टेस्ट का चलना। यह उन लोगों के लिए है जो मान ली गई सफलता के बजाय भरोसेमंद जवाब चाहते हैं।
कब इस्तेमाल करें
- ✓जब एजेंट यह कहने वाला हो कि टेस्ट पास हैं या बग ठीक हो गया है।
- ✓जब एजेंट बदलाव commit करने या pull request खोलने वाला हो।
- ✓जब आप चाहते हों कि build या lint जांच का सच में सफल होने का सबूत मिले।
Skill का लिंक
https://github.com/obra/superpowers/blob/main/skills/verification-before-completion/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“फ़िक्स पूरा होने से पहले टेस्ट चलाइए और मुझे असली नतीजा दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल एजेंट से मांग करती है कि वह उस कमांड का नाम बताए जो दावे को सिद्ध करता है, उसे ताज़ा चलाए, पूरा आउटपुट पढ़े, और तभी नतीजा कहे। अगर आउटपुट दावे की पुष्टि न करे, तो एजेंट असली स्थिति बताता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Verification Before Completion
Overview
Core principle: Evidence before claims, always.
Violating the letter of this rule is violating the spirit of this rule.
The Iron Law
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
If you haven't run the verification command in this message, you cannot claim it passes.
The Gate Function
BEFORE claiming any status or expressing satisfaction:
1. IDENTIFY: What command proves this claim?
2. RUN: Execute the FULL command (fresh, complete)
3. READ: Full output, check exit code, count failures
4. VERIFY: Does output confirm the claim?
- If NO: State actual status with evidence
- If YES: State claim WITH evidence
5. ONLY THEN: Make the claim
Skip any step = lying, not verifying
Common Failures
| Claim | Requires | Not Sufficient |
|---|---|---|
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
| Regression test works | Red-green cycle verified | Test passes once |
| Agent completed | VCS diff shows changes | Agent reports "success" |
| Requirements met | Line-by-line checklist | Tests passing |
Red Flags - STOP
- Using "should", "probably", "seems to"
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
- About to commit/push/PR without verification
- Trusting agent success reports
- Relying on partial verification
- Thinking "just this once"
- Tired and wanting work over
- ANY wording implying success without having run verification
Rationalization Prevention
| Excuse | Reality |
|---|---|
| "Should work now" | RUN the verification |
| "I'm confident" | Confidence ≠ evidence |
| "Just this once" | No exceptions |
| "Linter passed" | Linter ≠ compiler |
| "Agent said success" | Verify independently |
| "I'm tired" | Exhaustion ≠ excuse |
| "Partial check is enough" | Partial proves nothing |
| "Different words so rule doesn't apply" | Spirit over letter |
Key Patterns
Tests:
✅ [Run test command] [See: 34/34 pass] "All tests pass"
❌ "Should pass now" / "Looks correct"
Regression tests (TDD Red-Green):
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
❌ "I've written a regression test" (without red-green verification)
Build:
✅ [Run build] [See: exit 0] "Build passes"
❌ "Linter passed" (linter doesn't check compilation)
Requirements:
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
❌ "Tests pass, phase complete"
Agent delegation:
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
❌ Trust agent report
When To Apply
ALWAYS before:
- ANY variation of success/completion claims
- ANY expression of satisfaction
- ANY positive statement about work state
- Committing, PR creation, task completion
- Moving to next task
- Delegating to agents
Rule applies to:
- Exact phrases
- Paraphrases and synonyms
- Implications of success
- ANY communication suggesting completion/correctness
अक्सर पूछे जाने वाले सवाल
क्या पिछला टेस्ट चलना काफ़ी है?
नहीं। सफलता का दावा करने से पहले मौजूदा बातचीत में जांच दोबारा चलानी होगी।
क्या लिंटर के पास होने से build सही साबित होता है?
नहीं। हर दावे के लिए उससे मेल खाने वाली अलग कमांड चाहिए, इसलिए build के दावे के लिए build जांच चाहिए।
अगर subagent सफलता की रिपोर्ट दे तो?
स्किल कहती है कि सिर्फ़ रिपोर्ट पर भरोसा न करें, बल्कि असली बदलाव जांचें, जैसे version control diff।
जानकारी
लेखक का मूल विवरण
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
repo: obra/superpowers
लोकप्रियता
- GitHub स्टार
- 311k
- रैंकिंग में स्थान
- #98
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
brainstorming
311kयह आपके एजेंट को केंद्रित सवाल पूछकर और साफ़ विकल्प रखकर, कुछ भी नया बनाने से पहले यह समझने में मदद करती है कि आप असल में क्या चाहते हैं।
executing-plans
311kयह आपके एजेंट को मौजूदा सेशन में लिखी इम्प्लीमेंटेशन योजना को चरण-दर-चरण पूरा करने में मदद करती है, हर चरण के बाद अगला शुरू करने से पहले उसकी जांच करके।
finishing-a-development-branch
311kयह आपके एजेंट को तैयार कोड को टेस्ट चलाकर समेटने में मदद करती है, फिर merge करने, pull request खोलने या branch रखने के साफ़ विकल्प देती है।
receiving-code-review
311kयह आपके एजेंट को कोड समीक्षा की टिप्पणियों को ध्यान से परखने में मदद करती है, कुछ भी बदलने से पहले हर बिंदु को कोड से मिलाकर।
मिलती-जुलती skills
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।
cpp-testing
280kयह आपके एजेंट को C++ code के लिए tests लिखने और सुधारने देता है। यह testing tools सेट करने और errors ठीक करने में मदद करता है।
csharp-testing
280kयह आपके एजेंट को C# और .NET code के लिए tests बनाने में मदद करता है। यह best practices इस्तेमाल करता है ताकि tests असरदार और भरोसेमंद हों।