editorial-standards
The editing pass order, the measure-don't-assert rule, and which surface answers which question.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 16
- Forks
- 10
01 前言 Front Matter
- name
- editorial-standards
- description
- The editing pass order, the measure-don't-assert rule, and which surface answers which question.
02 资源文件 8
- 资产文件assets/row_key_schema.yaml205 B
- 参考文档references/attribution.md1.8 KB
- 参考文档references/cli_data_access.md1.6 KB
- 参考文档references/client_libraries.md2.3 KB
- 参考文档references/dataplex.md911 B
- 参考文档references/infrastructure_management.md3.4 KB
- 参考文档references/schema_design.md7.9 KB
- 参考文档references/sql_guide.md7.4 KB
03 SKILL.md 正文
Editorial Standards
This is the map, not the rulebook. It is inlined into your prompt on every turn, so it stays short. The full rulebook, the per-format checklists, and the preferred-term list live in the style-desk MCP server — query it when you need a specific rule.
Pass order
Edit in this order and never skip backwards mid-pass:
- Scope — what is it, who reads it, what must the reader do afterwards.
- Structure — outline, ordering, headings, missing and redundant sections.
- Line — sentences, verbs, hedges, length.
- Terminology — one name per concept, consistently spelled.
- Proof — checklist for the format, then a final read.
Reordering sections after line editing wastes the line editing. Structure first, always.
Measure, do not assert
Never say a draft "reads better" or "is much clearer". Show it:
readability_scorebefore and after, quoting both numbers.prose_lintbefore and after, quoting the finding counts.text_diffto show exactly what changed.
If you did not run the tool, you do not have the number. Do not estimate one.
The line you never cross
You may change how something is said. You may not change what it claims.
- Never invent a fact, name, number, date, link, or quotation.
- If a claim looks wrong, unsupported, or unverifiable, flag it in a Queries for the author list. Do not smooth it into something plausible.
- Preserve hedging that reflects genuine uncertainty; cut hedging that is only timidity. When you cannot tell which it is, ask.
- Keep the author's voice. You are not rewriting them into you.
Caveman mode is the one pass that changes form aggressively — and it is still
bound by this rule. It never runs unless the user asked for it, it never
touches code, commands, URLs, paths, numbers, or error strings, and
caveman_check errors rather than warns when any of those go missing.
Which surface answers which question
| Question | Use |
|---|---|
| Where are the weak sentences? | prose_lint |
| How hard is this to read? | readability_score |
| What exactly did my edit change? | text_diff |
| Is the document's skeleton sound? | heading_outline |
| Is this term spelled one way throughout? | term_consistency |
| Compress this to the bone (only if asked) | caveman_draft, then repair by hand |
| Did the compression lose anything load-bearing? | caveman_check |
| What is the house rule, and why? | lookup_style_rule (style-desk) |
| Is this draft shippable for its format? | get_checklist (style-desk) |
| Which spelling is house-preferred? | preferred_term (style-desk) |
| What does each caveman level do? | caveman_rules (style-desk) |
| When must I stop compressing? | caveman_guardrails (style-desk) |
Tool findings are evidence, not verdicts. A long sentence that carries a list may be correct; a passive construction is right when the actor genuinely does not matter. Suppress a rule with a stated reason rather than obeying it blindly.
Delivering an edit
Every substantive edit returns, in this order:
- The edited text, ready to copy.
- What changed — grouped by reason, not a line-by-line replay.
- Numbers — before/after readability and lint counts.
- Queries for the author — anything you could not resolve without them.
04 同仓库更多 Skills
workflow-testing
Load before you test a Workflow with mocked effects — the test, test_respond and test_advance operations, fixtures, interception ids, valid answers, the virtual clock, test evidence and what a test run does not prove.
workflow-tools
Every argument of the Workflow tools, testing a revision, package definitions and the refusals you can fix. Load when a Workflow tool's short description is not enough.
workflow-reference
Field reference for Workflow YAML (root keys, every state type, bindings, outputs, runtime error codes), what the engine guarantees, and a review fan-out example. For design, call load_skill with name workflow-authoring.
workflow-patterns
Load when one Workflow must run different nodes in its branches at the same time (a different prompt or model for each branch), or loops back to a state (a polling loop). Named branches, the router pattern, examples that compile.
workflow-authoring
Load before you create, edit, publish or run a Workflow (pilotswarm.dev/v1) — choosing states, bounded graphs, bindings, typed contracts, agent and parallel states, the lifecycle and failure diagnosis.
tla-formal-validation
Required for any change to the core orchestrations (the durable session orchestration, session hydration and dehydration, and the Workflow controller and store). Teaches how to model the change in TLA+, update the existing models, run TLC with the repo runner, read the results, turn a counterexample into a fix and a regression test, and record the binding to the code.