
Documentation Writing
This enforces the Eight Rules and Diataxis framework when writing software docs. It automatically activates when you mention creating READs, tutorials, or API docs, then makes sure everything lands in docs/, gets linked from at least one other file, and uses real runnable examples instead of foo/bar placeholders. The strict separation between doc types (tutorial vs how-to vs reference vs explanation) keeps things focused, and it actively blocks you from putting temporal stuff like test results or status updates in documentation. Opinionated in a way that actually saves time during code review.
- skills.sh installs
- 308
- GitHub stars
- 76
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rysweet/amplihack --skill documentation-writing --agent claude-codeInstalls into .claude/skills of the current project.
Files
Documentation Writing Skill
Purpose
Creates high-quality, discoverable documentation following the Eight Rules and Diataxis framework. Ensures all docs are properly located, linked, and contain real runnable examples.
When I Activate
I load automatically when you mention:
- "write documentation" or "create docs"
- "document this feature/module/API"
- "create a README" or "write a tutorial"
- "explain how this works"
- Any request to create markdown documentation
Core Rules (MANDATORY)
The Eight Rules
- Location: All docs in
docs/directory - Linking: Every doc linked from at least one other doc
- Simplicity: Plain language, remove unnecessary words
- Real Examples: Runnable code, not "foo/bar" placeholders
- Diataxis: One doc type per file (tutorial/howto/reference/explanation)
- Scanability: Descriptive headings, table of contents for long docs
- Local Links: Relative paths, context with links
- Currency: Delete outdated docs, include update metadata
What Stays OUT of Docs
Never put in docs/:
Sponsors
Details
- Repository
- github.com/rysweet/amplihack
- Categories
- Backend & APIs, Documentation
- First seen
- Jun 3, 2026
More from rysweet/amplihack
All 58- Political Scientist Analyst303
- Novelist Analyst288
- Knowledge Extractor281
- Socratic Review278
- Physicist Analyst277
- Chemist Analyst276
- Computer Scientist Analyst272
- Docx268
- Journalist Analyst264
- Roadmap Strategist262
- Biologist Analyst259
- Microsoft Agent Framework259
- Code Smell Detector252
- Sociologist Analyst251
- Backlog Curator250
- Engineer Analyst249
- Investigation Workflow249
- Pm Architect245
- Historian Analyst244
- Xlsx244
- Code Visualizer242
- Urban Planner Analyst242
- Debate Workflow240
- Environmentalist Analyst236