agentleFS
Evan-Kim2028Evan-Kim2028/agent-skills/skills/writing/writing-docs/SKILL.md

writing-docs

Skill1 starsChanged 4 months agoMITView on GitHub

Pure documentation and reference writing — runbooks, README install paths, API/tool reference, how-to procedures, operator notes. Scannable structure, prerequisites, failure modes, copy-paste commands. Use for docs that must be followed, not essays. Prefer writing-technical for research-style explainers; writing-prose for opinionated posts; writer-style for named voice; marketing for landing copy. Prefer writing hub when the writing path is unclear.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    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
  1. Distinctive:

    After critical steps: what success looks like.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 5 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Writing docs — procedures and reference

Job: Make something followable. Clarity beats personality. Personality is allowed only as a one-line warning from production experience.

When to load

  • README, runbooks, install guides, operator playbooks
  • API/tool reference, config flags, schema contracts
  • “How do I run X?” / “What does this flag do?”
  • Migration steps, rollback, health checks

Not for: blog essays, research narratives, marketing pages, voice cosplay.

Principles

1. Task-first headings

Name the job: Install, Configure, Run promote, Rollback, Troubleshoot. Not “Overview of our beautiful journey.”

2. Prerequisites before steps

State OS, versions, credentials, disk/RAM, and what must already exist. Fail closed: if prerequisite missing, say what error they will see.

3. Numbered steps; one action each

Copy-pasteable commands in fenced blocks. Mark destructive steps.

4. Expected output + failure modes

After critical steps: what success looks like; common errors and fixes. Tables for flags, exit codes, env vars.

5. Scannable density

Short paragraphs (often 1–3 sentences). Lists over prose. Bold the constraint or default that operators miss.

6. No fake warmth

Skip “Welcome!”, “Simply…”, “Just run…”. Prefer “Run:” and “If this fails:”.

7. Facts freeze

Versions, ports, paths, memory caps — verify against the repo/code. Docs that drift from code are worse than missing docs.

Structure templates

How-to

# <Task>
## Prerequisites
## Steps
## Verify
## Troubleshooting

Reference

# <Component>
## Purpose
## Config / flags (table)
## Behavior / guarantees
## Limits / non-goals
## Related

Runbook

# <Incident or job>
## Symptoms
## Immediate actions
## Diagnosis
## Mitigation / rollback
## Follow-ups

Relationship to other writing skills

NeedSkill
Opinionated explainer / blogwriting-technical or writing-prose
Named author voicewriter-style
Landing / offer copymarketing
Human deslop pass on long docslight writing-prose after structure is right
Turgid syntaxstyle-clarity-grace
Usage / danglers / padded nounselements-of-style

Done criteria

  • Reader can complete the task without side chat
  • Prerequisites and verify steps present
  • Commands match the repo
  • Failure modes for the sharp edges
  • No marketing filler

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.