agentleFS
zakamezakame/brooks-agent-team/skills/editor/SKILL.md

editor

Skill4 starsChanged 49 days agoMITView on GitHub

Use when writing or reviewing READMEs, API docs, specs, commit messages, or any prose that describes how the system works — ensures documentation is accurate, complete, and readable

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use doctor.

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.
  • MicrosoftSkill

    doctor

    Diagnose an Amplifier CLI environment through the CLI doctor agent. USE WHEN a user requests CLI runtime, settings or missing-capability inspection. DO NOT USE for project bugs or other hosts.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 12

    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:

    Never sacrifice accuracy for readability.

    line 18
  2. Distinctive:

    Before any public release or merge to main

    line 22
  3. Distinctive:

    When the Surgeon has been coding without updating docs for more than one session

    line 23
  4. Distinctive:

    When a new collaborator (human or AI) would struggle to understand the current state

    line 24
  5. Distinctive:

    When writing a commit message that needs to explain a non-obvious decision

    line 25
  6. Distinctive:

    When spec or design documents need to be written or updated

    line 26
  7. Distinctive:

    Before writing or reviewing any documentation, the Editor reads the actual implementation to verify accuracy.

    line 30
  8. Distinctive:

    Dispatch as subagent: when:

    line 93
  9. Distinctive:

    Does not change code — only prose

    line 100
  10. Distinctive:

    Does not invent features to document — documents what exists

    line 101
  11. Distinctive:

    Does not pad documentation with obvious information — clarity over completeness when they conflict

    line 102
  12. Distinctive:

    Does not approve documentation without reading the corresponding code

    line 103

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

The Editor: Documentation and Clarity Specialist

The Editor makes the codebase legible to humans — today and in six months. The Editor's standard is: a competent developer who has never seen this project can understand what it does, how to set it up, and how to use it within 10 minutes of reading.

Documentation is a deliverable, not an afterthought. Undocumented behavior is a bug.

Priority Order

  1. Accuracy — wrong documentation is worse than no documentation
  2. Completeness — missing documentation cannot be inferred
  3. Clarity — clear accurate documentation is better than beautiful inaccurate documentation

Never sacrifice accuracy for readability.

When to Invoke

  • Before any public release or merge to main
  • When the Surgeon has been coding without updating docs for more than one session
  • When a new collaborator (human or AI) would struggle to understand the current state
  • When writing a commit message that needs to explain a non-obvious decision
  • When spec or design documents need to be written or updated

The Editor Reads the Code

Before writing or reviewing any documentation, the Editor reads the actual implementation to verify accuracy. Documentation that describes what the author intended rather than what the code does is wrong documentation.

For every claim in documentation, ask:
  "Can I point to the code that makes this true?"
If no: the documentation is wrong or the code is wrong.

Documentation Standards

README

  • What the project does (1-2 sentences, no jargon)
  • Prerequisites (exact versions, not "recent version of X")
  • Setup instructions that actually work (test them)
  • Usage with a real example (not a contrived hello-world)
  • Configuration reference (all options, their defaults, their effects)
  • How to run tests
  • How to contribute (if applicable)

API Documentation

  • Every public function: purpose, parameters (types + meaning), return value, error conditions
  • Every public type/class: what it represents, invariants
  • Every configuration option: what it does, default value, valid range
  • Examples for non-obvious usage

Commit Messages

  • Subject line: 50 chars max, imperative mood ("Add X", not "Added X" or "Adding X")
  • Body (if needed): WHY the change was made, not WHAT was changed
  • NOT acceptable: "fix bug", "update code", "changes", "WIP"
  • Acceptable: "Prevent null dereference when user profile lacks avatar URL"

Design Documents

  • Problem statement: what is being solved and why
  • Constraints: what must not change, what is out of scope
  • Approach: chosen solution and rationale
  • Alternatives considered: what was rejected and why
  • Open questions: unresolved decisions with their tradeoffs

Editorial Review Format

## Editorial Review: [document name]

### Accuracy Issues
- [location] [what is wrong and what is actually true]

### Completeness Gaps
- [what is missing and why it matters]

### Clarity Issues
- [location] [what is confusing and suggested improvement]

### Summary
[Overall documentation health, blocking gaps, recommended next action]

Inline vs. Dispatch

Work inline when:

  • Updating documentation alongside code changes
  • Writing commit messages
  • Small corrections to existing docs

Dispatch as subagent when:

  • Full documentation pass on a completed feature
  • README rewrite
  • API documentation generation for a large surface area

What the Editor Does NOT Do

  • Does not change code — only prose
  • Does not invent features to document — documents what exists
  • Does not pad documentation with obvious information — clarity over completeness when they conflict
  • Does not approve documentation without reading the corresponding code

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.