docs-creator
Skill1 starsChanged 9 days agoApache-2.0View on GitHub
Create or improve documentation files with Diataxis-aware placement and consistent naming. Use when the user wants to create any new documentation, improve existing docs, write a README, or restructure documentation. Also use when asked to "write docs", "improve this doc", "add a tutorial", "update the readme", or any request involving markdown documentation authoring, even if they don't explicitly say "create documentation". Not for syncing docs after code changes, source code docstrings, or Markdown linting.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shenjingnan/xiaozhi-clienttheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- shenjingnan/xiaozhi-client★ 341same name
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 repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .apm/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/workflows/CLAUDE.mdCLAUDE.md
- .cursor/rules/agent-skills.mdcCursor rule
- .cursor/rules/bats.mdcCursor rule
- .cursor/rules/github-actions-workflow.mdcCursor rule
- .cursor/rules/go.mdcCursor rule
- .cursor/rules/go-test.mdcCursor rule
- .cursor/rules/instructions.mdcCursor rule
- .cursor/rules/markdown.mdcCursor rule
- .cursor/rules/shell-script.mdcCursor rule
- .cursor/rules/terraform.mdcCursor rule
- agent-skills-reviewSkill
- changelogSkill
- ci-sweeperSkill
- docs-updaterSkill
- github-actions-reviewSkill
- github-actions-validationSkill
- github-issue-autofixSkill
- github-issue-triageSkill
- github-pr-bodySkill
- github-pr-reviewSkill
- github-pr-reviseSkill
- go-reviewSkill
- go-validationSkill
- instructions-reviewSkill
- loop-verifierSkill
- markdown-validationSkill
- refactorSkill
- shell-script-reviewSkill
- shell-script-validationSkill
- tech-debtSkill
- test-gapSkill
- agent-skills-reviewSkill
- changelogSkill
- ci-sweeperSkill
- docs-creatorSkill
- docs-updaterSkill
- github-actions-reviewSkill
- github-actions-validationSkill
- github-issue-autofixSkill
- github-issue-triageSkill
- github-pr-bodySkill
- github-pr-reviewSkill
- github-pr-reviseSkill
- go-reviewSkill
- go-validationSkill
- instructions-reviewSkill
- loop-verifierSkill
- markdown-validationSkill
- refactorSkill
- shell-script-reviewSkill
- shell-script-validationSkill
- tech-debtSkill
- test-gapSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Create new documentation files (README, specs, architecture, tutorials, how-to guides)
- Distinctive: line 54
No docs layout yet: use the Diataxis fallback in category-diataxis-mapping.md.
- Distinctive: line 59
Gather context: read the sources for the document type before writing.
- Very specific: line 75
Update
docs/index.md: only when it already exists and follows the template in common-checklist.md, or when the user asks for it. - Very specific: line 77
Update mkdocs.yml nav: if the file exists. Place the entry in the section matching the file's directory.
- Very specific: line 81
Self-check: every created or updated file against QV-01..QV-05 in common-checklist.md.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UTILITY SKILL — creates and improves documentation content.
Input
- Request (required): natural language describing what to document
- target_file (optional): explicit path when updating an existing file
Output Specification
Return structured report per references/common-output-format.md.
Execution Scope
USE FOR:
- Create new documentation files (README, specs, architecture, tutorials, how-to guides)
- Improve or rewrite existing documentation content
- Apply consistent structure to unstructured docs
DO NOT USE FOR:
- Syncing docs after code changes
- Source code comments or docstrings
- Markdown linting
- Auto-generated references (godoc, terraform-docs output)
Reference Files Guide
- category-diataxis-mapping.md (always read)
- common-checklist.md (always read)
- common-output-format.md (always read)
Workflow
- Determine intent: new document or improvement to existing one? If neither can be inferred, stop with
Status: blocked. - Detect the existing docs layout: list the repository's documentation directories and any
docs/index.md,mkdocs.yml, or README docs-index markers.- Existing layout found (for example
docs/guides/,docs/api/, or Diataxis directories): place the new file in the matching existing directory. - No docs layout yet: use the Diataxis fallback in category-diataxis-mapping.md.
- README → repository root.
- Existing layout found (for example
- Resolve filename: kebab-case, lowercase,
.md. No version numbers. Iftarget_fileis provided and exists, use it as-is. If the same filename already exists in a different docs directory, stop and ask the user. Gather context: read the sources for the document type before writing. The document should be self-sufficient — a reader understands the system without reading source code. Remove sections that cannot be populated rather than leaving filler.
Document type Read first README Entry points, build/run/test commands in manifests or task files, top-level config, license Tutorial / How-to The commands, scripts, and config the steps use; existing tests that exercise the same path Reference Public interfaces: CLI flags, config schemas, API signatures, environment variables Explanation / spec Module structure, design records or ADRs, and the code paths that implement the topic Improving a doc The existing file in full, plus the sources above for its type, to correct stale content Write or update:
- New: structure content per the target directory's purpose (Diataxis quadrant intent when the fallback applies).
- Existing: preserve original structure. Additions at end of sections. Restructuring requires explicit user request.
- Cross-references: relative paths with
.mdextension.
- Update
docs/index.mdonly when it already exists and follows the template in common-checklist.md, or when the user asks for it. Otherwise leave it unchanged and note it in the report. - Update mkdocs.yml nav if the file exists. Place the entry in the section matching the file's directory.
- Update README markers (
<!-- docs-index-start/end -->) if present. - Self-check every created or updated file against QV-01..QV-05 in common-checklist.md. Fix failures before reporting; list any that remain in
## Noteswith the ItemID. - Return the report.
Error Handling
| Condition | Severity | Action |
| No docs directory exists | Recoverable | Create the Diataxis fallback directory needed, continue |
| Ambiguous intent | Blocking | Ask user; report Status: blocked |
Request matches DO NOT USE FOR | Blocking | Do not edit; report Status: blocked; explain in ## Notes |
target_file given but does not exist | Recoverable | Treat as a new file at that path; note it in the report |
| Same filename exists in a different docs directory | Blocking | Stop and ask user; report Status: blocked with both paths |
| Topic fits no quadrant and no existing directory | Blocking | Ask user for an explicit target_file |
docs/index.md exists but does not follow template | Recoverable | Leave unchanged; note in report |
| mkdocs.yml missing | Recoverable | Skip nav update |
| README markers malformed | Recoverable | Skip, note in report |
| QV check still fails after one fix attempt | Recoverable | Keep the file; list the QV ItemID and cause in ## Notes |
Examples
- Prompt:
Create architecture doc for caching(no existing docs layout) →docs/explanation/caching-architecture.md(see category-diataxis-mapping.md) - Prompt:
Improve the README→ updateREADME.mdin place - Prompt:
Write a getting started tutorial(no existing docs layout) →docs/tutorials/getting-started.md
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.

