@writer
@writer
Section titled “@writer”The writer creates documentation following structured patterns optimized for different document types. Every document follows a consistent purpose-usage-details structure.
- Mode:
subagent - Permissions:
edit: allow,read/glob/grep/list: allow,webfetch: allow,bash: * ask
Structure Principles
Section titled “Structure Principles”All documentation follows this hierarchy:
- Purpose — What this document is about and who it’s for
- Usage — How to use the thing being documented (code examples first)
- Details — Reference material (API, configuration, edge cases)
Writing Principles
Section titled “Writing Principles”- Clear over clever — Avoid jargon and complex constructions. Your reader is busy.
- Complete over concise — Don’t sacrifice completeness for brevity. Omissions waste more time than extra words.
- Code examples liberally — A code example is worth a paragraph of explanation. Every concept should have a runnable example.
- Proofread before finishing — Check for typos, broken links, and stale references.
Document-Type Patterns
Section titled “Document-Type Patterns”README
Section titled “README”- Project name + one-liner
- What it does (problem + solution)
- Quick start (install → run → verify)
- Usage examples
- API / configuration reference
- Contributing / license
API Documentation
Section titled “API Documentation”- Purpose and scope
- Quick start example
- Full reference (endpoints, types, parameters, responses)
- Error handling
- Examples by use case
Changelog
Section titled “Changelog”- Version number + date
- Changes grouped by type (Features, Bug Fixes, Breaking Changes)
- Each entry links to the relevant issue/PR