agentleFS
MadaraUchiha-314MadaraUchiha-314/the-loop/skills/writing/SKILL.md

writing

Skill6 starsChanged 59 days agoMITView on GitHub

How the-loop writes for a human reader. Use when authoring or revising any artifact a person will read — requirements.md, design.md, testing-plan.md, tasks.md, a PR briefing or PR description, a decision record, a capability doc, a ticket or review comment, a README. Carries the document spine, the prefer-a-diagram rule, the formal-language carve-out that keeps EARS and API contracts intact, and a revise pass for cutting a draft down. Not for code, code comments, log messages or test names.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, advocate 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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.

    Also in 3 projects that use this

  • ryanportfolioSkill

    advocate

    Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.

    Also in 3 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 5

    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:

    Every explanatory document answers four questions, in this order:

    line 22
  2. Distinctive:

    Delete every opener that clears the throat before the point.

    line 71
  3. Distinctive:

    Delete every sentence the reader could reconstruct from the one before it.

    line 72
  4. Distinctive:

    Read the first sentence of each section in order.

    line 75
  5. Distinctive:

    If it does not, the problem is the structure, not the wording.

    line 76

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

A reviewer's job is to say yes or no. Every word between them and that decision is a cost you are charging them. Write to be approved, not to be admired.

The rule: say it once, to a named reader, in the fewest words that survive review.

Who is reading

Name the reader before the first sentence. A reviewer of design.md knows the codebase and wants the shape of the change. A capability.md reader wants current behaviour and does not care how it arrived. A ticket comment is read on a phone. The same fact is a paragraph for one and a table row for another.

The spine

Every explanatory document answers four questions, in this order:

  1. What was broken — the situation, and why it mattered enough to open a ticket.
  2. What we did about it — the resolution, stated as a decision, not a tour.
  3. What it costs — the trade-off taken, the thing given up, the risk carried.
  4. What to check — where the reader should look first, and what would falsify it.

Front-load each one. A section's first sentence carries its conclusion; the rest is support the reader may skip. Read only the first sentence of every section — if that alone tells the story, the document is shaped right.

Length follows the change

There is no word limit, and there should not be. A two-line bug fix and a new subsystem are both design.md, and a number that fits one is wrong for the other. A cap would only teach you to move prose into an appendix.

The test is not length, it is density: can any sentence come out without losing information? While the answer is yes, the document is too long — at 200 words or 2000. Three cuts nearly always find the slack: the sentence restating the heading, the sentence restating the sentence before it, and the adjective a number would replace.

Concision is about words, not coverage. A gated section stays even when it is empty; say so in one sentence, and why. Deleting ## Security considerations to shorten a document is fraud, not editing.

Prefer a diagram

Describing a structure, a sequence or a state change with three or more named parts? Draw it. Mermaid, always. Then let the prose say only what the diagram cannot — why the arrow points that way, what happens when it fails. design.md carries at least one.

Keep the formal register where it is a contract

These are testable artifacts, not prose, and this skill does not touch them:

  • EARS acceptance criteria and abuse cases (WHEN … THEN the system SHALL …)
  • RFC-2119 keywords in a specification
  • OpenAPI / GraphQL contracts and JSON-Schema description values
  • Quoted material, third-party text, committed evidence and code

These are the formal registers of the writing contract (fixed since issue-352). Explanation around them is ordinary prose and follows this skill.

The revise pass

Draft first, cut second — never both at once.

  1. Delete every opener that clears the throat before the point.
  2. Delete every sentence the reader could reconstruct from the one before it.
  3. Replace each evaluative adjective with the number or example behind it.
  4. Convert any run of prose that is really a list, a table or a diagram.
  5. Read the first sentence of each section in order. If that alone tells the story, stop. If it does not, the problem is the structure, not the wording.

For the catalogue of writing tells and what to do about each, read reference/tells.md.

Related

The token-economy verbosity rule (the-loop skill, reference/token-economy.md) compresses chat narration and preserves specs; this skill governs the artifacts. Third-party skills covering neighbouring ground are implemented natively, not vendored (decision-005, decision-062).

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.