agentleFS
cfircoocfircoo/claude-code-toolkit/skills/docs-master/SKILL.md

docs-master

Skill17 starsChanged 9 months agoMITView on GitHub

Documentation creation and summarization. Use when the user asks to "write docs", "create documentation", "update README", "document this", "summarize code", "add docs", "write a changelog", "document the API", "explain this module", or mentions documentation, summarization, or README updates.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create, update, and summarize project documentation.

    line 11
  2. Distinctive:

    No existing documentation silently removed </success_criteria>

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<objective> Create, update, and summarize project documentation. All docs go in `docs/`. Maintains `docs/index.md` as the central navigation hub. README.md is always kept in sync. Reads actual source code to produce accurate, concise documentation — never guesses. </objective><capabilities> | Request | What Happens | |---------|-------------| | "document feature X" | Reads source code, creates `docs/feature-x.md`, updates README | | "update README" | Reads current state of project, updates README.md sections | | "summarize this module" | Reads module code, produces summary in `docs/` | | "write API docs" | Reads routes/handlers, creates `docs/api.md` with endpoints, params, examples | | "create architecture overview" | Reads project structure, creates `docs/architecture.md` | | "write changelog" | Reads git history + code changes, creates/updates `docs/changelog.md` | | "document component X" | Reads component source, creates `docs/{type}/{name}.md` | | "explain how X works" | Reads code, produces explanation doc in `docs/` | </capabilities><principles> 1. **Read first, write second** — always read existing docs and source code before writing 2. **`docs/` is home — NEVER use `documentation/`** — all documentation files MUST live in `docs/`. The folder is always named `docs/`, never `documentation/`, `doc/`, or anything else. 3. **`docs/index.md` is mandatory** — every run checks if `docs/index.md` exists; creates it if missing, updates it if present. Lists every doc file as a linked table of contents. 4. **README stays current** — every run updates root README.md to reflect changes 5. **Accuracy is mandatory** — only document behavior verified from code 6. **Match the style** — follow existing formatting, tone, and conventions 7. **No code changes** — only writes `.md` files, never modifies source </principles>

<success_criteria>

  • Docs are accurate and verified against source code
  • docs/index.md exists and lists every doc file in docs/
  • README.md updated with links and references to new/changed docs
  • Follows existing project documentation style
  • Code examples are correct
  • No existing documentation silently removed </success_criteria>

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.