[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KJ2B8SD6CZE1P8KNNFAAA":3,"skill-same:01M77KJ2B8SD6CZE1P8KNNFAAA":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":50},"01M77KJ2B8SD6CZE1P8KNNFAAA","write-for-agents",null,"Write or trim agent-consumed markdown: CLAUDE.md or AGENTS.md content, .claude\u002Frules files, agent-loaded reference docs, navigation pointers, and doc-plus-pointer extractions. Use when: 'add this to CLAUDE.md', 'trim this AGENTS.md', 'cut it down to what earns its place', 'prune what an agent could derive', 'write a rule for X', 'write this up for the agent', 'add a pointer to the docs', 'move this section into its own doc', 'draft an AGENTS.md section', or any edit to markdown an agent loads. SKILL.md authoring is playbooks:skill-authoring; human-facing docs are docs-hygiene:write-for-humans.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Write or trim agent-consumed markdown: CLAUDE.md or AGENTS.md content, .claude\u002Frules files, agent-loaded reference docs, navigation pointers, and doc-plus-pointer extractions. Use when: 'add this to CLAUDE.md', 'trim this AGENTS.md', 'cut it down to what earns its place', 'prune what an agent could derive', 'write a rule for X', 'write this up for the agent', 'add a pointer to the docs', 'move this section into its own doc', 'draft an AGENTS.md section', or any edit to markdown an agent loads. SKILL.md authoring is playbooks:skill-authoring; human-facing docs are docs-hygiene:write-for-humans.\"\nargument-hint: \"[\u003Cfile or section being written>]\"\nuser-invocable: true\ndisable-model-invocation: false\nmetadata:\n  workflow-stage: anytime\n  summary: Authoring-time doctrine for agent-consumed markdown\n---\n\n# Write For Agents\n\n## Why this skill exists\n\nThe docs-hygiene siblings audit docs that already exist. This skill is the write-side complement:\nit fires while the doc is written, so the problems the audits catch are never created. Its scope\nis any markdown an agent will consume; the auto-read surfaces (CLAUDE.md scopes, `.claude\u002Frules`,\nauto-memory, and their kin) are the high-value core because their cost recurs every session. Read\n[`reference\u002Fagent-doc-surfaces.md`](reference\u002Fagent-doc-surfaces.md) when you need to know\nwhether, when, and how much of a target file the harness loads. Write differently for an\nalways-loaded surface than for an on-demand one.\n\n## Budget both loads\n\nEvery line spends two budgets, and cutting one can overspend the other:\n\n- **Context load**. Tokens the agent pays, every session for always-loaded surfaces. Governed\n  marketplace-wide by plugin-philosophy's Instruction economy: an instruction earns its place\n  with observed-stumble evidence, or it goes.\n- **Cognitive load**. Attention the human maintainer pays: they must be able to hold the map of\n  where things live. Ten tiny fragment files can be cheaper for the agent and ruinous for the\n  human; one 500-line file the reverse. When the two budgets conflict, say which one you spent\n  and why.\n\nFewer words spends less of both. The universal brevity rules apply: no more words than the meaning\nneeds, no filler, hedging, intensifiers, expletive openings, or restatement of an adjacent line;\nactive voice; one idea per sentence; a factual register with nothing sold. `\u002Fwriting:be-concise`\nowns those rules when the `writing` plugin is installed; without it, apply them from this\nparagraph. Take those rules and no more of that doctrine: its human-only rules do not transfer. A\nbottom-line-first opening, headings written to be skimmed, bullet lists for scanning, and bounded\nbold serve a person moving down a page fast; an agent needs the rule stated where it applies, not\nstaged for a skim.\n\n## Know which surfaces are system prompt\n\nThree vehicles shape the system prompt: a subagent definition's body, an output style, and the\nlaunch flags that replace or append to it (`--system-prompt`, `--append-system-prompt`, and their\n`-file` forms). Write CLAUDE.md files, rules, and skill bodies as instructions read in the\nconversation, not as system prompt, stating the rule, its scope, and its reason. A rule that must hold at system-prompt level goes in a subagent body, an output\nstyle, or a launch flag.\n\n- **Pointer**: for how CLAUDE.md content is delivered, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#troubleshoot-memory-issues>; for a subagent body, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#write-subagent-files>; for output styles, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Foutput-styles#how-output-styles-work>; for the flags, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference#system-prompt-flags>; for skill content, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#skill-content-lifecycle>.\n\n## Write pointers that cover their branches\n\nA pointer is a routing instruction: the reader decides from the pointer text alone whether to\nfollow it, without opening the target.\n\n- **Put the matching term first.** Open with the term the reader is matching on (\"Deploys:\n  see…\", never \"See the following doc for information about deploys\").\n- **Cover the branches.** State when to follow it and what the reader gets (\"for tracked-changes\n  output specifically, read X\"), so both the follow and the skip are informed decisions.\n- A pointer that exists only because changes must be mirrored across distant folders can mask a\n  cohesion problem. Before adding it, consider restructuring so things that change together live\n  together: a pointer papering over low cohesion outlives the reorganization that would have\n  removed it. (Audit-side remediation home: `harness-memory:audit`'s C5 fix guidance, if that\n  plugin is enabled.)\n\nThe sibling audit skill owns the full pointer-quality criteria. Invoke\n`\u002Fdocs-hygiene:audit-progressive-disclosure` via the Skill tool to grade a draft against them,\nrather than failing them at audit time.\n\n## Separate steps from reference, and co-locate what runs together\n\nSteps are read in order and executed; reference is jumped into and queried. Mixing them hurts\nboth: lookup tables interrupt a procedure's thread, and reference buried in a procedure is\nunfindable.\n\n- Put the procedure in one contiguous block; move lookup material below it or into a spoke file\n  with a conditioned pointer.\n- Co-locate what is consumed together: the fact a step depends on belongs beside the step, not\n  three sections away. Distance a reader must jump during execution is a defect.\n- Sprawl is the failure of both: when a file serves several audiences or moments, split it along\n  who-reads-when lines, not topic lines.\n\n## Give every step a completion criterion\n\nA step is done when its criterion says so, not when text resembling the step has been produced.\n\n- **Clarity and demand.** State what \"done\" observably is, and demand it: \"run X; the step is\n  complete when Y appears\" beats \"run X\".\n- **Premature completion** is the shape to design against: a step satisfiable before its\n  goal-state is reached will be marked complete at first plausible output. Make the criterion\n  the goal-state, never the attempt.\n- **Post-completion steps.** When finishing creates an obligation (regenerate, notify, clean\n  up), state it in the step; an obligation after \"done\" is otherwise dropped.\n- **The agent does the legwork.** Write steps that resolve their own facts from the environment;\n  a step that sends the human to look up something the agent could read is a defect.\n- **Hiding later steps** from the agent works only across a real context boundary (a hand-off or\n  a subagent dispatch); an inline call leaves the later steps in context.\n\nA task-shaped or long-run instruction also names the whole task's finish line and its stops:\n\n- **Keep going** when a step needs no input, with status notes in the same message as the next\n  action, not a summary that names the next step, an offer to continue, or a list of choices that\n  block nothing.\n- **Stop and ask** only when nothing can move without the human, or before a destructive,\n  hard-to-undo, or outward action. Never pair a keep-going rule with turning off permission prompts\n  or confirmation gates.\n- **Long runs** keep the task list in a file, ticked as items finish, so the list never depends\n  on the scrollback; reuse a ledger the workflow already has. The final report opens with what is\n  blocked on the human, then what changed and what was found.\n  **Pointer**: when judging what a long run loses to compaction, fetch\n  [What survives compaction](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcontext-window#what-survives-compaction)\n  live.\n\n## Split by sequence; choose invocation by the rubric\n\nWhen one doc serves two moments in time, split it at the moment boundary: the reader at step one\nshould not scroll past material for step nine. Splitting an instruction surface into skills with\ndifferent invocation modes is a different axis with its own decision rubric: follow the\n[invocation-mode rubric](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Finvocation-mode\u002FREADME.md)\n(§ Splitting by invocation) rather than deciding it ad hoc.\n\n## Prompt the positive\n\nWrite what to do, not what to avoid: a prohibition drags the banned behavior into context, and\npretrained leading words are the compact anchors that steer (\"Prefer X\" over \"Never do Y unless\").\nKeep a negation only when the positive form genuinely loses the constraint, and state the positive\nalternative in the same sentence. A design exclusion is the exception that stays negative: name\nthe specific styles to leave out (\"no hero banner, no pill-shaped buttons\"),\nsince \"avoid a generic look\" swaps one default for another.\n\nAsk for outcomes, not thinking. Whether a \"think carefully\" line helps depends on the target model,\nso follow `\u002Fharness-config:audit-instructions` criterion I8-f for the model the text will run on.\nA line telling the model to think less or\nnot at all is I8-c's, scoped per model the same way. Never ask the model to show or reproduce\nits reasoning in the reply, which some models decline; ask for what the reader needs, such as the\nrationale in two or three sentences or the evidence as a list.\n\n## Be strict with precise words\n\nWords like \"reasonably\", \"tasteful\" and \"where appropriate\" are too soft to force the agent to\nfollow them, so it falls back to its defaults: those sentences don't change behavior. State the\nnumber, the condition or the boundary instead, which narrows the answers the agent has to choose\nfrom. An example of the form:\n\n```text\nBad:  Keep the summary reasonably short and mention the tests where appropriate.\nGood: The summary is at most three sentences. Name each test command you ran with its\n      pass and fail counts.\n```\n\nStrict means precise, not loud. State each rule in plain words with its scope and reason, and\nwrite no all-caps and no marker words (`IMPORTANT`, `MUST`, `NEVER`, `ALWAYS`, `CRITICAL`) to make\nit stick. A plain firm word (never, always) stays when the sentence gives the rule's scope and\nreason. A rule that must hold every time belongs in a hook, deny rule or CI check; a line that\nkeeps getting missed means the file needs to be shorter. Bold is structure only: a list-item label\nor a defined term at its first use, never a whole sentence or a rule\n([ADR 0098](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fadr\u002F0098-state-instruction-rules-in-plain-words-without-emphasis-markers.md)).\n\n- **Pointer**: skill-creator,\n  [How to think about improvements](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002FSKILL.md#how-to-think-about-improvements).\n\n- **Pointer**: Claude Code best practices,\n  [What you can stop doing](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fbest-practices#what-you-can-stop-doing).\n\n## Leading words\n\nA leading word is a compact concept the model already holds from pretraining, repeated as a token\nand never re-explained, so it anchors a region of behavior in few tokens.\n\n- **Prefer an existing word to a coined one.** A coined word must be defined, and it recruits no\n  prior.\n- **Look for collapse candidates.** A triad spelled out at several sites, or a pointer spending a\n  sentence on one idea, is a candidate to collapse into one word.\n\n## The no-op test\n\nRun it sentence by sentence. An instruction the model already follows by default spends load and\nsays nothing. Running the document, not debate, settles whether a sentence changes behavior.\nDelete a failing sentence whole. A word too weak to beat the default is a no-op too; the fix is a\nstronger word: a more precise one, and a firm one only for a hard limit\n([Be strict with precise words](#be-strict-with-precise-words)).\n\n## After writing\n\n- Repeated the same prose in another file, even a second occurrence or a recap of an SSOT that\n  already exists? Invoke `\u002Fdocs-hygiene:extract-ssot` via the Skill tool. A new shared home still\n  waits for the third occurrence; below that it remedies the repetition in place.\n- Resolved or coined a term in the **consuming project's** domain? Invoke\n  `\u002Fdomain-driven-design:ubiquitous-language curate` via the Skill tool (if that plugin is enabled) rather\n  than hand-writing the entry. A skill defining its own working vocabulary is out of that skill's\n  scope and stays where it is.\n- Editing exposed pre-existing problems in the surrounding doc? Invoke the fitting audit\n  sibling via the Skill tool (`\u002Fdocs-hygiene:audit-noise`, `\u002Fdocs-hygiene:audit-derivability`,\n  `\u002Fdocs-hygiene:audit-progressive-disclosure`) rather than expanding this write into an audit.\n\n## What this skill does not do\n\n- **Does not author skills.** Whether a skill should exist, what it triggers on, its frontmatter,\n  action shape and body structure are `\u002Fplaybooks:skill-authoring` territory (description shape\n  and caps: `## Descriptions`; body size: `## Body`), enforced by `\u002Fskill-quality:check`. Prose\n  inside an already-authored SKILL.md is still this skill's, since a SKILL.md is agent-consumed\n  markdown. The boundary is authorship against wording, not a whole file this skill may not look\n  at; read otherwise, the largest agent-facing surface most repos have is governed by no\n  authoring doctrine at all.\n- **Does not audit existing docs**: the audit siblings own read-only findings; this skill fires\n  at the writing moment only.\n- **Does not write human-facing docs**. End-user READMEs, changelogs, and marketing prose have\n  a different reader and different rules: they belong to the sibling\n  `docs-hygiene:write-for-humans`, which fires at this same moment and resolves the consuming\n  project's own style guide first.\n- **Does not enforce via hooks**. Trigger reliability rests on this skill's description and its\n  eval suite, deliberately not on a forcing hook.\n","# Write For Agents\n\n## Why this skill exists\n\nThe docs-hygiene siblings audit docs that already exist. This skill is the write-side complement:\nit fires while the doc is written, so the problems the audits catch are never created. Its scope\nis any markdown an agent will consume; the auto-read surfaces (CLAUDE.md scopes, `.claude\u002Frules`,\nauto-memory, and their kin) are the high-value core because their cost recurs every session. Read\n[`reference\u002Fagent-doc-surfaces.md`](reference\u002Fagent-doc-surfaces.md) when you need to know\nwhether, when, and how much of a target file the harness loads. Write differently for an\nalways-loaded surface than for an on-demand one.\n\n## Budget both loads\n\nEvery line spends two budgets, and cutting one can overspend the other:\n\n- **Context load**. Tokens the agent pays, every session for always-loaded surfaces. Governed\n  marketplace-wide by plugin-philosophy's Instruction economy: an instruction earns its place\n  with observed-stumble evidence, or it goes.\n- **Cognitive load**. Attention the human maintainer pays: they must be able to hold the map of\n  where things live. Ten tiny fragment files can be cheaper for the agent and ruinous for the\n  human; one 500-line file the reverse. When the two budgets conflict, say which one you spent\n  and why.\n\nFewer words spends less of both. The universal brevity rules apply: no more words than the meaning\nneeds, no filler, hedging, intensifiers, expletive openings, or restatement of an adjacent line;\nactive voice; one idea per sentence; a factual register with nothing sold. `\u002Fwriting:be-concise`\nowns those rules when the `writing` plugin is installed; without it, apply them from this\nparagraph. Take those rules and no more of that doctrine: its human-only rules do not transfer. A\nbottom-line-first opening, headings written to be skimmed, bullet lists for scanning, and bounded\nbold serve a person moving down a page fast; an agent needs the rule stated where it applies, not\nstaged for a skim.\n\n## Know which surfaces are system prompt\n\nThree vehicles shape the system prompt: a subagent definition's body, an output style, and the\nlaunch flags that replace or append to it (`--system-prompt`, `--append-system-prompt`, and their\n`-file` forms). Write CLAUDE.md files, rules, and skill bodies as instructions read in the\nconversation, not as system prompt, stating the rule, its scope, and its reason. A rule that must hold at system-prompt level goes in a subagent body, an output\nstyle, or a launch flag.\n\n- **Pointer**: for how CLAUDE.md content is delivered, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#troubleshoot-memory-issues>; for a subagent body, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#write-subagent-files>; for output styles, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Foutput-styles#how-output-styles-work>; for the flags, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference#system-prompt-flags>; for skill content, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#skill-content-lifecycle>.\n\n## Write pointers that cover their branches\n\nA pointer is a routing instruction: the reader decides from the pointer text alone whether to\nfollow it, without opening the target.\n\n- **Put the matching term first.** Open with the term the reader is matching on (\"Deploys:\n  see…\", never \"See the following doc for information about deploys\").\n- **Cover the branches.** State when to follow it and what the reader gets (\"for tracked-changes\n  output specifically, read X\"), so both the follow and the skip are informed decisions.\n- A pointer that exists only because changes must be mirrored across distant folders can mask a\n  cohesion problem. Before adding it, consider restructuring so things that change together live\n  together: a pointer papering over low cohesion outlives the reorganization that would have\n  removed it. (Audit-side remediation home: `harness-memory:audit`'s C5 fix guidance, if that\n  plugin is enabled.)\n\nThe sibling audit skill owns the full pointer-quality criteria. Invoke\n`\u002Fdocs-hygiene:audit-progressive-disclosure` via the Skill tool to grade a draft against them,\nrather than failing them at audit time.\n\n## Separate steps from reference, and co-locate what runs together\n\nSteps are read in order and executed; reference is jumped into and queried. Mixing them hurts\nboth: lookup tables interrupt a procedure's thread, and reference buried in a procedure is\nunfindable.\n\n- Put the procedure in one contiguous block; move lookup material below it or into a spoke file\n  with a conditioned pointer.\n- Co-locate what is consumed together: the fact a step depends on belongs beside the step, not\n  three sections away. Distance a reader must jump during execution is a defect.\n- Sprawl is the failure of both: when a file serves several audiences or moments, split it along\n  who-reads-when lines, not topic lines.\n\n## Give every step a completion criterion\n\nA step is done when its criterion says so, not when text resembling the step has been produced.\n\n- **Clarity and demand.** State what \"done\" observably is, and demand it: \"run X; the step is\n  complete when Y appears\" beats \"run X\".\n- **Premature completion** is the shape to design against: a step satisfiable before its\n  goal-state is reached will be marked complete at first plausible output. Make the criterion\n  the goal-state, never the attempt.\n- **Post-completion steps.** When finishing creates an obligation (regenerate, notify, clean\n  up), state it in the step; an obligation after \"done\" is otherwise dropped.\n- **The agent does the legwork.** Write steps that resolve their own facts from the environment;\n  a step that sends the human to look up something the agent could read is a defect.\n- **Hiding later steps** from the agent works only across a real context boundary (a hand-off or\n  a subagent dispatch); an inline call leaves the later steps in context.\n\nA task-shaped or long-run instruction also names the whole task's finish line and its stops:\n\n- **Keep going** when a step needs no input, with status notes in the same message as the next\n  action, not a summary that names the next step, an offer to continue, or a list of choices that\n  block nothing.\n- **Stop and ask** only when nothing can move without the human, or before a destructive,\n  hard-to-undo, or outward action. Never pair a keep-going rule with turning off permission prompts\n  or confirmation gates.\n- **Long runs** keep the task list in a file, ticked as items finish, so the list never depends\n  on the scrollback; reuse a ledger the workflow already has. The final report opens with what is\n  blocked on the human, then what changed and what was found.\n  **Pointer**: when judging what a long run loses to compaction, fetch\n  [What survives compaction](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcontext-window#what-survives-compaction)\n  live.\n\n## Split by sequence; choose invocation by the rubric\n\nWhen one doc serves two moments in time, split it at the moment boundary: the reader at step one\nshould not scroll past material for step nine. Splitting an instruction surface into skills with\ndifferent invocation modes is a different axis with its own decision rubric: follow the\n[invocation-mode rubric](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Finvocation-mode\u002FREADME.md)\n(§ Splitting by invocation) rather than deciding it ad hoc.\n\n## Prompt the positive\n\nWrite what to do, not what to avoid: a prohibition drags the banned behavior into context, and\npretrained leading words are the compact anchors that steer (\"Prefer X\" over \"Never do Y unless\").\nKeep a negation only when the positive form genuinely loses the constraint, and state the positive\nalternative in the same sentence. A design exclusion is the exception that stays negative: name\nthe specific styles to leave out (\"no hero banner, no pill-shaped buttons\"),\nsince \"avoid a generic look\" swaps one default for another.\n\nAsk for outcomes, not thinking. Whether a \"think carefully\" line helps depends on the target model,\nso follow `\u002Fharness-config:audit-instructions` criterion I8-f for the model the text will run on.\nA line telling the model to think less or\nnot at all is I8-c's, scoped per model the same way. Never ask the model to show or reproduce\nits reasoning in the reply, which some models decline; ask for what the reader needs, such as the\nrationale in two or three sentences or the evidence as a list.\n\n## Be strict with precise words\n\nWords like \"reasonably\", \"tasteful\" and \"where appropriate\" are too soft to force the agent to\nfollow them, so it falls back to its defaults: those sentences don't change behavior. State the\nnumber, the condition or the boundary instead, which narrows the answers the agent has to choose\nfrom. An example of the form:\n\n```text\nBad:  Keep the summary reasonably short and mention the tests where appropriate.\nGood: The summary is at most three sentences. Name each test command you ran with its\n      pass and fail counts.\n```\n\nStrict means precise, not loud. State each rule in plain words with its scope and reason, and\nwrite no all-caps and no marker words (`IMPORTANT`, `MUST`, `NEVER`, `ALWAYS`, `CRITICAL`) to make\nit stick. A plain firm word (never, always) stays when the sentence gives the rule's scope and\nreason. A rule that must hold every time belongs in a hook, deny rule or CI check; a line that\nkeeps getting missed means the file needs to be shorter. Bold is structure only: a list-item label\nor a defined term at its first use, never a whole sentence or a rule\n([ADR 0098](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fadr\u002F0098-state-instruction-rules-in-plain-words-without-emphasis-markers.md)).\n\n- **Pointer**: skill-creator,\n  [How to think about improvements](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002FSKILL.md#how-to-think-about-improvements).\n\n- **Pointer**: Claude Code best practices,\n  [What you can stop doing](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fbest-practices#what-you-can-stop-doing).\n\n## Leading words\n\nA leading word is a compact concept the model already holds from pretraining, repeated as a token\nand never re-explained, so it anchors a region of behavior in few tokens.\n\n- **Prefer an existing word to a coined one.** A coined word must be defined, and it recruits no\n  prior.\n- **Look for collapse candidates.** A triad spelled out at several sites, or a pointer spending a\n  sentence on one idea, is a candidate to collapse into one word.\n\n## The no-op test\n\nRun it sentence by sentence. An instruction the model already follows by default spends load and\nsays nothing. Running the document, not debate, settles whether a sentence changes behavior.\nDelete a failing sentence whole. A word too weak to beat the default is a no-op too; the fix is a\nstronger word: a more precise one, and a firm one only for a hard limit\n([Be strict with precise words](#be-strict-with-precise-words)).\n\n## After writing\n\n- Repeated the same prose in another file, even a second occurrence or a recap of an SSOT that\n  already exists? Invoke `\u002Fdocs-hygiene:extract-ssot` via the Skill tool. A new shared home still\n  waits for the third occurrence; below that it remedies the repetition in place.\n- Resolved or coined a term in the **consuming project's** domain? Invoke\n  `\u002Fdomain-driven-design:ubiquitous-language curate` via the Skill tool (if that plugin is enabled) rather\n  than hand-writing the entry. A skill defining its own working vocabulary is out of that skill's\n  scope and stays where it is.\n- Editing exposed pre-existing problems in the surrounding doc? Invoke the fitting audit\n  sibling via the Skill tool (`\u002Fdocs-hygiene:audit-noise`, `\u002Fdocs-hygiene:audit-derivability`,\n  `\u002Fdocs-hygiene:audit-progressive-disclosure`) rather than expanding this write into an audit.\n\n## What this skill does not do\n\n- **Does not author skills.** Whether a skill should exist, what it triggers on, its frontmatter,\n  action shape and body structure are `\u002Fplaybooks:skill-authoring` territory (description shape\n  and caps: `## Descriptions`; body size: `## Body`), enforced by `\u002Fskill-quality:check`. Prose\n  inside an already-authored SKILL.md is still this skill's, since a SKILL.md is agent-consumed\n  markdown. The boundary is authorship against wording, not a whole file this skill may not look\n  at; read otherwise, the largest agent-facing surface most repos have is governed by no\n  authoring doctrine at all.\n- **Does not audit existing docs**: the audit siblings own read-only findings; this skill fires\n  at the writing moment only.\n- **Does not write human-facing docs**. End-user READMEs, changelogs, and marketing prose have\n  a different reader and different rules: they belong to the sibling\n  `docs-hygiene:write-for-humans`, which fires at this same moment and resolves the consuming\n  project's own style guide first.\n- **Does not enforce via hooks**. Trigger reliability rests on this skill's description and its\n  eval suite, deliberately not on a forcing hook.\n",{"metadata":24,"description":7,"argument-hint":27,"user-invocable":28,"disable-model-invocation":20},{"summary":25,"workflow-stage":26},"Authoring-time doctrine for agent-consumed markdown","anytime","[\u003Cfile or section being written>]",true,"main","d0e68c3f36b92a1d6381f0ba0060d7a0b8b886c5","plugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":28},[40,43,46],{"tool":41,"command":42},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill write-for-agents",{"tool":44,"command":45},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill write-for-agents",{"tool":47,"command":48},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill write-for-agents","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002FSKILL.md",[51,57,61,65],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"evals\u002Fevals.json","REFERENCE","参考文档",6722,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002Fevals\u002Fevals.json",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"evals\u002Ffixtures\u002Fdraft-rule-leading-words.md",418,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002Fevals\u002Ffixtures\u002Fdraft-rule-leading-words.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Ffixtures\u002Fdraft-rule.md",192,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002Fevals\u002Ffixtures\u002Fdraft-rule.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Fagent-doc-surfaces.md",10100,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fwrite-for-agents\u002Freference\u002Fagent-doc-surfaces.md",[70,77,84,91,96,103],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":92,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]