From claude-resources
When to write prose, ADRs, READMEs, and inline comments. Use when recording design decisions, maintaining READMEs, or deciding whether a comment is worth writing. Pair with core/style for comment policy.
npx claudepluginhub deandum/claude-resources --plugin go-skillsThis skill uses the workspace's default tool permissions.
Most documentation rots. The remainder is load-bearing. The skill is knowing which kind you are writing and protecting the load-bearing material from rot.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
Most documentation rots. The remainder is load-bearing. The skill is knowing which kind you are writing and protecting the load-bearing material from rot.
A well-named function, type, or variable beats a comment every time. Before writing a comment, ask: can I rename this to make the comment unnecessary?
Write comments only when the WHY is non-obvious:
Never comment what the code already says. Never reference the current task, PR, or author.
A good README answers:
Anything more than the top of the file is exile material for docs/.
Architecture Decision Records (ADRs) are short, immutable notes about choices that shaped the system. Format:
# ADR-NNN: <decision>
## Context
<what was the pressure, the constraint, the question>
## Decision
<what we chose>
## Consequences
<what becomes easier, what becomes harder, what we have to watch>
Rules:
Public interfaces need:
If the contract is not documented, nothing prevents a refactor from breaking callers. Internal APIs can rely on the test suite as their contract; external APIs cannot.
Every file you write is a place docs can rot. Minimize:
docs/adr/CONTRIBUTING.mdIf it lives somewhere strange, nobody updates it.
| Shortcut | Reality |
|---|---|
| "I'll comment everything so it's easy to read." | Over-commenting hides the code. Rename first. |
| "Nobody reads the README anyway." | Your future self reads it. Write for them. |
| "We'll write the ADR later." | You won't. Write it now, while the decision is fresh. |
| "The tests are the documentation." | Tests are a lower bound. They tell you what must work, not why it was built. |
| "I'll duplicate the README in the wiki for discoverability." | Now you have two READMEs to keep in sync. One source of truth. |