gitnexus-work
What it does
It guides your agent to build a planned change one step at a time, testing each step before moving on. It is for developers who already have a plan and want it carried out carefully.
When to use it
- βWhen you have a plan file and want the work carried out step by step.
- βWhen a small, bounded task should be done directly with careful checks.
- βWhen you want each change verified and committed in small pieces.
Skill link
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-work/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you carry out the plan in docs/plans for the retry feature and commit each step after it passes its tests?β
5 new skills a week. 1 minute to read.
How it works
The agent reads the plan, checks the impact of each symbol it edits, and runs the planned tests. It only commits once the change checks out.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
gitnexus-work β execute a gitnexus-plan
Execute an implementation plan produced by gitnexus-plan, shipping it as a
sequence of verified, atomic commits. The plan's section 11
(implementation_context pack) is the primary machine-readable input; the
prose sections are its rationale. This skill does edit code β it is the
executor counterpart to the planning-only gitnexus-plan.
/gitnexus-work <plan path> # execute this plan
/gitnexus-work # newest docs/plans/*gitnexus-plan*.md here
/gitnexus-work <small task text> # direct mode, see Input triage
Input triage
- Plan path (or blank β the newest
docs/plans/*gitnexus-plan*.mdunder the current repo root): the normal mode; continue to Phase 1. Schema-2 plans have a normalized repo-relativedocs/plans/YYYY-MM-DD-gitnexus-plan-<3-5-word-slug>.mdgenerated_plan_path. Resolve only a lexical candidate, then invoke `scripts/evidence-provenance.mjs read-plan --repo <root> --generated-plan
<candidate>and load only the exact bytes in its descriptor-anchored receipt. Require the receipt's canonical repo-relative path to equal the document'sgenerated_plan_path` byte-for-byte;
reject an external, escaping, differently scoped, or mismatched value. A
plan in another target repo may still be passed by explicit path. If Phase 1's
pre-completed check finds every Β§7 step of the newest plan already landed,
stop and ask instead of re-executing it.
- Bare task text: trivial and bounded (1β2 files, no architectural
decisions) β implement directly with the same discipline:
impactbefore every symbol edit, minimal change, tests when behavior changes, verification commands taken from the repo's own scripts (package.json / CI),detect_changesbefore every commit, and the shared Build-current/index-current procedure before graph-dependent impact and final verification. Anything larger β recommend running/gitnexus-planfirst; honor the user's choice if they decline.
Phase 1 β Load and re-anchor the plan
- Resolve the target repo and normalized plan candidate, then invoke this
skill's descriptor-anchored
scripts/evidence-provenance.mjs read-plancommand exactly as specified inreferences/evidence-provenance.md. Reject a missing, external, escaping, symlinked, or differently scoped path. Decode and read the receipt's exactplan_bytes_base64completely; never read or reopen the lexical path directly. It is a decision artifact, not a script: scope boundaries andavoidentries bind you; exact code is yours to write. Retain the receipt's canonicalgenerated_plan_pathandplan_digestin session state. Never edit the plan body. - Parse the Β§11
implementation_contextpack:acceptance_criteria,evidence_provenance,primary_symbols,related_symbols,files_to_modify,execution_path,pdg_constraints,architectural_patterns,tests,verification_commands,risks,assumptions,open_questions,avoid. Compact plans carry the mini-pack subset β absent optional fields are empty, not errors.evidence_provenanceis mandatory: absence or schema 1 means a legacy plan, not a clean tree. Before relying on it, require exact byte-for-byte equality between the read-plan receipt's canonicalgenerated_plan_pathandevidence_provenance.generated_plan_path. - Two-layer drift check β always recompute. Even when current HEAD is the
same HEAD as the plan pin, recompute both the canonical global dirty digest
and the sorted cited-path manifest. Read
references/evidence-provenance.md, then invoke this skill'sscripts/evidence-provenance.mjswith the plan's exactgenerated_plan_path, every cited manifest path, and schema version 2. Never recreate its bytes in shell or prose. Schema 1 cannot be recomputed unambiguously and requires conservative re-anchoring. Include object kind plus HEAD/index/worktree/untracked layer digests, and classifystaged,unstaged,untracked,deleted,renamed,mixed, andabsentevidence. Honor the generated-plan exclusion exactly; do not exclude all plans. - Re-anchor on either mismatch. Missing or legacy provenance, a HEAD
mismatch, or a global dirty digest mismatch requires a conservative
re-anchor before work:
- Diff every cited-path manifest entry. Changed cited paths β including staged-only, unstaged-only, deleted, bot
FAQ
Does it need a plan file?
Not always. The skill can also take a small task directly, without a full plan.
How does it avoid breaking things?
It checks the impact of each symbol before editing it, and it checks changes before each commit.
Where does it find the plan?
If you do not name one, it uses the newest plan file in the docs/plans folder.
Details
Original description by the author
Use when executing an engineering plan produced by gitnexus-plan (or a small bounded task directly) β implements step by step with GitNexus impact checks before every symbol edit, tests from the plan''s scenarios, and detect_changes gating every commit. Examples: "/gitnexus-work docs/plans/2026-07-11-gitnexus-plan-ingestion-retry.md", "/gitnexus-work" (latest plan), "execute the plan".
repo: abhigyanpatwari/GitNexus
Popularity
- GitHub stars
- 48k
- Ranking position
- #3614
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gitnexus-cli
48kLets your agent run GitNexus commands that index a code project, check its status, clear the index, or generate a wiki.
gitnexus-debugging
48kHelps your agent trace a bug through a codebase, finding where an error starts and which code calls the failing part.
gitnexus-exploring
48kHelps your agent explore an unfamiliar codebase, explaining how its parts connect and how a feature such as login works.
gitnexus-guide
48kGives your agent a quick reference to GitNexus tools, resources, and the knowledge graph, and points it to the right guide.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.