/wordsmith:document-disciplinefrom wordsmith
Use before creating or changing documentation, including READMEs, `docs/` files, runbooks, and design documents, or when deciding whether knowledge from a task should be written down.
Ships in wordsmith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Default to leaving documentation as it is. Change a document only when your work makes it false, or when future work needs a lasting fact that the document is the right home for. Finishing a feature is not a reason to document it.
Instruction files and the root README are stricter. For AGENTS.md, CLAUDE.md, and files they import, use wordsmith:writing-effective-agents-md. For rule files, use wordsmith:writing-effective-rules. For a repository's root README.md, use wordsmith:writing-effective-readme.
Ask: will someone need this after the PR merges and the work is finished? Then pick the home that fits:
| Knowledge | Home |
|---|---|
| Migration steps already run, one-time timings, verification results | PR description or issue |
| Procedures nobody has tested | Issue, or nowhere |
| Reasoning behind a change | Commit message or PR description |
| A hidden constraint on one specific line | Code comment |
| A fact found by reading the code or config, or by running a command | Nowhere |
| A lasting fact about how the system works | Existing document |
Create a new document only when the user has decided that it should exist. These count as that decision:
These do not count:
docs/ folder with one file per component, or a README that links to such files. This is precedent, not a request.If lasting knowledge has no home, finish the task without creating the file. Then tell the user the proposed path and what it would contain, in one or two lines, so that they can decide.
When the user asks you to document something without asking for a new file, look for an existing document to update first.
Find the section where the fact belongs and change that text. Replace what the new fact supersedes, so the document does not grow by default. A reader of the final document must not be able to tell the order in which facts were added.
Appended:
## Install
Run `make calico-install-<env>` after the cluster boots.
Note: Flux depends on Calico, so install Calico first.
Update 2026-11-05: `make flux-install-<env>` now installs Calico for you.
Integrated:
## Install
`make flux-install-<env>` installs Calico first, because Flux needs pod networking.
If a fact has no natural place in the document, question whether it belongs there at all. Do not collect such facts in a closing note or a catch-all paragraph.
Before you write a sentence, ask two questions:
If either answer is yes, write the rule or reason that holds no matter how many members exist, and point to the file or command that lists them:
| Fails | Survives |
|---|---|
This project publishes two Docker images: api and worker. | CI publishes one image for each Dockerfile under images/. |
| The service runs Postgres 15.4. | docker-compose.yml pins the Postgres version. |
Configure it with PORT, LOG_LEVEL, and DB_URL. | config/defaults.yaml lists every setting and its default. |
Keep a number or a list only when the reader needs it to act and nothing in the repository states it, such as a measured limit from an incident.
Before you finish, confirm each of these:
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/comment-disciplineUse when writing, editing, or reviewing code or config in any language, including IaC and manifests, to decide whether a comment belongs and how to word it./writing-effective-agents-mdUse before creating or changing `AGENTS.md` or `CLAUDE.md` files, and when reviewing them./writing-effective-readmeUse before creating or changing a repository's root `README.md`, and when reviewing it.Other plugins' skills for the same job
npx claudepluginhub davidnlopes/claude-code-plugins --plugin wordsmith