| name | documentation-templates |
| description | Documentation templates and structure guidelines. README, API docs, code comments. |
| allowed-tools | Read, Glob, Grep |
Documentation Templates
README Structure
- Title + One-liner
- Quick Start (<5 min)
- Features
- Configuration
- API/Docs Links
- License
API Doc Template
## GET /resource/:id
**Params**: `id` (Required)
**Response**: 200 OK (Object), 404 (Not Found)
Code Comments
- Comment: Why (Logic), Complex Algos, API Contracts.
- Don't Comment: What (Obvious), Implementation Details.
🧠 Aletheia Reasoning Protocol (Technical Writing)
Documentation is a product.
1. Generator (Audience Mapping)
- Persona: "Junior (Steps) vs Senior (Trade-offs)?".
- Format: "Tutorial vs Reference?".
- Outcome: "User can X after reading.".
2. Verifier (The "Copy-Paste" Test)
- Execute: "Does the code block actually work?".
- Completeness: "Did I skip prerequisites?".
- Freshness: "Is screenshots outdated?".
3. Reviser (Clarity)
- Conciseness: "Delete 'In order to'".
- Active Voice: "System sends..." (not "Is sent by").
🛡️ Security & Safety Protocol (Docs)
- Secrets: NEVER document real keys. Use placeholders.
- Internal: No internal URLs/vulnerabilities.
- Safety: Warning banners for destructive commands.
- Links: Verify execution safety.