AgentSkillsCN

Documenting

文档记录

SKILL.md

Documenting

Keep documentation current, versioned, and consistent with code.

Rules

  • Docs match code — if code changes, docs change
  • Version in docs matches package.json/dune-project
  • No stale references to removed features
  • Examples must run

When to Update

Code ChangeDoc Update
New commandREADME, help text
New type/functionRelevant skill/mindset
Removed featureRemove from all docs
Version bumpUpdate all version refs

Checklist

See checklists/documenting.md for review checklist with severities.

Structure

DocPurpose
README.mdEntry point, quick start
CHANGELOG.mdVersion history
docs/design/Architecture decisions
skills/How-to guides
mindsets/Principles

Style

From mindsets/WRITING.md:

  • Short, direct sentences
  • Concrete facts, no vibes
  • Only claim what you can prove