Command Palette

Search for a command to run...

Назад к скиллам
скилл № 85147

Write For Agents

When the built-in init command resolves in this session, prefer it for a from-scratch CLAUDE.md; this skill to trim it and for other agent markdown. Write or…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Write For Agents в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Write For Agents

Scope

The docs-hygiene siblings audit docs that already exist. This skill is the write-side complement: it fires while the doc is written, so the problems the audits catch are never created. Its scope is any markdown an agent will consume; the auto-read surfaces (CLAUDE.md scopes, .claude/rules, auto-memory, and their kin) are the high-value core because their cost recurs every session. Read reference/agent-doc-surfaces.md when you need to know whether, when, and how much of a target file the harness loads. Write differently for an always-loaded surface than for an on-demand one.

Budget both loads

Every line spends two budgets, and cutting one can overspend the other:

  • Context load. Tokens and attention the agent pays, every session for always-loaded surfaces: we count each added line as diluting the agent's adherence to the rest, not only as tokens. Governed marketplace-wide by plugin-philosophy's Instruction economy: an instruction earns its place with observed-stumble evidence, or it goes. Pointer: for the size guidance, see write effective instructions.
  • Cognitive load. Attention the human maintainer pays: they must be able to hold the map of where things live. Ten tiny fragment files can be cheaper for the agent and ruinous for the human; one 500-line file the reverse. When the two budgets conflict, say which one you spent and why.

Fewer words spends less of both. The universal brevity rules apply: no more words than the meaning needs, no filler, hedging, intensifiers, expletive openings, or restatement of an adjacent line; active voice; one idea per sentence; a factual register with nothing sold. /writing:be-concise (if enabled) owns those rules; without it, apply them from this paragraph. Take those rules and no more of that doctrine: its human-only rules do not transfer. A bottom-line-first opening, headings written to be skimmed, bullet lists for scanning, and bounded bold serve a person moving down a page fast; an agent needs the rule stated where it applies, not staged for a skim.

Know which surfaces are system prompt

Three vehicles shape the system prompt: a subagent definition's body, an output style, and the launch flags that replace or append to it (--system-prompt, --append-system-prompt, and their -file forms). Write CLAUDE.md files, rules, and skill bodies as instructions read in the conversation, 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 style, or a launch flag.

Write pointers that cover their branches

A pointer is a routing instruction: the reader decides from the pointer text alone whether to follow it, without opening the target.

  • Put the matching term first. Open with the term the reader is matching on ("Deploys: see…", never "See the following doc for information about deploys").
  • Cover the branches. State when to follow it and what the reader gets ("for tracked-changes output specifically, read X"), so both the follow and the skip are informed decisions.
  • A pointer that exists only because changes must be mirrored across distant folders can mask a cohesion problem. Before adding it, consider restructuring so things that change together live together: a pointer papering over low cohesion outlives the reorganization that would have removed it. (Audit-side remediation home: harness-memory:audit's C5 fix guidance, if that plugin is enabled.)
  • Pointer what has a predictable trigger; keep symptom triage inline. A procedure the agent knows it is starting (a release, a deploy, a migration) goes behind a pointer that names that trigger. Triage keyed to an error symptom stays on the always-loaded surface: the agent cannot follow a pointer for a symptom it has not yet recognized. Correlate with the /doctor trim in my CLAUDE.md is too large.

The sibling audit skill owns the full pointer-quality criteria. Invoke /docs-hygiene:audit-progressive-disclosure via the Skill tool to grade a draft against them, rather than failing them at audit time.

Separate steps from reference, and co-locate what runs together

Steps are read in order and executed; reference is jumped into and queried. Mixing them hurts both: l

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/agent-doc-surfaces.md
  • reference/native-init.md

FAQ

Что делает скилл Write For Agents?

When the built-in init command resolves in this session, prefer it for a from-scratch CLAUDE.md; this skill to trim it and for other agent markdown. Write or trim agent-consumed markdown: CLAUDE.md, AGENTS.md section, .claude/rules, agent reference, navigation pointer, extraction (prune derivable, move section). Use when 'add this to CLAUDE.md', 'trim this AGENTS.md', 'write a rule for X', for agent. Not for SKILL.md: /playbooks:skill-authoring; human docs: /docs-hygiene:write-for-humans. Load it before any trim or edit, even pasted, or a rule agents ignore. Load it too when the reply is only the rewritten file in a fenced block.

Как установить скилл Write For Agents?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Write For Agents запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Write For Agents с