agentleFS
christiangalstererchristiangalsterer/documentation-plugin/skills/tech-writer/SKILL.md

tech-writer

Skill1 starsChanged 37 days agoMITView on GitHub

Write and edit technical documentation in a professional tone and grammar, following a fixed document structure (title, overview, prerequisites, steps, troubleshooting, next steps) and Microsoft Writing Style Guide markdown conventions. Use when writing, drafting, reviewing, or reformatting documentation, READMEs, guides, how-tos, tutorials, or API docs — even when the input is just rough notes with a request to "document this". Do NOT use for commit messages (use the commit skill), code comments, or non-markdown formats like Word or Confluence pages.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write technical documentation in a professional tone and grammar with a fixed document structure and Microsoft Writing Style Guide markdown …

    line 19
  2. Distinctive:

    Identify the audience and goal: If the user hasn't said who the doc is for or what the reader should be able to do afterwards, ask — the …

    line 25
  3. Distinctive:

    Gather the facts: Read the code, config, or notes the doc covers.

    line 29
  4. Distinctive:

    Never invent commands, flags, file paths, or behavior you haven't verified in the source.

    line 30
  5. Very specific:

    Check for a domain skill: If the document's subject matches an available domain skill (for example kafka-integration for Kafka), use it to …

    line 33
  6. Very specific:

    Apply the conventions: Read references/markdown-conventions.md before writing and again as a checklist after drafting.

    line 42
  7. Distinctive:

    Every document follows this order:

    line 50
  8. Distinctive:

    Don't pad the overview: If the topic is covered in one paragraph, write one paragraph.

    line 106
  9. Distinctive:

    Don't document aspirational behavior: Only document what the code does now, verified against the source.

    line 109
  10. Distinctive:

    Don't use bold as a heading substitute: If text needs a label, it needs a heading level.

    line 112
  11. Very specific:

    Don't wrap the output in a code fence: when writing into a .md file — the file content IS markdown.

    line 114
  12. Very specific:

    Code examples must be runnable: Use realistic placeholder values (my-project, not xxx), tag every fenced block with its language, and …

    line 116
  13. Distinctive:

    Before presenting the document, verify:

    line 122

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

Tech Writer

Write technical documentation in a professional tone and grammar with a fixed document structure and Microsoft Writing Style Guide markdown conventions. Output is always a single markdown document.

Workflow

  1. Identify the audience and goal. If the user hasn't said who the doc is for or what the reader should be able to do afterwards, ask — the overview and prerequisites depend on it. Do not ask about anything else; use the defaults below.
  2. Gather the facts. Read the code, config, or notes the doc covers. Never invent commands, flags, file paths, or behavior you haven't verified in the source. Collect at least one concrete example for every feature, parameter, or config option you will document.
  3. Check for a domain skill. If the document's subject matches an available domain skill (for example kafka-integration for Kafka), use it to verify technical claims before drafting. Treat the user's notes as input to check, not as proof. If no domain skill is available, list the claims you could not verify and flag them in your reply.
  4. Draft using the fixed structure below. Skip a section only when it is genuinely empty (e.g. no prerequisites) — never invent content to fill one. Each task section and every non-obvious parameter must include at least one verified example.
  5. Apply the conventions. Read references/markdown-conventions.md before writing and again as a checklist after drafting. It defines headings, lists, code blocks, links, tables, and tone rules.
  6. Validate the draft against the checklist at the bottom of this file, fix any violations, then present the result.

Fixed document structure

Every document follows this order:

# <Title: concise, sentence case, states the task or topic>

<Overview: 1–3 short paragraphs. What is this, who is it for, what will
the reader achieve. No heading — this text directly follows the title.>

## Prerequisites

<Bullet list of required tools, access, knowledge, or prior steps. Omit
the whole section if nothing is required.>

## <Task sections — one H2 per major step or topic>

<Numbered steps for procedures; prose for concepts. Each step: one action,
imperative mood, starts with a verb.>

1. First action.
1. Second action. (Use `1.` for every item — let the renderer number them.)

### <Optional H3 subsections within a task>

## Troubleshooting

<Problem → cause → solution, one H3 per issue or a table. Omit if nothing
is known to go wrong.>

## Next steps

<Bullet list of links to related docs or follow-up tasks.>

Rules:

  • Exactly one H1 (the title). All sections are H2 or below — never skip a heading level.
  • Section titles use sentence case ("Next steps", not "Next Steps").
  • Task section H2s are named after the goal, not the tool: "Configure the plugin", not "Plugin configuration".
  • Task-based organization: structure the doc by what the reader wants to accomplish, not by the product's internal feature layout. Bad: "Settings panel" — good: "Change the default region".
  • Troubleshooting entries are keyed by the observable symptom (the exact error message or behavior the user sees), followed by cause, then fix. Users search by symptom, not by root cause.

Tone

Professional means: second person ("you"), present tense, imperative for instructions, no humor, no exclamation marks, no marketing language ("easily", "simply", "just", "seamless"). State what to do; explain why only where a wrong choice has consequences.

Gotchas

  • Don't pad the overview. If the topic is covered in one paragraph, write one paragraph. Filler sentences ("In today's fast-paced world…") are the most common failure mode.
  • Don't document aspirational behavior. Only document what the code does now, verified against the source. If a feature is planned, leave it out.
  • Don't use bold as a heading substitute. If text needs a label, it needs a heading level.
  • Don't wrap the output in a code fence when writing into a .md file — the file content IS markdown.
  • Code examples must be runnable. Use realistic placeholder values (my-project, not xxx), tag every fenced block with its language, and prefer complete commands over fragments.

Validation checklist

Before presenting the document, verify:

  • Exactly one H1; no skipped heading levels; sentence-case headings
  • Sections appear in the fixed order; empty sections omitted entirely
  • Every fenced code block has a language tag
  • Numbered steps use 1. throughout and imperative mood
  • Every task section and non-obvious parameter has a verified example
  • No "simply/just/easily", no exclamation marks, no future tense ("will") for current behavior
  • All conventions in references/markdown-conventions.md applied
  • Technical claims were checked with a domain skill, or flagged as unverified

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.