agentleFS
kendrickkendrick/skills/technical-writing/SKILL.md

technical-writing

Skill1 starsChanged 2 months agoMITView on GitHub

Layered prose standard for developer-facing writing: commit messages, code comments, PR descriptions, API reference, changesets, and other technical docs, including the prose inside a README that already exists. Use when writing or reviewing a commit message, drafting or auditing code comments, describing a PR, answering a review finding, or polishing developer documentation. Dispatches each artifact type to a profile naming which layers apply, and every draft finishes with a prose audit. Not for conversational answers, not for the code itself, and never for anything addressed to a person: emails, DMs, and other messages route to the setup's own voice process, which replaces the prose audit rather than layering on it. Review correspondence is the exception—public developer prose hanging off a diff, and it dispatches here. Authoring a whole README belongs to readme-coauthorship, and proposals and specs to doc-coauthoring. This skill governs prose style, not document-structure workflows.

181 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, make-bot-ui and 10 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.
  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 34 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 26 projects that use this

  • shiwenbin1617Skill

    ketchup-video

    Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.

    Also in 23 projects that use this

  • jaydubya818Skill

    poteto-mode

    Use when non-trivial work should follow the smallest rigorous Jstack workflow.

    Also in 40 projects that use this

  • jaydubya818Skill

    principle-migrate-callers-then-delete-legacy-apis

    Apply when replacing an internal API without leaving ambiguous dual paths.

    Also in 53 projects that use this

  • +7 more from jaydubya818

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 173 edited versions we read keep these.

  • 2

    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:

    The codebase is the word list: Write the real symbol, file, flag, and command names, never a synonym or a description of one.

    line 15
  2. Distinctive:

    Read the profile fresh at dispatch.

    line 42

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

technical-writing

Four public standards stacked under four house rules, aimed at prose a tired engineer understands on the first read. Each artifact dispatches to a profile naming which layers apply and how they land there. Every draft ends in a prose audit, with house rules on top where they exist.

The Rules Above the Layers

  • Cut every word that does no work. "In order to" is "to". "It is important to note that" is nothing.
  • Use the short everyday word. "Use", not "utilize"; "help", not "facilitate". A long word buys its length with precision or it doesn't come.
  • When a rule makes a sentence worse, fix the sentence another way. The rules serve the reader; a sentence that obeys all of them and still reads machine-written has failed.
  • The codebase is the word list. Write the real symbol, file, flag, and command names, never a synonym or a description of one.

The Four Layers

Diátaxis decides what kind of thing a document is: tutorial (learning by doing), how-to (steps to a goal), reference (facts for lookup), explanation (understanding and why). One document, one mode—split and link rather than mix. It governs docs and reaches comments through the mode mapping; commits, PR descriptions, review correspondence, and changesets have no document mode, so it skips them.

Google developer style decides how sentences address the reader. Talk to them as "you", in the present tense, and say who does what—"the compiler checks", not "is checked". Write instructions as commands, condition first, common case before the exception. Applies everywhere.

STE principles decide how much one sentence carries. One instruction per sentence and one thought everywhere else, split past about 20 words for instructions and 25 otherwise, with the condition ahead of the step it guards. Join short neighbors that share a subject or a cause, since a run of clipped sentences reads as staccato. Keep the articles—"remove backup file" reads two ways. Applies everywhere; principles only, no dictionary or numbered-rule conformance.

Global English decides whether a sentence can be read two ways. Keep "only" and "not" against the word they change. Make every "it" and "this" point at one obvious thing. Break up long noun strings. Call each thing by one name. Applies everywhere, and does the most work in comments.

Step 1 — Dispatch

ArtifactProfileLayers
Commit messagereferences/commit-messages.mdSTE, Google, Global English — no Diátaxis
Code comments, writing or auditingreferences/comments.mdAll four; Diátaxis via the mode mapping
PR descriptionreferences/pr-descriptions.mdSTE, Google, Global English — no Diátaxis
Review correspondence, a reply or a standalone PR commentreferences/review-correspondence.mdSTE, Google, Global English — no Diátaxis
Issue body, drafted or filednot yet written — globals aboveSTE, Google, Global English
API reference, docblock setsnot yet written — globals aboveAll four; reference mode, dry
README, docsreferences/readme.mdAll four; Diátaxis via the mode mapping
How-to guides, walkthroughsnot yet written — globals aboveAll four; how-to mode
Release notes, changelog, migration guidenot yet written — globals aboveAll four
Changeset, workshop briefno profile planned — globals aboveSTE, Google, Global English

Read the profile fresh at dispatch; a remembered summary drifts from what it says, which is why it's a file.

Rows marked not yet written fall back to the globals, meaning the rules and layers above. That is a real standard and not a placeholder, so don't improvise a missing profile or write one mid-run.

Done when: the profile is read fresh, or the row's globals-only fallback is the acknowledged standard for the draft.

Step 2 — Audit

Draft under the profile first. Then, in order:

  1. Self-check. Every instruction is a command with its condition in front. No sentence carries two instructions or two thoughts. "Only" sits next to the word it changes, every "it" and "this" points at one thing, and no clause has lost its verb. Each thing has exactly one name across the artifact. Every symbol, path, flag, and count is real at this commit, and any count travels with the command that regenerates it. scripts/check-refs.py checks code-span paths only; --gh adds issue numbers, and symbols, flags, and counts stay yours to check.
  2. Run the prose audit. Where your setup provides a prose-audit skill, invoke it formally via the Skill tool and follow its audit-and-revise loop. Applying one from memory misses tells. This skill owns the invocation, so callers route to one skill, not two.
  3. Layer the house rules. Where your setup defines house prose rules, read them fresh and apply them over the audit, never from a remembered summary.

Register gates the audit. The profile states the artifact's register and the audit respects it: reference is dry and carries no voice, so a flat docblock is correct and shouldn't be warmed up. Explanation allows it.

Done when: the available audit has run and every house rule that applies either fired or was checked and cleared.

Further Reading

  • references/commit-messages.md — register, content, per-repo subject-line conventions, layers
  • references/comments.md — when a comment earns its place, mode mapping, auditing existing comments
  • references/pr-descriptions.md — reviewer-first content, testing disclosure, change outlines, squash-merge survival
  • references/review-correspondence.md — answering register, the divergence rule, the SHA that goes stale
  • references/readme.md — per-section mode mapping, register, the existing-voice rule
  • House prose rules, where your setup defines them — read fresh at Step 2, never summarized

Sources

Adapted from Lauren Tan's pstack/technical-writing skill in cursor/plugins (MIT), restructured as a router with per-artifact profiles. Layers from diataxis.fr, the Google developer documentation style guide, ASD-STE100 Issue 9 (principles only), and Kohl's Global English Style Guide. Full provenance and deviations: _maintenance/technical-writing/PROVENANCE.md.

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.