agentleFS
iffiXiffiX/neutrino/skills/doc-author/SKILL.md

doc-author

Skill153 starsChanged 32 days agoMITView on GitHub

Writing standard for every Markdown document in this repository, in English and in Chinese. It covers README.md, which is Chinese, and README.en.md, the VitePress site under docs/ (quick start, overview, feature guides, CLI reference, troubleshooting), the design pages and coding rules under skills/core-code-author/, and the state notes in tmp-docs/memory.md. Load it before drafting, rewriting or reviewing any of these, whenever a request mentions a README, a guide page, a quick start, a reference, troubleshooting, a design page or state notes, and before any request to translate documentation, because the two languages are written independently from one outline and nothing is translated.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. InsForge/InsForge★ 13ksame name
    2. hams-ollo/zen-agent-skills★ 2same name
    3. zen-solutions-dev/zen-agent-skills★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every question below has an answer written down before drafting starts.

    line 16
  2. Very specific:

    Run checklist.md line by line.

    line 100
  3. Distinctive:

    Write five questions the intended reader asks of this page, including one the page answers only by implication.

    line 103
  4. Distinctive:

    Ask for each answer, what was ambiguous, and what the page assumed the reader already knew.

    line 107

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

A document in this repository is one page of one kind, for one reader, in one language, written from an outline the user approved. This file is the gate before drafting and the check after it. The register of each language is in its own file; the site's outline and the shape of each kind of page are in outline.md, and how a finished page looks on screen is in layout.md.

Before the first sentence

Every question below has an answer written down before drafting starts. The answers are the outline, and the outline is the only thing the two language writers share. A page written without these answers takes a different shape in each language and drifts between kinds.

QuestionThe answer namesWhy it is settled first
Which kind of page?One row of the kind table below.Each kind refuses what its neighbours do; mixing them is the main cause of unusable pages.
Who reads it?One reader: what they run, what they already know.Person, term choice and depth all follow from the reader.
What can the reader do at the end?One outcome, stated as a state of the system or of the reader.It becomes the opening sentence and the pass condition of the reader test.
What is out of scope?The neighbouring topics the page links to instead of covering.Scope creep turns a guide into a reference and a reference into a tutorial.
Which outline?Headings, in order, one line each on what each section holds.The user approves the outline before prose exists, so both languages build the same page.

Present the outline and wait for approval. Skipping the wait is the failure this gate exists for.

The kinds

Two questions place a page. Does it serve the reader's action or the reader's understanding? Does it serve learning or does it serve work? The answers give one row of the table below for every document here. Per-kind shape and checks are in outline.md.

KindServesAnswersWhat it refusesDocuments here
Tutorialaction, learning"Can you get me to a working X?"choices, explanation, abstraction, options the learner does not needquick start
How-to guideaction, work"How do I do X?"teaching basics, explaining why, completeness, embedded reference listsfeature guides, troubleshooting, the install section of the README
Referenceunderstanding, work"What is X?"instruction, explanation, opinion, marketingCLI reference, state notes, the option tables inside guides
Explanationunderstanding, learning"Why is X like this?"steps, exhaustive detail, anything the reader must dooverview, design pages

The landing README is a composite: a short explanation, one block per thing the reader gets, a comparison, an install how-to, and links. Its own section in outline.md says how much of each. The site home page, the overview pages and the app page are composites too, each with its section there.

Rules every document obeys

Each rule is a sentence a reviewer can check. Each has its reason, because a rule without one gets negotiated away under deadline.

