Loading...
Loading...
Maintain organized project documentation with metadata headers. Update existing docs before creating new ones. Use when writing or editing any project documentation.
npx skill4agent add aussiegingersnap/cursor-skills documentationdocs/---
title: [Document Title]
created: YYYY-MM-DD
author: [Name or "AI-assisted"]
last_updated: YYYY-MM-DD
updated_by: [Name or "AI-assisted"]
status: [draft | active | deprecated]
---createdauthorlast_updatedupdated_bystatus| ✅ Good | ❌ Bad |
|---|---|
| One architecture.md with sections | arch-frontend.md, arch-backend.md, arch-db.md |
| Flowcharts in technical-flows.md | auth-flow.md, api-flow.md, ai-flow.md |
| Single CHANGELOG.md | release-notes-v1.md, release-notes-v2.md |
docs/
├── architecture.md # Technical patterns & decisions
├── technical-flows.md # Mermaid diagrams & API flows
├── product-requirements.md # PRD (if applicable)
├── [topic]-guide.md # Only for major topics
└── competitive-analysis-[name].md # Market researchREADME.mdCHANGELOG.mdTASKS.mdCONTRIBUTING.mdflowchart LR
A[User Action] --> B{Decision}
B -->|Yes| C[Result A]
B -->|No| D[Result B]sequenceDiagram
participant U as User
participant A as App
participant S as Server
U->>A: Action
A->>S: Request
S-->>A: Response
A-->>U: UpdatestateDiagram-v2
[*] --> Idle
Idle --> Loading: fetch
Loading --> Success: data
Loading --> Error: error
Success --> Idle: reset
Error --> Idle: retrylast_updatedupdated_by# List existing docs
ls -la docs/
# Search for related content
grep -ri "search term" docs/
# Find mermaid diagrams
grep -r "mermaid" docs/---
## [Section Title]
_Added: YYYY-MM-DD_
[Content...]---
title: [Document Title]
created: YYYY-MM-DD
author: [Name or "AI-assisted"]
last_updated: YYYY-MM-DD
updated_by: [Name or "AI-assisted"]
status: draft
---
# [Title]
[One-line description]
---
## Overview
[Content...]| ❌ Don't | ✅ Do Instead |
|---|---|
| Create auth-flow.md | Add Auth section to technical-flows.md |
| Duplicate content across files | Reference other docs with links |
| Leave stale dates | Update metadata on every edit |
| Create docs for every minor feature | Document in code comments |
| Write docs without checking existing | Always search first |
## [Unreleased]
### Added
- New feature description
### Changed
- Modified behavior
### Fixed
- Bug fix description
### Removed
- Deprecated feature
---
## [1.0.0] - YYYY-MM-DD
### Added
- Initial release features| Item | Value |
|---|---|
| Metadata required | title, created, author, last_updated, updated_by, status |
| Max docs in docs/ | ~5-7 files for typical project |
| Always update | last_updated, updated_by on every edit |
| Mermaid types | flowchart (LR/TD), sequenceDiagram, stateDiagram-v2, erDiagram |
| Status values | draft, active, deprecated |