agentleFS
metyatechmetyatech/skill-guided-doc-writing/SKILL.md

guided-doc-writing

Skill0 starsChanged 8 months agoMITView on GitHub

Write or revise learner-facing documents, Markdown pages, policies, guides, and explanatory materials so readers can grasp the main points in seconds. Use when drafting course docs, student-facing notices, instructions, overviews, or any prose that needs clear visual hierarchy, concrete examples, explicit reasons, and selective emphasis.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    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:

    Use this skill when the document itself must teach the reader quickly, without relying on a separate chat explanation.

    line 8
  2. Distinctive:

    Use H1 through H3 as needed.

    line 43
  3. Distinctive:

    Keep one section to one theme.

    line 44
  4. Distinctive:

    Use bullets whenever the content is naturally list-shaped.

    line 46
  5. Distinctive:

    If a paragraph grows past 2-3 lines, the agent MUST break it.

    line 49
  6. Distinctive:

    MUST include all three:

    line 54
  7. Distinctive:

    If the renderer supports callouts or admonitions, the agent SHOULD use titled callouts to separate reader jobs such as:

    line 63
  8. Distinctive:

    MUST NOT add boxes that repeat the heading without adding meaning.

    line 73
  9. Distinctive:

    Use bold for conclusions, keywords, rules, and required actions.

    line 82
  10. Distinctive:

    Use italics for nuance, caution, or secondary importance.

    line 83
  11. Distinctive:

    Use underline only for likely misunderstandings or high-risk cautions when the format supports it.

    line 84
  12. Distinctive:

    If the format does not support underline well, the agent MUST replace it with a warning sentence or a warning-style callout.

    line 87
  13. Distinctive:

    Leave supporting explanation plain.

    line 94
  14. Distinctive:

    If everything looks loud, the hierarchy has failed.

    line 97
  15. Distinctive:

    Before finishing, the agent MUST verify:

    line 101
  16. Distinctive:

    Every important abstract point has enough example or reason support.

    line 106
  17. Distinctive:

    No paragraphs are still dense enough to slow scanning.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Guided doc writing

Use this skill when the document itself must teach the reader quickly, without relying on a separate chat explanation.

The canonical source of this skill is the GitHub repository metyatech/skill-guided-doc-writing. To update this skill, edit that repository and re-install. The agent MUST NOT treat installed copies in agent skill directories as the primary place to edit.

Core outcome

The agent MUST design the page so the reader can tell at a glance:

  1. What matters most.
  2. What they should do or remember.
  3. Why that point exists.
  4. Which examples define acceptable and unacceptable behavior.

Default workflow

1. Define the scan-first takeaway

The agent MUST state the page's core message in one sentence before drafting:

  • The main conclusion.
  • The reader action.
  • The misunderstanding to prevent.

The agent MUST place that takeaway near the top. A reader who only scans for 3 seconds MUST still catch the page's main point.

2. Build visible hierarchy

The agent MUST use headings intentionally:

  • Use H1 through H3 as needed.
  • Keep one section to one theme.
  • Order content as important first, supporting detail later.
  • Use bullets whenever the content is naturally list-shaped.
  • Split dense paragraphs aggressively.

If a paragraph grows past 2-3 lines, the agent MUST break it.

3. Turn abstract rules into felt understanding

Whenever the page asks the reader to change behavior, the agent MUST include all three:

  • The abstract rule.
  • A concrete example.
  • The reason.

The agent MUST NOT stop at "do this" or "do not do this" when the likely reader reaction is "why?"

If the renderer supports callouts or admonitions, the agent SHOULD use titled callouts to separate reader jobs such as:

  • Conclusion First
  • OK Example
  • NG Example
  • Why?
  • Checkpoint

The agent MUST use only the titles that help the page. The agent MUST NOT add boxes that repeat the heading without adding meaning.

4. Apply selective emphasis

The agent MUST use emphasis as a second hierarchy layer, not decoration:

  • Each section SHOULD have at least one emphasized focal point.
  • Each paragraph SHOULD have 1-2 emphasized phrases in most cases.
  • Use bold for conclusions, keywords, rules, and required actions.
  • Use italics for nuance, caution, or secondary importance.
  • Use underline only for likely misunderstandings or high-risk cautions when the format supports it.

If the format does not support underline well, the agent MUST replace it with a warning sentence or a warning-style callout.

5. Preserve contrast

The agent MUST NOT emphasize everything:

  • Leave supporting explanation plain.
  • The agent MUST NOT bold whole sentences unless the entire sentence is the key takeaway.
  • If everything looks loud, the hierarchy has failed.

6. Run the final scan test

Before finishing, the agent MUST verify:

  1. The reader can understand the page by reading headings and bold text only.
  2. Each section has a visible focal point.
  3. Every important abstract point has enough example or reason support.
  4. No paragraphs are still dense enough to slow scanning.
  5. Emphasis is selective rather than saturated.

Reference

For a compact checklist, callout patterns, and rewrite examples, read references/visual-hierarchy-and-emphasis.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.