gitnexus-plan
यह क्या करती है
यह आपके एजेंट को codebase के नक्शे और असली सोर्स के खिलाफ़ जाँच का इस्तेमाल करके, कोड बदलाव की साफ़ implementation योजना लिखना सिखाती है। यह उन डेवलपर्स के लिए है जो कोडिंग शुरू होने से पहले सोच-समझकर योजना चाहते हैं।
कब इस्तेमाल करें
- ✓जब कोडिंग शुरू होने से पहले किसी कोड बदलाव की योजना चाहिए।
- ✓जब मौजूदा योजना को जाँचकर मज़बूत बनाना है।
- ✓जब कोई फ़ीचर codebase के कई हिस्सों को छूता है और सावधानी से क्रम तय करना है।
Skill का लिंक
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-plan/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप हमारे ingestion pipeline में retry समर्थन जोड़ने की ऐसी योजना बना सकते हैं, जिसे कोई डेवलपर फ़ॉलो कर सके?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट index का इस्तेमाल करके संबंधित कोड का नक्शा बनाता है, असली सोर्स फ़ाइलें जाँचता है, और एक योजना दस्तावेज़ लिखता है। वह प्रोजेक्ट का कोड खुद नहीं बदलता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
gitnexus-plan — implementation-ready engineering plans
Produce an implementation-ready plan for an engineering task. GitNexus is the
navigation layer (where to look), statement-level PDG is the constraint layer
(what gates and feeds the behavior), and your native targeted source reads are
the verification layer (what is actually true right now). The output is a plan
document plus a compact, machine-readable implementation context pack
that a follow-up implementation agent (gitnexus-work, or any executor) can
consume without repeating the investigation.
/gitnexus-plan <task description>
/gitnexus-plan impact_depth:3 depth:deep <task description> # knob overrides, see Configuration
This skill plans. It never implements. Do not modify production code,
tests, or configuration while running it. The only repository file it writes
is the plan document (a working ledger kept outside the repo is fine). The
only other permitted state change is an index refresh via
analyze --index-only, which writes only the .gitnexus index store. It
must not build analyzer dist/ output and must not mutate source, tests,
configuration, or evaluation data. Stale analyzer provenance is disclosed as
a source-weighted limitation, never repaired by a planning run.
Hard rules
- Ledger first. Before every GitNexus call and every repo file read, check
the context ledger. Never repeat a query or reread an unchanged range that
already answered the same question (allowed repeats are defined in
references/context-ledger.md; this skill's own reference files are exempt from ledger bookkeeping). - Every graph query answers a named planning question. Record the question and the conclusion in the ledger. No exploratory dredging.
- Source beats graph. The graph navigates; current source is authoritative. Verify before asserting (see Phase 4). Comments are the weakest evidence — never stronger than executable code.
- No fabrication. Never invent symbols, filenames, test names, tool results, or PDG edges. Unknowns go to Assumptions and Open Questions.
- No scope creep. Adjacent refactors the task didn't ask for go to plan §12 as explicitly-deferred follow-ups, not into Proposed Changes.
- Pin working-tree evidence, not only HEAD. Every plan form carries the
versioned global dirty digest and sorted cited-path manifest defined in
references/context-ledger.md. Generate it only with the portable helper and byte contract inscripts/evidence-provenance.mjsandreferences/evidence-provenance.md; never reimplement the digest. - Write the plan only through the helper. The generated-plan path is a
normalized repo-relative
docs/plans/YYYY-MM-DD-gitnexus-plan-<3-5-word-slug>.mdpath. Compose the complete UTF-8 document in memory or in a scratchpad outside the target repo, then pass it on stdin to the helper'swrite-plancommand. Never write the destination directly or fall back to an external output path when the safe writer fails. - Read an existing plan only through the helper. Deepen must invoke
scripts/evidence-provenance.mjs read-plan, parse the exact decodedplan_bytes_base64from its descriptor-anchored receipt, and retain that receipt's canonicalgenerated_plan_pathandplan_digestas one binding. Never parse a direct lexical-path read or apply one plan's digest to another path. - Stop when you have enough. Sufficient evidence ends exploration; plans do not improve monotonically with tokens spent.
Phase 0 — Parse and classify
Read references/context-ledger.md and open the ledger with the task:
original request, interpreted goal, acceptance criteria. Classify the task:
| Category | Posture (depth · plan form · tool-call budget · freshness) |
|---|---|
| Bug fix (local) | Narrow, 1–2 primary symbols, impact_depth 1 · compact · ~15 · accept |
| Feature | Default knobs · compact · ~30 · accept |
| Refactor / shared API change | Impact mandatory, impact_depth 3 · full · ~45 · strict |
| Performance | Default + performance PDG mode (references/pdg-slice.md) · full · ~45 · strict |
| Security | Default + security PDG |
अक्सर पूछे जाने वाले सवाल
क्या यह कोड लिखती है?
नहीं। स्किल कहती है कि यह योजना बनाती है और कभी लागू नहीं करती, इसलिए production कोड या टेस्ट नहीं बदलती।
योजना कहाँ सेव होती है?
योजना प्रोजेक्ट के docs/plans फ़ोल्डर में एक दस्तावेज़ के रूप में सेव होती है।
क्या यह मेरी लिखी योजना सुधार सकती है?
हाँ। स्किल मौजूदा योजना को और गहरा करके मज़बूत बना सकती है।
जानकारी
लेखक का मूल विवरण
Use when you need a deep, implementation-ready engineering plan for a code change — built from GitNexus graph intelligence, statement-level PDG analysis, and targeted source verification, compact enough that an implementation agent can start without re-investigating. Also strengthens existing plans via Deepen mode. Examples: "/gitnexus-plan Add retry support to the ingestion pipeline", "/gitnexus-plan deepen docs/plans/<plan>.md", "plan this change using the knowledge graph".
repo: abhigyanpatwari/GitNexus
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #3611
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
gitnexus-cli
48kआपके एजेंट को GitNexus कमांड चलाने देती है, जो कोड प्रोजेक्ट का index बनाते हैं, उसकी स्थिति जाँचते हैं, index साफ़ करते हैं या wiki बनाते हैं।
gitnexus-debugging
48kआपके एजेंट को किसी codebase में बग का सुराग लगाने में मदद करती है, यह ढूँढते हुए कि एरर कहाँ से शुरू होता है और कौन सा कोड विफल हिस्से को बुलाता है।
gitnexus-exploring
48kआपके एजेंट को किसी अनजान codebase को खंगालने में मदद करती है, समझाते हुए कि उसके हिस्से कैसे जुड़े हैं और login जैसी सुविधा कैसे काम करती है।
gitnexus-guide
48kआपके एजेंट को GitNexus टूल्स, संसाधनों और knowledge graph का त्वरित संदर्भ देती है, और सही गाइड की ओर इशारा करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।