author-prose
ALWAYS invoke this skill when writing text for human readers — docs pages, UI text, error messages, emails, release notes. NEVER invoke for chat responses, code comments, commit messages, or agent instructions.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- author-prose
- description
- ALWAYS invoke this skill when writing text for human readers — docs pages, UI text, error messages, emails, release notes. NEVER invoke for chat responses, code comments, commit messages, or agent instructions.
- allowed-tools
- Read, Edit, Write, Glob, Grep, {{! tool('use_skill') !}}
- argument-hint
- [interface|documentation|copy] <what to write>
03 SKILL.md 正文
{!% require_skill 'prose:prose-standards' %!}
{!% require_skill 'prose:prose-architecture-standards' %!}
<objective>
Human-facing text drafted against the kind its caller supplied and complying with the governing prose ADR.
</objective>
<constraints>
- NEVER derive the kind from the request, the destination, or a draft. Writing precedes the text, so no property of the text exists to read; a draft against the wrong kind's standards reads wrong in ways later editing does not repair.
- NEVER guess when no kind arrives. Ask, from the three-kind list, once.
- NEVER invent a style outside the taxonomy.
- NEVER author a repository- or domain-governed artifact here — ownership outranks a supplied kind, and a governed artifact routes to its own workflow before anything else runs.
- NEVER decide structure against the governing prose ADR. This skill is the artifact's sole writer, and the ADR owns the artifact set's structure.
</constraints>
<kind_intake>
Before any step below, check ownership. A spec, ADR, PDR, SKILL.md, PLAN.md, ISSUES.md, or root agent guide is governed by its own workflow and never enters the prose surface, whatever kind the request supplies. Chat responses and operational prose — a code comment, a commit message, an agent-facing instruction — stay outside it the same way. Ownership outranks a supplied kind, so a kind arriving at step 1 never resolves past this check.
The kind is an input. Resolve it in this order and stop at the first that yields one:
- The invocation. A kind named in the arguments or the request —
interface,documentation, orcopy. - The repository's map. When the repository declares a path-to-kind map at
spx/local/prose.mdand the target path matches an entry, that entry is the kind. The map is a declaration its owner wrote, never an inference. - One question. Ask the user to pick from the three kinds, presenting what each covers. Never guess and never proceed without an answer.
| Kind | The text goes into |
|---|---|
interface |
A designed surface: buttons, labels, empty states, error messages, tooltips, notifications, email templates |
documentation |
A document set: product docs, wiki pages, runbooks, reference, policies, rubrics, onboarding guides, READMEs |
copy |
A standalone piece read start to finish: essays, articles, long-form landing narrative |
One text carries one kind. Register variation inside it is carried by the /prose-standards <rule_packs>, which bind on a feature rather than on a kind, so a runbook's procedure and an essay's table are governed where they appear without a second kind.
</kind_intake>
<workflow>
-
Check ownership through
<kind_intake>. A governed artifact routes to its own workflow and stops here, whatever kind the request supplied. -
Resolve the kind through
<kind_intake>. Nothing is written before it is settled. -
Locate the governing prose ADR. When the repository's Product Tree carries a prose ADR governing the target artifact, read it — it decides the artifact's structure, its place among sibling artifacts, and the terminology homes. When the request needs a structural change the ADR does not decide — a new artifact, a reordered set, a split page — settle the structural decision before writing. Use skill
prose:author-prose-architecture. With no governing ADR, the kind's structural conventions in/prose-architecture-standardsguide the artifact's shape directly. -
Read the kind's style layer — the supplied kind's file from
/prose-standards<kind_layers>— and the kind's structural conventions from/prose-architecture-standards<kind_structures>. -
Write or edit the text applying the voice canon, the base catalog, and the kind's layers together. Zero tolerance for the base anti-patterns; the kind's overrides are the only sanctioned relaxations.
-
Apply every rule pack the text triggers. A numbered procedure triggers the instruction pack; a table triggers the table pack.
</workflow>
<success_criteria>
- The delivered text carries exactly one kind — the supplied one — and conforms to that kind's style layer and structural conventions, with no base anti-pattern surviving outside the kind's declared overrides.
- The text complies with the governing prose ADR where one exists; no structural decision was made against it while writing.
- Every rule pack a feature of the text triggers holds where that feature appears.
- Text another surface owns was never drafted here — a governed artifact reached its own workflow untouched.
</success_criteria>
<failure_modes>
Drafting started before the kind was settled.
Claude read "write the onboarding page for the new export flow", recognized a page, and drafted against the documentation layer. The text was destined for a product-tour overlay, so every paragraph had to become a sequence of elements under the interface brevity caps. Nothing survived the conversion but the facts. The kind is not a property of a draft that can be corrected afterward; it selects the standards the draft is built from, so an unresolved kind stops the writing rather than steering it.
</failure_modes>
<reference_index>
| Skill | When to read |
|---|---|
/prose-standards |
Always — voice canon, base catalog, rule packs, kind style layers |
/prose-architecture-standards |
The kind's structural conventions, and the ADR shape when structure changes |
</reference_index>
04 同仓库更多 Skills
plugin
暂无简介
sanitize-powerpoint
ALWAYS invoke this skill when sanitizing, cleaning up, auditing, or aligning a PowerPoint (.pptx) deck — slide-master and layout structure, layout type attributes, stray fonts, non-theme colors, or layout naming. NEVER hand-edit pptx XML without this skill.
draw-excalidraw
ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.
typescript-test-standards
TypeScript test standards enforced across all skills. Loaded by other skills, not invoked directly.
typescript-code-standards
TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.
typescript-architecture-standards
TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.