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
48kGitNexus 명령을 실행해 코드 프로젝트를 색인하고, 상태를 확인하고, 색인을 지우고, 위키를 만들도록 돕습니다.
gitnexus-debugging
48k코드베이스에서 버그를 추적해 오류가 시작된 곳과 실패한 부분을 호출하는 코드를 찾도록 돕습니다.
gitnexus-exploring
48k에이전트가 낯선 코드베이스를 탐색하도록 돕습니다. 주요 부분이 어떻게 연결되는지, 로그인 같은 기능이 어떻게 동작하는지 설명합니다.
gitnexus-guide
48kGitNexus 도구, 리소스, 지식 그래프에 대한 빠른 참고 자료를 제공하고 알맞은 안내서를 알려 줍니다.