rysweet avatar

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-code

Installs 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

  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/:

Sponsors

Details

Repository
github.com/rysweet/amplihack
Categories
Backend & APIs, Documentation
First seen
Jun 3, 2026

More from rysweet/amplihack

All 58
1secondsky avatarnuxt-studiosecondsky/claude-skillsThis skill should be used when the user asks to "set up Nuxt Studio", "configure Studio OAuth", "deploy Studio to Cloudflare", "add visual editor to Nuxt", "con308skills.sh installs
2patricio0312rev avatarreadme-generatorpatricio0312rev/skillsGenerates comprehensive README files with badges, installation, usage, API docs, and contribution guidelines. Use when users request "README", "project document307skills.sh installs
3senpi-ai avatarautonomous-tradingsenpi-ai/senpi-skillsGive your agent a budget, a target, and a deadline — it does the rest. Orchestrates DSL + Opportunity Scanner + Emerging Movers into a full autonomous trading l307skills.sh installs
4aicoincom avataraicoin-onchainaicoincom/coinos-skillsUse this skill for **on-chain DEX trading and wallet operations on EVM/Solana chains**: token swap quotes, swap execution, wallet portfolio/balance queries, gas306skills.sh installs
5troykelly avatarpexels-mediatroykelly/claude-skillsSource royalty-free images and videos from Pexels API for design, placeholders, or content. Supports search, curated/popular content, collections, multiple reso303skills.sh installs
6dfinity avatarcertified-variablesdfinity/icskillsServe cryptographically verified responses from query calls using Merkle trees and subnet BLS signatures. Covers certified data API, RbTree/CertTree constructio302skills.sh installs