| name | csa-doc-writing |
| description | Clear, practical documentation for APIs, README, architecture decisions, and changelogs |
| allowed-tools | Bash, Read, Grep, Glob, Edit, Write |
Technical Documentation Writing
Clear, practical documentation for APIs, README, architecture decisions, and changelogs.
Principles
- Reader-first - Assume no prior knowledge
- Example-driven - Show, don't just tell
- Concise - Eliminate redundancy
- Current - Update with code changes
- Searchable - Clear headings and keywords
Code Documentation (Rust)
pub fn function(param: Type) -> Result<T, E> { ... }
README Structure
# Project Name
One-line description.
## Features
## Quick Start
### Installation
### Usage
## Configuration
## API Documentation
## Contributing
## License
Architecture Decision Records (ADR)
# ADR-001: Decision Title
## Status
Accepted | Deprecated | Superseded by ADR-XXX
## Context
Why this decision is needed.
## Decision
What we decided and why.
## Consequences
### Positive
### Negative
### Neutral
CHANGELOG Format
# Changelog
## [Unreleased]
### Added
### Changed
### Fixed
### Removed
### Security
## [1.0.0] - 2024-01-01
Documentation Workflow
- Analysis: Gather information from codebase (public APIs, types, errors)
- Synthesis: Organize by document type, identify gaps
- Write: Create clear, example-driven content
Documentation Checklist