मुख्य सामग्री पर जाएँ
Skillpedia
टेस्टिंग48k · #4054

break-ai-fix-loops

यह क्या करती है

यह टूल 'trial and error' के चक्र को रोकने में मदद करता है, जब कोई कंप्यूटर प्रोग्राम (AI) एरर ठीक करने की कोशिश करता है पर बार-बार एक ही तरह से नाकाम होता है। यह सुनिश्चित करता है कि फ़िक्स को भरोसेमंद तरीके से जाँचा जाए और कोशिशों की संख्या सीमित रहे।

कब इस्तेमाल करें

  • ✓जब AI बार-बार एक ही फ़िक्स दोहराता है और समस्या हल नहीं होती।
  • ✓जब एक सरल टेस्ट पास हो जाता है, लेकिन असली इस्तेमाल में प्रोग्राम फिर भी फ़ेल होता है।
  • ✓जब आपको पक्का करना हो कि फ़िक्स सच में काम कर गया है, और न करने पर उसे वापस लिया जा सके।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/break-ai-fix-loops/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/break-ai-fix-loops/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“AI इस बग को ठीक करने की कोशिश में लूप में फँसा हुआ है। क्या आप 'Break AI Fix Loops' का इस्तेमाल करके पक्का कर सकते हैं कि फ़िक्स सही तरीके से जाँचे गए हों?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह समस्या का सटीक विवरण और यह कि क्या होना चाहिए, दोनों रिकॉर्ड करके काम करता है। हर फ़िक्स की कोशिश सीमित होती है और ठोस सबूतों से जाँची जाती है, ताकि पक्का हो कि फ़िक्स असली है, न कि पुरानी कोशिश का दोहराव।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Break AI Fix Loops

Replace patch-and-retry behavior with a bounded, evidence-producing repair. Treat a changed patch as progress only when an observable state changes.

When to Use This Skill

  • Use when an AI coding agent cycles through similar patches without changing the observed failure.
  • Use when a focused test passes but the installed, deployed, UI, API, persistence, or other real execution path still fails.
  • Use when a repair claim needs a verifier that can reject a known-bad state and a rollback that has actually restored the baseline on a disposable copy.
  • Do not use for a one-shot, already-understood edit whose acceptance check directly exercises the complete claimed behavior.

Establish the repair contract

Before the first edit, record:

  • the exact defect and the behavior that would disprove it;
  • the revision, configuration, input, and execution path under test;
  • the baseline command, literal result, and exit status;
  • the strongest check that directly observes the claimed behavior;
  • the rollback command and the state it must restore.

Save raw evidence before normalizing it. Redact credentials, tokens, cookies, personal data, and private URLs. Never put secrets into a fingerprint record or committed ledger.

If the defect cannot be reproduced, stop editing. Report INCONCLUSIVE with the missing observation instead of guessing at a fix.

Use a three-attempt budget

Allow at most three repair attempts for one acceptance claim. An attempt begins when code, configuration, dependencies, generated artifacts, or test expectations change. Inspections and read-only probes do not consume an attempt.

Do not reset the budget because the agent restarts, opens a new session, rewrites the same patch, changes models, clears a cache, or renames the hypothesis. A newly exposed downstream failure still belongs to the same three-attempt budget unless it is a separately accepted task.

For every attempt, write these fields before the next edit:

Field Required evidence
Hypothesis One causal mechanism, not a restatement of the symptom
Prediction An observation that would distinguish this hypothesis from the previous one
Change Exact changed paths and a patch or before/after hash
Focused check Exact command, input, literal output, and exit status
Real-path check Direct observation, or NOT_RUN with a reason
Symptom fingerprint Stable fingerprint described below
Decision ADVANCE, SHIFT_CAUSE, PROVEN, or STOP

Use the evidence ledger as a copyable record.

Fingerprint the observable failure

Fingerprint what the system did, not the agent's explanation. Build a canonical record from:

{
  "schema_version": 1,
  "command": "the exact verification command",
  "input_digest": "digest or stable identifier of the tested input",
  "exit_code": 1,
  "failure_class": "stable-machine-readable-class",
  "stable_excerpt": "the smallest decisive output with volatile values removed",
  "real_path_state": "the directly observed state, or NOT_OBSERVED"
}

Keep the unedited output beside this sanitized record. Remove timestamps, run IDs, ANSI codes, random ports, and temporary paths from stable_excerpt only when they do not affect the defect. Do not normalize away values that could distinguish two causes.

Optionally compute the canonical SHA-256 fingerprint from this skill directory:

python3 scripts/fingerprint.py evidence/attempt-1.json

The helper validates the record, rejects unknown fields, and prints the fingerprint. It does not execute commands or redact evidence.

The helper uses only the Python 3.9+ standard library. When changing it, run its bundled regression tests:

PYTHONDONTWRITEBYTECODE=1 python3 -m unittest scripts/test_fingerprint.py -v

The same fingerprint after a different patch means the observable failure did not move. A cosmetically different message with the same failure class, input, command, and real-path state also counts as a repeated failure when the changed text is only volatile data. Do not use a patch hash in the symptom fingerprint; record it separately so different edits cannot masquerade as different outcomes.

Shift the root-cause strategy

Set the decision to SHIFT_CAUSE immediately when any of these occurs:

  • a symptom fingerprint repeats;
  • the patch changes but the decisive state does not;

…

अक्सर पूछे जाने वाले सवाल

'फ़िक्स लूप' क्या है?

जब कोई कंप्यूटर प्रोग्राम (AI) बग ठीक करने की कोशिश करता है, फ़िक्स काम नहीं करता, और वह फिर से वही प्रक्रिया दोहराता है, बिना सफलता के।

यहाँ 'सबूत' (evidence) का क्या मतलब है?

इसका मतलब है हुई घटना के विस्तृत रिकॉर्ड: सटीक एरर, उसे दोबारा करने के स्टेप, उम्मीद का नतीजा और असली नतीजा, यानी एक तरह का प्रमाण।

कोशिशों की सीमा क्यों रखी जाती है?

सीमा रखने से AI बेकार के फ़िक्स पर अनंत समय खर्च नहीं करता, और उसे ज़्यादा व्यवस्थित, सबूत-आधारित तरीके से समस्या हल करनी पड़ती है।

जानकारी

लेखक का मूल विवरण

Stop ineffective AI coding repair loops with stable failure fingerprints, a three-attempt budget, real-path proof, negative controls, and tested rollback.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4054
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills