Write, revise, and review EmDash documentation for technical accuracy, useful structure, house style, and natural prose. Use when working on user documentation, guides, API reference pages, migration or upgrade guides, READMEs, contributor documentation, technical specifications, or release notes in the EmDash repository, and when asked to improve, audit, de-slop, or humanize existing documentation.
Produce documentation that helps a specific reader complete a task or understand a concrete part of EmDash. Treat factual accuracy, information design, and sentence-level style as separate checks.
Load only the context needed for the artifact:
AGENTS.md for repository-wide rules.docs/src/content/docs/contributing/docs-style-guide.mdx completely.State the intended outcome privately in one sentence: "After reading this, the reader can ..." Use it to decide what belongs on the page.
Classify the document before choosing its structure:
| Document | Reader need | Default shape |
|---|---|---|
| Tutorial | Learn through a reliable, guided experience | Visible goal, prerequisites, one path, expected results after each stage, recap |
| Task guide | Complete one practical task | Outcome, prerequisites, ordered actions, result, optional next step |
| Concept or explanation | Build an accurate mental model | Definition, relevant behavior, concrete example, implications |
| Reference | Look up exact behavior | Signature or syntax, parameters, defaults, return value, errors, examples |
| Troubleshooting | Diagnose and resolve a known failure | Exact symptom, context, cause or diagnostic checks, workaround or resolution, verification |
| Upgrade or migration guide | Make an existing project work after a change | Previous behavior, current behavior, required action, minimal diff |
| README or contributor guide | Start or contribute quickly | Short purpose, fastest working path, common operations, deeper links |
| Technical specification | Evaluate and implement a decision | Goal, constraints, decision, interfaces and data flow, failure handling, rollout, verification, open decisions |
Do not force every section into the same size. Give common or risky tasks more space than incidental details.
Overview, Introduction, or Why it matters.title= filenames to blocks that represent files.For public docs, describe how to use EmDash. Put internal design detail in contributor or architecture documentation unless it changes a reader's decision.
For a prose-heavy revision, finish the content pass before polishing sentences. Then inspect every changed paragraph using references/anti-slop.md. For a narrow factual correction, apply the same judgment without loading or mechanically running the full reference.
Ask of each sentence:
Remove chatbot residue, generic promotion, manufactured drama, self-grading, process narration, diff-centered language, and empty transitions. Replace vague emphasis with facts. Do not add anecdotes, measurements, opinions, dates, citations, or guarantees merely to make prose sound more human.
Treat pattern lists as prompts for judgment, not lexical bans. Keep a contrast when the reader is likely to hold the wrong model. Keep a hedge when evidence is limited. Keep repeated terminology when it prevents ambiguity.
Read the finished page in order after reviewing the diff.
When asked for an audit only, report prioritized, concrete findings without editing. Otherwise, make the edits and summarize only material changes.
Run the narrowest checks that cover the changed artifact. Common checks include:
pnpm lint:quick
pnpm --dir docs build
git diff --checkUse the docs build for public docs, docs configuration, or shared content consumed by that build; do not run it merely because another Markdown file changed. Validate skill frontmatter and relative links when editing skills. Use additional tests when code samples or generated reference material depend on executable behavior.
If validation fails because declaration output is missing, run the root build and retry. Treat a remaining failure as introduced by the current work rather than establishing a pre-edit failure baseline.
9ca2de5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.