RuleReason
Present tense throughout; nothing about what the product did or will do.The page describes what exists now; a promise ages into a false statement.
The reader is addressed directly (you in English, 你 in Chinese); the writer is absent: no we, let's, us, 我们, 让我们.The writer is not beside the reader.
The first paragraph says what the page is, or starts with the first step; it does not describe the state the reader has at the end.The reader decides in one paragraph whether the page is theirs, and a promise of the end state became the same opening line on every page.
The page has no summary, recap, closing line, or "next steps" paragraph.A recap repeats the page; a closing line becomes a refrain stamped on every page.
A machine does what it performs: returns, writes, starts, stops, rejects with a code. It never waits, wants, asks, answers, decides or refuses in prose.Volition handed to a program hides which component acts and reads as machine-written prose.
A backend refusal is quoted as its code in code font, with one short gloss, only on the troubleshooting page, whose tables hold every code. A guide section ends with one sentence pointing there; the overview names no code.The reader searches the code where every code is, and a guide that lists codes reads as a reference.
A UI label is bold, spelled as the interface shows it, in the page's language. A Chinese page adds the English in parentheses only where the panel itself shows English; every other term is Chinese alone, and one site-wide glossary page maps the Chinese terms to the English labels.The reader matches the page against the screen; English after a Chinese word the screen also shows in Chinese is noise that doubles the sentence.
A placeholder is <kebab-case> inside code only, defined at first use; prose names the thing instead.Bare angle brackets in prose render as HTML tags, and an undefined placeholder is a guess.
Every ordered list item is written 1. and the renderer numbers it; a procedure has one action per item.Hand numbering diverges between the two languages and breaks on edit.
Headings use sentence case, end without punctuation, go no deeper than H4, skip no level, never stand as a lone child, and never repeat the parent's name.Headings are the navigation; irregular ones break scanning and the sidebar.
An alert follows no other alert, holds at most four lines, and a section has at most one.Stacked alerts cancel each other.
Link text is the target's title or subject in a sentence of its own; never here, this page, 这里, 此处.The reader scans links out of context.
A code block names its language, shows no $ prompt, and shows output in a separate text block.The reader copies the block; a prompt or mixed output breaks the paste.
No em dash inside a sentence, in either language; a comma, a period or parentheses do the work.The dash is the single strongest machine tell, and each authority here bans it.
No security reassurance of the form "X never leaves the machine".A claim stated as an absence is untestable by the reader and reads as marketing.
Each sentence pattern from english.md or chinese.md appears at most once per page, and no two pages of the site open with the same sentence shape.A pattern used twice is a template; used ten times it is the page; the same opener on every page is a refrain the reader stops reading.
An outline line is a note, never a sentence: the opening states the page's outcome in words written for this page.A note expanded word for word reads as a note.
A finished guide page is detailed enough for a reader who knows nothing to finish the job from the page alone, in connected prose, with a picture for every step of installing and using.The outline's brevity does not carry over: a short page the reader cannot follow is worth nothing.
Pictures, rows, steps and enlarging follow layout.md, and a writer never sizes a picture by hand.Pictures sized one by one were the reason a page was unreadable.
The two languages share the outline and nothing else; each is written from its own register file, never from the other language's text.A sentence carried across languages keeps the source language's clause order.
A Chinese page also follows the skill humanizer-zh (upstream op7418/Humanizer-zh), an English page the skill humanizer:humanizer (upstream blader/humanizer). Where one differs from this standard, the stricter rule holds.The register files name single patterns; these passes read the whole page for what still sounds machine-written.
Product terms are fixed: hub, agent, client in English; 微子, 中枢, 被控端, 客户端 in Chinese; never 中微子, and the hub is never hub in Chinese nor 中枢 in English (ui_text.md).One name per thing across thirty pages.
A site page names its search description in its frontmatter, written by hand with 微子中枢 or Neutrino Hub as its subject, and an app page also its title, 一键部署 <应用名> or One-click deploy <App>, as outline.md, "Search title and description", says.A search engine shows those two lines, and the searcher clicks on what the hub does for them, never on a definition taken from the first paragraph.

Budgets

A budget is a per-page limit, so a reviewer can count it. Ratios observed across a site are not budgets.

ItemLimitSource
English sentence25 words, two clausesAstro, Microsoft
Chinese clause20 characters; 30 to 39 only when unambiguous; 40 never; a comma-chained sentence 100 characters阮一峰 句子
Paragraphfour sentences in English; seven lines, best four, in ChineseMicrosoft, 阮一峰 段落
Steps in one procedurenine; split at a heading beyond thatyikeke 列表, Microsoft
Step result sentencewhenever the pressed control does not itself show the reader it worked; every procedure ends in a visible resultiffi, 2026-11-01
Alertsone per section, three per page, four lines each, never consecutiveGitHub, GitLab, yikeke
Linkstwo per section, each in its own sentenceGitHub
Heading depthH2 to H4GitLab, 阮一峰 标题
Any one sentence patternonce per pagethe old skill's refrain failure

Before calling it done

Run checklist.md line by line; half of it is a grep. Check the page against layout.md. Then run the reader test, which catches what a grep cannot:

  1. Write five questions the intended reader asks of this page, including one the page answers only by implication.
  2. Give the page alone, with no conversation context, to a fresh reader: a subagent when one is allowed, otherwise a new conversation.
  3. Ask for each answer, what was ambiguous, and what the page assumed the reader already knew.
  4. Fix the sections that produced a wrong answer or an assumption, and repeat until the reader answers every question from the page alone.

Rationalisations that end badly

ThoughtWhat is true
"The outline is obvious, I'll draft straight away."The other language's writer has a different obvious outline. Write it down.
"This warning matters, it needs its own alert."One alert per section. A second one goes under a heading as body text.
"A result sentence after every step helps."It restates the step when the button already shows the result. Add it where the reader cannot tell yet.
"A short recap helps the reader leave."The reader leaves at the last step. A recap becomes the refrain on every page.
"The Chinese page is nearly the English one, I'll render it."A rendering keeps English clause order and the 被 passive. Write from the outline.
"This sentence pattern fits every entry."That is how a page becomes twenty-five copies of one sentence. Once per page.
"The reader test is overkill for a small page."Small pages hide assumptions best. Five questions take two minutes.

Red flags in your own draft

A colon at the end of a heading. A count followed by a list ("three ways to"). A sentence pivoting on "not X but Y". A fact stated as an absence ("no setup needed"). A machine that waits, asks or refuses. Two alerts in sight of each other. A paragraph starting "Note that". A Chinese sentence with 被 in it. Any of these means the draft goes back through the register file before review.

Files

FileOpen it when
english.mdWriting any English page: register, step shape, banned words and shapes, sentence patterns.
chinese.md写任何中文页面:语气、句子、排版、禁用词、禁用句式、句式范例。
outline.mdShaping a page or the site: the guide's outline, the overview pages, and the reader, opening, structure, refusals and checks for each kind written here.
layout.mdPlacing pictures and laying out a finished page: the arrangements, capture rules, steps, enlarging and the rest of the reading experience.
checklist.mdFinishing a page: the line-by-line check, with the grep for each mechanical item.

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.