1---2name: maxaboxi-mojoreborn-docs-update3description: Documentation Quality4---56# Documentation Quality78## STOP - Documentation Freshness910- **Documentation rots faster than code.** Stale docs are worse than no docs.11- **If code changed, check which docs need updating** - README, CLAUDE.md, API docs, comments12- **Comments explain WHY, not WHAT** - If it repeats the code, delete it1314---1516## Core Principle1718> "The purpose of comments is to explain things that aren't obvious from the code."19> — Ousterhout, APOSD2021**Good documentation:**22- Explains WHY, not WHAT23- Uses different words than the code24- Stays synchronized with implementation25- Describes the non-obvious2627---2829## Documentation Checklist3031### 1. README Accuracy32- [ ] Does README describe current behavior?33- [ ] Are setup instructions still valid?34- [ ] Do examples still work?35- [ ] Are dependencies current?36- [ ] Is the feature list accurate?3738### 2. Comment Freshness39- [ ] Do comments match the code they describe?40- [ ] Are TODOs still relevant or stale?41- [ ] Do function comments match signatures?42- [ ] Are "temporary" comments actually temporary?4344### 3. API Documentation45- [ ] Public interfaces have doc comments?46- [ ] Parameters documented with types and constraints?47- [ ] Return values documented?48- [ ] Exceptions/errors documented?49- [ ] Examples provided for complex APIs?5051### 4. Changelog Updates52- [ ] Breaking changes documented?53- [ ] New features listed?54- [ ] Bug fixes noted?55- [ ] Migration instructions for breaking changes?5657### 5. Comment Quality (APOSD)58- [ ] Comments describe non-obvious things?59- [ ] Comments use different words than code?60- [ ] Interface comments present (before implementation)?61- [ ] Comments explain "why", not "what"?62- [ ] No comments that repeat the code?6364### 6. Missing Documentation65- [ ] New public APIs documented?66- [ ] New configuration options documented?67- [ ] New environment variables documented?68- [ ] New CLI flags documented?6970### 7. AI Documentation71Check all AI config files that exist in the project:7273| File | Tool |74|------|------|75| `CLAUDE.md` | Claude Code |76| `.cursorrules` / `.cursorignore` | Cursor |77| `.github/copilot-instructions.md` | GitHub Copilot |78| `AGENTS.md` | Copilot Workspace |79| `.windsurfrules` | Windsurf |80| `.aider.conf.yml` | Aider |81| `.continue/config.json` | Continue.dev |82| `.clinerules` | Cline |83| `.roomodes` | Roo Code |84| `CONVENTIONS.md` | Various |8586- [ ] AI docs reflect current architecture?87- [ ] Agent/skill descriptions accurate?88- [ ] File structure documentation up to date?89- [ ] All AI config files consistent with each other?90- [ ] Version numbers synchronized?9192---9394## Comment Anti-Patterns9596| Anti-Pattern | Example | Problem |97|--------------|---------|---------|98| Repeat the code | `i++ // increment i` | Zero value |99| State the obvious | `// loop through users` | Noise |100| Stale comment | Comment says X, code does Y | Dangerous |101| TODO forever | `// TODO: fix this` from 2019 | Clutter |102| Commented-out code | Dead code masquerading as comment | Confusion |103104---105106## Comment Patterns That Add Value107108| Pattern | Example | Value |109|---------|---------|-------|110| Explain rationale | `// Use insertion sort: n < 10 always` | Design decision |111| Warn about non-obvious | `// Must call before X, else crash` | Prevent bugs |112| Summarize algorithm | `// Binary search on sorted timestamps` | Quick understanding |113| Document edge case | `// Empty list returns -1, not null` | Clarify behavior |114| Reference external | `// Per RFC 7231 section 6.5.4` | Authority |115116---117118## Severity Guide119120| Finding | Severity |121|---------|----------|122| README contradicts actual behavior | CRITICAL |123| API doc says wrong return type | CRITICAL |124| Stale comment causes bug risk | CRITICAL |125| CLAUDE.md describes deleted/renamed files | CRITICAL |126| New public API undocumented | IMPORTANT |127| Breaking change not in changelog | IMPORTANT |128| CLAUDE.md missing new features/agents | IMPORTANT |129| AI doc version mismatch | IMPORTANT |130| Stale TODO from distant past | SUGGESTION |131| Could add clarifying comment | SUGGESTION |132| Minor README improvement | SUGGESTION |133134---135136## Questions to Ask1371381. "If someone reads only the docs, will they use this correctly?"1392. "If the code changes, which docs need updating?"1403. "Does this comment tell me something the code doesn't?"1414. "Is this TODO actionable or just noise?"142143144---145146---147> Source: [maxaboxi/MojoReborn](https://github.com/maxaboxi/MojoReborn) — distributed by [TomeVault](https://tomevault.io).148<!-- tomevault:4.0:skill_md:2026-05-23 -->
Run npx skillmds@latest add tomevault-io/maxaboxi-mojoreborn-docs-update in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Documentation Quality It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.