# Project Docs Builder

> Build, review, update, and audit production-grade project documentation packs from a brief, partial docs, or implementation changes. Use when the user asks to create a full docs folder, PRD/FRS/NFR, architecture docs, ERD/data dictionary, API/OpenAPI docs, UX flows, project plans, engineering workflow docs, AI agent runbooks, operational runbooks, or a documentation system similar to a mature pro…

- **Type:** Skill
- **Install:** `agentstack add skill-m2kky-project-docs-builder-project-docs-builder`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [m2kky](https://agentstack.voostack.com/s/m2kky)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [m2kky](https://github.com/m2kky)
- **Source:** https://github.com/m2kky/Project-Docs-Builder
- **Website:** https://m2kky.github.io/Project-Docs-Builder/

## Install

```sh
agentstack add skill-m2kky-project-docs-builder-project-docs-builder
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Project Docs Builder

Create a complete documentation system, not a few thin spec files. The goal is a coherent pack that can drive product decisions, implementation, testing, operations, and AI-assisted development.

## Workflow

1. Detect the task mode:
   - **Build**: create a new docs pack from a brief.
   - **Review**: inspect existing docs for gaps, contradictions, missing artifacts, and shallow sections.
   - **Update**: propagate a product, requirement, API, data, UX, or operations change across the relevant docs.
   - **Audit**: verify traceability across PRD, requirements, architecture, data, API, tests, deployment, and operations.
2. Read only the references needed:
   - New pack or broad restructure: `references/intake-and-routing.md`, `references/full-pack-structure.md`, `references/document-templates.md`, and `references/quality-gates.md`.
   - Review/audit: `references/full-pack-structure.md` and `references/quality-gates.md`.
   - Focused update: `references/document-templates.md` plus `references/quality-gates.md`.
3. Gather missing context with a small number of high-value questions. If the user gives a usable brief, proceed and mark open assumptions instead of stalling.
4. Choose pack depth:
   - **Lite**: small project, core product/requirements/architecture/plan only.
   - **Full**: default. Production-ready docs pack with product, requirements, architecture, UX, delivery, engineering, AI, diagrams, and OpenAPI skeleton.
   - **Enterprise**: Full plus deeper compliance, governance, vendor, support, analytics, release, and incident detail.
5. Scaffold the tree when useful:
   - Run `scripts/scaffold_docs_pack.py  --level full` for an empty structure.
   - Use `--dry-run` first if the target already has docs.
6. Generate docs in dependency order:
   - Product intent -> requirements -> architecture -> data/API -> UX -> testing/ops -> engineering/AI workflow.
7. Maintain cross-document consistency:
   - Requirements must map back to product scope.
   - Architecture must implement requirements.
   - ERD/data dictionary/API/OpenAPI must agree.
   - Testing strategy must cover the highest-risk requirements.
   - Deployment, monitoring, backup, and incident docs must cover operational failure modes.
8. End with a concise gap list:
   - Open assumptions.
   - Missing decisions.
   - High-risk areas needing review.
   - Files created or updated.

## Generation Rules

- Write implementation-grade docs, not marketing prose.
- Prefer explicit tables, checklists, diagrams, and acceptance criteria over vague paragraphs.
- Separate short reference docs from detailed traceability docs when both are useful.
- Include executable or renderable artifacts where relevant: Mermaid `.mmd`, PlantUML snippets, and OpenAPI YAML.
- Keep provider contracts concrete: auth, data sent, data received, timeout, retries, fallback, logging, security notes.
- Treat high-risk flows as first-class docs: payments, booking/concurrency, auth, private files, migrations, webhooks, external sync, data restore, or any equivalent domain risks.
- Avoid copying project-specific content from an example repository. Reuse the structure and reasoning pattern, then adapt to the new project.
- If legal/privacy docs are generated, label them as drafts requiring legal review.
- If the user wants a GitHub-ready skill or docs package, include only safe generated examples; never include real secrets, `.env`, provider payloads, signed URLs, or local runtime logs.

## Review Rules

When reviewing an existing docs pack, report findings first:

- Missing required docs.
- Contradictions across scope, requirements, architecture, data, API, tests, and operations.
- Thin docs that have headings but no implementation decisions.
- High-risk flows without tests, runbooks, or failure handling.
- Artifacts not synced with prose, such as OpenAPI or diagrams.

Use file paths and section names where possible. Do not rewrite the whole pack unless the user asks.

## Update Rules

For focused changes, update the minimal connected set:

- Product/scope change: product docs, requirements, project plan, roadmap, acceptance criteria.
- Requirement change: FRS/NFR, traceability matrix, architecture docs, tests, UX if user-facing.
- Data model change: ERD, data dictionary, data architecture, migration plan, indexing strategy, API/OpenAPI if exposed.
- API change: API design, OpenAPI, error handling, frontend/backend contract notes, tests.
- Integration change: integration architecture, third-party contract, webhook strategy, monitoring, incident runbook.
- Security/auth change: auth security, threat model, security architecture, testing, deployment checklist.
- Operations change: deployment operations, checklist, monitoring, backup/recovery, incident response, onboarding.

## Validation

Before finishing, run the relevant checks:

- Validate the skill itself with the skill-creator validator when editing this skill.
- For generated docs, inspect the final file list and confirm required docs exist for the selected depth.
- Check internal links and filenames.
- Check that diagrams/OpenAPI are present when the pack claims they exist.
- Check the quality gates in `references/quality-gates.md`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [m2kky](https://github.com/m2kky)
- **Source:** [m2kky/Project-Docs-Builder](https://github.com/m2kky/Project-Docs-Builder)
- **License:** MIT
- **Homepage:** https://m2kky.github.io/Project-Docs-Builder/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-m2kky-project-docs-builder-project-docs-builder
- Seller: https://agentstack.voostack.com/s/m2kky
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
