/arn-code:arn-code-document-projectfrom arn-code
Generates developer documentation for completed features or bug fixes by reading plan artifacts, spec files, execution reports, and git diff. For Arness pipeline projects.
Ships in arn-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate developer documentation for a completed feature or bug fix by reading plan artifacts, spec files, execution reports, and git diff to produce accurate, reference-heavy documentation.
Pipeline position:
arn-code-execute-plan -> arn-code-review-implementation -> **arn-code-document-project** -> arn-code-ship
This skill produces a single documentation file (or directory for complex projects) that captures what was actually built, how it diverges from the original plan, and where to find everything in the codebase.
## Arness section to find:
Template version and Template updates fields are present in the ## Arness section, run the template version check procedure from ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-save-plan/references/template-versioning.md before proceeding. If these fields are not present, treat as legacy and skip.PROJECT_NAME if not provided in the trigger message.<plans-dir>/<PROJECT_NAME>/reports/.arness/docs/Read these files from <plans-dir>/<PROJECT_NAME>/:
plans/PHASE_*.md -- acceptance criteria, expected filesreports/ -- implementation reports, testing reportsIf reports are missing, warn the user that the project may not have been fully executed yet and:
Ask (using AskUserQuestion):
"Some reports are missing. The project may not have been fully executed yet. Proceed with available data?"
Options:
Find the original specification:
Spec: line referencing the spec file path<specs-dir>/ against the project nameIf no spec is found, proceed without it (some projects may not have specs).
If Git is available (check ## Arness config or run git rev-parse --is-inside-work-tree):
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@', falling back to main), then find the merge base: git merge-base HEAD <default-branch>git diff --stat <merge-base>..HEADgit diff --name-status <merge-base>..HEADFocus on key entry points -- don't read every changed file. Prioritize:
If Git is not available, skip this step and rely on report data only.
Compare what was planned (INTRODUCTION.md, phase plans, spec) with what was built (reports, git diff):
bugsFixed in reports)Use the template from ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-document-project/references/doc-template.md.
Single file for simple projects (fewer than 15 changed files AND 3 or fewer phases):
<docs-dir>/<PROJECT_NAME>.mdDirectory for complex projects:
<docs-dir>/<PROJECT_NAME>/README.md with subtopic files as neededDoc name is derived from the project name (lowercase, hyphens).
After writing:
Suggest next step: "Run /arn-code-ship to commit your changes and create a pull request."
## Arness config missing in CLAUDE.md -- inform the user: "Arness is not configured for this project yet. Run /arn-implementing or /arn-shipping to get started — it will set everything up automatically."/arn-code-save-plan and /arn-code-execute-plan first./arn-code-execute-plan to generate reports.mkdir -p.What SKILL.md sets; muted values are Claude Code's defaults
37 skills in this plugin
/arn-assessingThis skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "pattern compliance check", "codebase health check", "improvement plan", "review my codebase", "what needs fixing", "code quality check", "audit my code", "run an assessment", "arn-assessing", or wants a comprehensive technical assessment of the codebase against stored patterns followed by prioritized improvement execution. Chains to arn-implementing if improvements are identified./arn-code-assessThis skill should be used when the user says "arness code assess", "arn-code-assess", "tech debt audit", "assess the project", or wants a comprehensive technical assessment of the codebase against stored patterns followed by prioritized improvement execution through the full Arness pipeline./arn-code-batch-cve-fixThis skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "batch CVE fix", "remediate CVEs", "arness CVE fix", "arn-code-batch-cve-fix", "fix all open CVE tickets", "cleanup resolved CVE proposals", or wants Arness to apply per-group dependency bumps for CVEs already triaged by arn-code-batch-cve-scan and open one human-reviewed PR per group against the configured Security branch. Interactive only./arn-code-batch-cve-scanThis skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "dependabot triage", "audit dependencies", "security scan", "arness CVE scan", "arn-code-batch-cve-scan", "run a scheduled CVE scan", "finalize a CVE proposal", or wants Arness to discover, triage, and ticket security advisories across project dependencies (GitHub Dependabot plus locally-detected scanners). Three modes: interactive, proposal (unattended, safe for Routines or claude -p), and finalize (review a proposal and file tickets on GitHub or Jira)./arn-code-batch-implementThis skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement in parallel", "arness batch implement", "arn-code-batch-implement", "run batch implementation", "implement everything", "launch batch workers", or wants to spawn parallel worktree-isolated background agents to implement multiple pending features simultaneously. Each worker runs as a full independent session with all tools. This skill requires pending plans in .arness/plans/ — run arn-code-batch-planning first if none exist./arn-code-batch-mergeThis skill should be used when the user says "batch merge", "merge batch", "arness batch merge", "arn-code-batch-merge", "merge all PRs", "merge batch PRs", "merge the batch", "merge implemented features", "batch merge PRs", "merge open PRs", "merge all feature PRs", "combine batch PRs", "land the batch", "land all PRs", or wants to discover open batch implementation PRs, analyze them for conflicts, determine an optimal merge order, and execute merges with user-guided conflict resolution. This skill is typically invoked after arn-code-batch-implement completes and chains to arn-code-batch-simplify upon completion.npx claudepluginhub appsvortex/arness --plugin arn-codeOther plugins' skills for the same job