gitnexus-plan
できること
このスキルは、コードベースの地図とソースの実際の確認を使って、コードの変更の明確な実装計画を書くようエージェントを導きます。コーディングの前に慎重な計画がほしい開発者向けです。
使う場面
- ✓コーディングを始める前に、コードの変更の計画が必要なとき。
- ✓既存の計画を確認して、より強くしたいとき。
- ✓機能がコードベースの多くの部分に関わり、慎重な順序付けが必要なとき。
スキルのリンク
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-plan/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“リトライ対応を私たちの取り込みパイプラインに追加する計画を、開発者が従えるように作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、インデックスを使って関係するコードを対応付け、実際のソースファイルを確認して、計画文書を書きます。プロジェクトのコード自体は変更しません。
技術的な内容(元の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 |
よくある質問
コードを書きますか?
いいえ。スキルは計画だけを行い、実装はしないと説明しています。そのため、本番のコードやテストは変更しません。
計画はどこに保存されますか?
プロジェクトの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
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
gitnexus-cli
48kエージェントが、コードプロジェクトのインデックス作成、状態確認、インデックスの消去、ウィキの生成を行うGitNexusのコマンドを実行できるよう支援します。
gitnexus-debugging
48kエージェントが、コードベースを通じてバグを追跡し、エラーがどこから始まり、失敗する部分をどのコードが呼び出しているかを見つけられるよう支援します。
gitnexus-exploring
48kエージェントが、慣れないコードベースを探索し、その部分どうしのつながりや、ログインのような機能の動き方を説明するのを支援します。
gitnexus-guide
48kエージェントに、GitNexusのツール、リソース、知識グラフの簡単なリファレンスを与え、タスクに合うガイドを指し示します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。