docs-writer
Skill0 starsChanged 25 days agoMITView on GitHub
Use when writing or updating README files, how-to guides, reference docs, migration notes, or architecture explanations for a software project. Produces documentation with tested commands, explicit audience, and no invented behavior. Also use when docs are stale after an API or CLI change.
- Installs packages
29 other projects use a version of this.
Adopted by
Most recently taken up by
- delorenj/skillstheir own version, first seen Nov 7, 2026
- adeonir/agent-skillstheir own version, first seen Nov 6, 2026
- flightctl/ai-workflowstheir own version, first seen Oct 22, 2026
- maximhq/bifrosttheir own version, first seen Oct 20, 2026
- archiforge/agent-crafttheir own version, first seen Oct 20, 2026
- munnam77/claude-for-solopreneurstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use docs-planner, docs-reviewer and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
strands-agentsSkilldocs-planner
Find the gaps in the Box documentation and produce a prioritized backlog for docs/user/ and docs/design/. Use when planning documentation work, after a feature or a binary ships without a page, for a periodic health check of the docs, or when asked "what docs need writing", "plan the docs work", "prioritize the docs backlog", or "what should we document next".
Also in 3 projects that use this
strands-agentsSkilldocs-reviewer
Review Box drafts in docs/user/ or docs/design/, and wording-only rewrites in docs/dev/. Use after docs-writer, before a docs pull request, or for a requested doc review. Check style and preservation of meaning, then give a Ship it, Tighten, or Rethink verdict. Read-only.
Also in 3 projects that use this
hiroppySkilldocs-audit
Audit docs/ design documents, specs, and implementation plans against current source code for drift. Outputs a drift report and updates documents. Triggers on "check if docs are up to date", "diff docs vs code", "update design docs", "docs consistency check", "verify specs match source", "check plan completion status". Most effective after code or documentation changes.
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 4 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- google-gemini/gemini-cli★ 109ksame name
- maximhq/bifrost★ 9.4ksame name
- strands-agents/sdk-python★ 9.1ksame name
- strands-agents/harness-sdk★ 8.9ksame name
- Devolutions/IronRDP★ 3.3ksame name
- prisma/docs★ 1.1ksame name
- prisma/web★ 1.1ksame name
- event-driven-io/emmett★ 562same name
- strands-agents/box★ 503same name
- Cosmian/kms★ 372same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- docs/agents.mdAGENTS.md
- agent-skill-authorSkill
- api-contract-reviewSkill
- codex-cli-workflowsSkill
- codex-plugin-authorSkill
- context-budgetSkill
- dependency-auditSkill
- git-recoverySkill
- incident-postmortemSkill
- mcp-server-builderSkill
- performance-profileSkill
- pr-reviewerSkill
- release-engineerSkill
- repo-onboardingSkill
- skill-security-reviewSkill
- sql-migration-reviewSkill
- terminal-debuggerSkill
- test-first-fixSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 24 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
24
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Write only what you verified.
- Distinctive: line 22
Use this skill when:
- Distinctive: line 50
Do not mix all six into one README.
- Distinctive: line 54
Run each command in a clean environment.
- Distinctive: line 56
Use the real package name, binary name, and version.
- Distinctive: line 58
Do not use ellipses inside commands.
- Distinctive: line 61
Test on the platforms you claim to support, or say which one you tested.
- Distinctive: line 63
If you cannot run a command, write "not verified" in the draft and remove it before publishing, or mark it clearly as untested.
- Distinctive: line 78
Put the most valuable information above the fold.
- Distinctive: line 93
Use realistic values, never real credentials.
- Distinctive: line 94
Keep examples short enough to read in one screen.
- Distinctive: line 96
Prefer copy-paste blocks over pseudo-code.
- Distinctive: line 129
Update docs in the same pull request as the behavior change.
- Distinctive: line 130
Put a test around critical snippets.
- Distinctive: line 131
Add a link checker to CI.
- Distinctive: line 133
Remove screenshots that show an interface that no longer exists.
- Distinctive: line 134
Delete deprecated sections after the deprecation window.
- Distinctive: line 174
Do not invent flags, fields, limits, prices, or platform support.
- Distinctive: line 175
Do not copy commands from another project without running them here.
- Distinctive: line 176
Do not use "simply", "just", or "obviously" for steps that can fail.
- Distinctive: line 177
Do not hide prerequisites in a later section.
- Distinctive: line 178
Do not publish secrets, internal URLs, customer names, or personal data in examples.
- Distinctive: line 179
Do not describe a future feature as available.
- Distinctive: line 180
Do not let a screenshot be the only explanation of a workflow.
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docs Writer
Documentation is a contract with a reader who cannot see the code. A wrong command costs more than a missing paragraph, because the reader trusts it and fails.
Write only what you verified. Mark what you did not.
When to use
Use this skill when:
- Creating a README for a new project.
- Adding a how-to for a workflow users struggle with.
- Updating docs after a CLI flag, API field, or default changed.
- Writing migration notes for a breaking change.
- Explaining architecture to a new contributor.
- Reviewing documentation for accuracy before release.
Workflow
1. Name the reader and the job
Write one sentence:
A developer who has never used this project wants to install it and make one successful request in under five minutes.
Different readers need different documents:
| Document | Reader | Job |
| README | New user | Understand, install, run one example |
| Tutorial | New user | Learn by doing, in order |
| How-to | Existing user | Solve one specific problem |
| Reference | Existing user | Look up an exact option or field |
| Explanation | Contributor or operator | Understand why the system works this way |
| Migration guide | Upgrading user | Change code safely |
Do not mix all six into one README. Link to the others.
2. Verify every command
Run each command in a clean environment. Copy the output that proves it worked.
- Use the real package name, binary name, and version.
- Show the working directory when it matters.
- Do not use ellipses inside commands; readers paste them.
- Show expected output, at least one line.
- Note prerequisites and the command that checks them.
- Test on the platforms you claim to support, or say which one you tested.
If you cannot run a command, write "not verified" in the draft and remove it before publishing, or mark it clearly as untested.
3. Structure for scanning
Most readers scan, then read one section.
- Title: what it is, in plain language.
- One-paragraph description: problem, solution, who it is for.
- Quick start: the shortest working path.
- Features: what it does, each with one concrete detail.
- Usage: commands or API examples.
- Configuration: options with defaults and types.
- Troubleshooting: the five failures users hit.
- Contributing and license.
Put the most valuable information above the fold. Do not open with a badge wall or a table of contents for a short document.
4. Write examples that run
<!-- skillrig-ignore-block: global-install -- install instructions for the CLI this document ships -->npm install --global skillrig@1.0.0
skillrig search testingNAME GRADE DESCRIPTION
test-first-fix A Turn a bug report into a failing test- Use realistic values, never real credentials.
- Keep examples short enough to read in one screen.
- Show one success and the most common failure.
- Prefer copy-paste blocks over pseudo-code.
- For APIs, show request and response, including status codes.
5. Write reference accurately
Every option needs:
- Name and type.
- Default.
- Allowed values.
- What it changes.
- A one-line example.
- Since which version, when relevant.
Generate reference from code when possible, and add a test that fails when the docs drift. A hand-maintained flag table will be wrong within two releases.
6. Explain decisions, not just behavior
For architecture or design docs:
- State the constraint that forced the decision.
- List the alternatives considered.
- State the trade-off accepted.
- Record what would cause a revisit.
We store the registry index as a single JSON file instead of a database because the catalog is under 10 MB, updates are batched, and clients need offline verification. The trade-off is slow full-text search at catalog sizes above roughly 5,000 skills. Revisit when search latency exceeds 300 ms at p95.That paragraph is useful in a year. "We use JSON for simplicity" is not.
7. Keep docs alive
- Update docs in the same pull request as the behavior change.
- Put a test around critical snippets.
- Add a link checker to CI.
- Date time-sensitive claims.
- Remove screenshots that show an interface that no longer exists.
- Delete deprecated sections after the deprecation window.
Examples
Weak quick start:
Install the package and configure it as needed, then run the app.Strong quick start:
<!-- skillrig-ignore-block: global-install -- install instructions for the CLI this document ships -->npm install --global skillrig@1.0.0
skillrig doctor
skillrig search "code review"SkillRig doctor
Node.js 22.17.0 ok
Registry verified ok
Codex skills ~/.codex/skills okWeak option description:
--force: force the operation.Strong option description:
`--force`: replace a skill directory that SkillRig does not manage. Requires the target to contain a `SKILL.md`. Refuses to delete a directory without one. Default: `false`.Guardrails
- Do not invent flags, fields, limits, prices, or platform support.
- Do not copy commands from another project without running them here.
- Do not use "simply", "just", or "obviously" for steps that can fail.
- Do not hide prerequisites in a later section.
- Do not publish secrets, internal URLs, customer names, or personal data in examples.
- Do not describe a future feature as available. Use a roadmap section.
- Do not let a screenshot be the only explanation of a workflow.
Verification checklist
- Reader and job stated before writing.
- Every command run in a clean environment.
- Prerequisites listed and checked.
- Expected output shown.
- All options documented with defaults.
- Failure modes and troubleshooting included.
- Links and relative paths resolve.
- No stale screenshots or version claims.
- Docs updated in the same change as the code.
- Untested claims removed or marked.
References
references/doc-patterns.mdcontains a README skeleton, a how-to skeleton, and a migration note template.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

