Skip to content
rysweet avatar

Documentation Writing

Clear, discoverable software documentation built on the Eight Rules and Diataxis framework, with enforced placement and linking.

CCM score
49 of 100
skills.sh installs
311
GitHub stars
77
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers writing README files, API docs, tutorials, how-to guides, and other project documentation using Diataxis doc types
  • Includes a five-step workflow (determine type, choose location, write with examples, link from index, validate) and a validation checklist
  • Enforces docs in docs/, links from docs/index.md, one Diataxis type per file, and no temporal status in docs
  • Designed for projects that need consistent, runnable, and scannable documentation, with auto-activation on phrases like "create docs"

Install

$ npx -y skills add rysweet/amplihack --skill documentation-writing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

  1. Location: All docs in docs/ directory
  2. Linking: Every doc linked from at least one other doc
  3. Simplicity: Plain language, remove unnecessary words
  4. Real Examples: Runnable code, not "foo/bar" placeholders
  5. Diataxis: One doc type per file (tutorial/howto/reference/explanation)
  6. Scanability: Descriptive headings, table of contents for long docs
  7. Local Links: Relative paths, context with links
  8. Currency: Delete outdated docs, include update metadata

What Stays OUT of Docs

Never put in docs/:

Details

Repository
github.com/rysweet/amplihack
Category
Technical Documentation
First seen
Jun 3, 2026

Questions

What does the documentation-writing skill do?

The documentation-writing skill helps an agent write clear, discoverable software documentation following the Eight Rules and Diataxis framework. It loads when you ask to create README files, API docs, tutorials, how-to guides, or other project documentation.

How do I install the documentation-writing skill?

Run npx -y skills add rysweet/amplihack --skill documentation-writing -y in your project. After that, the agent can enforce docs/ location, linking requirements, and runnable examples when you write documentation.

Where does documentation-writing stand in the Technical Documentation category?

The documentation-writing skill is listed in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It focuses on enforcing the Eight Rules and placing each document in a Diataxis type such as tutorial, how-to, reference or explanation.

Which documents should not go into docs/ when using this skill?

The skill keeps status reports, test results, meeting notes, dated plans and point-in-time snapshots out of docs/. It directs that temporal information go to CI logs, GitHub Issues, pull request descriptions or commit messages instead.

More from rysweet/amplihack

All 55

Similar to Documentation Writing

More Technical Documentation