arn-assessing
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "document project", "generate docs", "create documentation", "write docs", "arness code document", "arn-code-document-project", "document this feature", "document this fix", or wants to generate developer documentation for a completed
$ npx -y skills add AppsVortex/arness --skill arn-code-document-project --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/arn-code-document-projectContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user says "document project", "generate docs", "create documentation", "write docs", "arness code document", "arn-code-document-project", "document this feature", "document this fix", or wants to generate developer documentation for a completed
name: arn-code-document-project description: >- This skill should be used when the user says "document project", "generate docs", "create documentation", "write docs", "arness code document", "arn-code-document-project", "document this feature", "document this fix", or wants to generate developer documentation for a completed feature or bug fix. Reads plan artifacts, spec files, execution reports, and git diff to produce accurate documentation. Do NOT use this for general-purpose documentation — this is specifically for Arness pipeline projects. version: 1.0.0
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.
1. Read the project's CLAUDE.md and extract the `## Arness` section to find:
2. **Template version check**: If `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. 3. Ask for `PROJECT_NAME` if not provided in the trigger message. 4. Verify the project directory exists with reports: `<plans-dir>/<PROJECT_NAME>/reports/` 5. If Docs directory is not in config, default to `.arness/docs/`
---
Read these files from `<plans-dir>/<PROJECT_NAME>/`:
1. **INTRODUCTION.md** -- project overview, goals, key decisions 2. **SOURCE_PLAN.md** -- original implementation plan 3. **All phase plans** in `plans/PHASE_*.md` -- acceptance criteria, expected files 4. **All reports** in `reports/` -- implementation reports, testing reports 5. **PROGRESS_TRACKER.json** -- overall completion status (if it exists)
If 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: 1. **Yes, proceed** -- Generate documentation from the available data 2. **No, stop** -- Run execution first before generating documentation
---
Find the original specification:
1. Check SOURCE_PLAN.md for a `Spec:` line referencing the spec file path 2. If not found, try name-matching files in `<specs-dir>/` against the project name 3. If found, read the spec to extract: problem statement, key decisions, scope, components
If 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`):
1. Determine the default branch (`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>` 2. Get change summary: `git diff --stat <merge-base>..HEAD` 3. Get file status: `git diff --name-status <merge-base>..HEAD`
Focus 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):
---
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):
**Directory** for complex projects:
Doc name is derived from the project name (lowercase, hyphens).
---
After writing:
1. Verify all file paths referenced in the documentation actually exist 2. Verify class/function names mentioned are accurate 3. Report to the user:
Suggest next step: "Run `/arn-code-ship` to commit your changes and create a pull request."
---
Arness — H not required. Structured AI workflows for Claude Code. From first idea to production deploy. Seven entry commands. That's all you need to remember.
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "arness code assess", "arn-code-assess", "assess codebase", "technical review", "codebase assessment", "find…
This skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "resolve security advisories", "batch CVE fix",…
This skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "find vulnerabilities", "check security advisories",…
This skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement…
This 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",…