what-could-break
यह क्या करती है
यह टूल पता लगाने में मदद करता है कि कोड में बदलाव करने पर क्या टूट सकता है। यह सिर्फ़ वही हिस्सा नहीं देखता जो आपने बदला है, बल्कि यह भी देखता है कि बदलाव सिस्टम के उन दूसरे हिस्सों पर कैसे असर डाल सकता है जो सीधे आपके एडिट से जुड़े नहीं हैं।
कब इस्तेमाल करें
- ✓कई कोड हिस्सों में बड़े बदलाव करने से पहले।
- ✓ऐसी फ़ाइलों को एडिट करते समय जिन्हें कई दूसरे प्रोग्राम इस्तेमाल करते हैं।
- ✓जब आप पक्का करना चाहते हों कि छोटा सा बदलाव भी अनचाही समस्या न लाए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/what-could-break/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस बदलाव से सिस्टम के दूसरे हिस्सों में क्या टूट सकता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल आपके बदलाव का विश्लेषण करता है और बाकी जगहों पर संभावित समस्याएँ खोजता है। वह बदले हुए कोड के साथ असली टेस्ट चलाकर साबित करने की कोशिश करता है कि आपका बदलाव सुरक्षित है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
What Could Break
Overview
Listing callers is not the job. Grep does that in a second. This skill finds the breakage grep will not show you, and produces one proof that the change is safe.
Run it before design, not only before merge. Whenever a task asserts something about existing code ("X already handles Y", "just make X public"), that assertion is a hypothesis, and the census of real consumers decides the design.
When to Use
- Use before any multi-file edit, or an edit to a shared path: API payload, config, stored data, a client other apps read, a prompt or policy file
- Use when the user asks "what could this break" or "blast radius of X"
- Use for a small diff you do not trust
- Use when a brief asserts something about existing code, before you design against that assertion
How It Works
Step 1: Do not trust your own writeup
A risk analysis that sounds right is worthless: it reads as convincing whether or not it is true. Find the one or two facts the whole change depends on, and get each one as far down this ladder as is cheap. Say where it stopped.
- You said so. Worth nothing on its own.
- You pointed at it. A real
file:line, or the library's own source at the pinned version. - You walked it. You traced the bad case step by step and it does not reach.
- You ran it. A script or test calls the real code and fails loud if you are wrong.
- You saw it live. Reproduced in the running app, service or device.
Rung 4 is usually one small script that imports the same module production runs and calls the exact function you are worried about, with the input you are worried about.
Step 2: Read the change
The diff, the symbols it adds, changes and deletes, and what it now does differently,
including what the diff does not spell out. git log -S '<symbol>' and
git log -L :<function>:<file> show why the old shape exists; a guard that looks
pointless often has a commit explaining the incident it stopped.
Step 3: Find the one fact it is safe because of
Most risky-looking changes are safe because of one fact ("this only drops cache entries that are already expired", "no client reads this field"). If it holds, most risks clear at once. If you cannot find one, the change is not understood yet.
Step 4: Look where grep stops
Search for the literal value, the field name, the error text and the old behavior, not only the symbol you renamed. Then check each of these by hand:
- The same rule living twice. A second config file, a fallback path that hardcodes the old default, a copy synced into another repo, a constant duplicated in a migration or test fixture, a feature flag default.
- Prompts and agent files that restate the rule. System prompts, agent and skill files,
AGENTS.md,CLAUDE.md, runbooks. An agent obeys the stale sentence, not your code. - Every other client. Web, iOS, Android, desktop, CLI, extensions, partner integrations. Mobile clients in users' hands stay on the old version for weeks: what does an old client do with the new shape, and a new client with the old server?
- Wire formats. JSON field names and types, enum values, null versus missing, date formats, pagination shape, error codes, webhook payloads, queue schemas, GraphQL and protobuf contracts.
- Stored state. Columns and their defaults, rows written under the old shape, cache entries, files on disk, append-only logs, session and cookie contents, search indexes. Old data outlives the deploy.
- Environment and secrets. An env var renamed in code but not in the deploy config, CI, the image, or the second service that reads it.
- Processes that restart separately. Web server, workers, cron jobs, serverless functions, the mobile app, a sidecar. During a rollout one runs new code while another runs old code against the same data. Can both coexist for an hour?
- Timing and concurrency. Two writers on the same row or key, a retry that now fires twice, ordering that only held because one step was slow.
- Library source at its pinned version. Read the dependency's code at the lockfile version, not your memory of its docs.
- Generated and vendored code. Clients generated from a schema, vendored copies, committed build artifacts, bundles whose cache-busting key did not change.
- Tests and fixtures that encode the old behavior. A test that passes because its fixture still has the old shape proves nothing about the new one.
…
अक्सर पूछे जाने वाले सवाल
मैं सिर्फ 'grep' क्यों नहीं इस्तेमाल कर सकता?
'Grep' किसी खास टेक्स्ट को खोजता है। यह टूल उससे आगे जाकर देखता है कि कोड असल में कैसे काम करता है और दूसरे हिस्सों से कैसे बात करता है, जो 'grep' नहीं कर सकता।
'rung 4' का क्या मतलब है?
'Rung 4' भरोसे का एक स्तर है, जहाँ कोई टेस्ट या स्क्रिप्ट असली कोड को अपेक्षित इनपुट के साथ चलाती है और कुछ गलत होने पर फेल हो जाती है। यह साबित करने का तरीका है कि कोड सही काम कर रहा है।
'wire formats' क्या होते हैं?
ये वे तरीके हैं जिनसे सिस्टम के अलग-अलग हिस्से डेटा का आदान-प्रदान करते हैं, जैसे मैसेज फ़ॉर्मेट (JSON, XML), फ़ील्ड के नाम, डेटा टाइप, और एरर कैसे बताए जाते हैं।
जानकारी
लेखक का मूल विवरण
Find what a change breaks outside its own diff, then prove the one fact that makes it safe by running real code. Use before any multi-file edit or an edit to a shared path.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #6171
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।