| name | nazgul:docs |
| description | View, generate, or regenerate project documents (PRD, TRD, ADRs, test plans). Use when asked about project documentation, design decisions, or technical specs. |
| context | fork |
| allowed-tools | Read, Write, Glob, Grep, Bash |
| metadata | {"author":"Jose Mejia","version":"2.7.1"} |
Nazgul Docs
Examples
/nazgul:docs — View list of generated documents
/nazgul:docs generate — Generate or regenerate all project documents
/nazgul:docs approve — Approve documents for planning
Current Documents
- Manifest: !
cat nazgul/docs/manifest.md 2>/dev/null || echo "No documents generated yet. Run /nazgul:init first."
- Classification: !
cat nazgul/context/project-classification.md 2>/dev/null || echo "Project not classified yet."
- Config: !
jq '.documents' nazgul/config.json 2>/dev/null || echo "No document config found."
Arguments
$ARGUMENTS
Instructions
Format all output per references/ui-brand.md — use stage banners, status symbols, and display patterns defined there.
Based on the user's request:
View Documents
If the user wants to see existing documents:
- Read
nazgul/docs/manifest.md for the document list
- Read the requested document from
nazgul/docs/
- Display a formatted summary
Generate Documents
If the user wants to generate or regenerate documents:
- Read
nazgul/context/project-classification.md for project type
- Delegate to the doc-generator agent
- The doc-generator will use templates from
templates/docs/ and write to nazgul/docs/
- Update
nazgul/docs/manifest.md
Approve Documents
If the user wants to approve documents for planning:
- Update the document status in
nazgul/docs/manifest.md to "approved"
- Update
nazgul/config.json -> documents.approved array
- Confirm which documents were approved