| type | skill |
| name | Documentation |
| description | Generate and update technical documentation |
| skillSlug | documentation |
| phases | ["P","C"] |
| generated | "2026-03-02T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Documentation
When to Use
Activate this skill when creating or updating technical documentation. Use it after implementing features, changing architecture, or when documentation is outdated.
Instructions
- Identify the document type:
- Project overview →
project-overview.md
- Architecture changes →
architecture.md
- New workflows →
development-workflow.md
- New domain terms →
glossary.md
- Data flow changes →
data-flow.md
- Security updates →
security.md
- Tool additions →
tooling.md
- Test changes →
testing-strategy.md
- Follow the template structure:
- Preserve YAML frontmatter (type, name, description, category, status).
- Update
status from unfilled to filled when completing.
- Fill all section placeholders marked with
_Content to be added._.
- Keep the
## Related Resources section with working relative links.
- Writing style:
- Use clear, concise language with technical precision.
- Use Markdown tables for structured data (APIs, types, config).
- Use code blocks for commands, file paths, and code examples.
- Use Mermaid diagrams for visual architecture or flow representations.
- Cross-reference related documents using relative links.
- Verify accuracy:
- Check file paths and line numbers against current code.
- Verify commands run correctly before documenting them.
- Match type definitions to
packages/shared/src/types.ts.
- Legacy vs. active distinction: Documentation for new features should reference NestJS and SvelteKit. Mark Express/Next.js references as legacy. When documenting APIs or features, clearly indicate whether the content applies to the active stack (NestJS/SvelteKit) or the legacy stack (Express/Next.js).
Examples
API endpoint documentation:
| Method | Path | Description | Auth | Status Codes |
|---|
| GET | /api/franchises | List all franchises | Required | 200, 401 |
| POST | /api/franchises | Create a franchise | Required | 201, 400, 401 |
Command documentation:
npm run dev:nestjs
npm run seed:nestjs