Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

writing-for-agents

БесплатноБез исполняемых скриптовНе проверен

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

FradSerот FradSer★ 598 звёзд на GitHub

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

Reference for writing any document an agent consumes: a skill, an AGENTS.md / CLAUDE.md, a doc reached by a pointer. The packaging differs; the writing does not: the same levers make each one predictable, since the agent takes the same process every run rather than producing the same output.

When the document you're writing is a skill, read SKILL-MECHANICS.md for frontmatter, invocation choice, and router skills.

Model-aware instruction audit

Apply these principles when authoring or auditing skills, AGENTS.md, CLAUDE.md, and task prompts. Revisit instructions against the models actually used by contributors; do not assume scaffolding that helped one model helps all of them. Preserve instructions that encode real project constraints.

  • Narrow triggers. Keep skill descriptions as short as possible while naming the actual workflow and its trigger conditions. Long, overlapping descriptions compete for context and load irrelevant guidance.
  • Minimal routing. For a multi-workflow skill, make the root a minimal router to supporting docs with clear loading conditions. Load only the branch the task needs; unnecessary guidance spends context and brings compaction closer.
  • Outcomes over itineraries. Specify constraints and completion criteria; leave implementation choices to the agent unless a particular sequence is essential.
  • Contextual repository guidance. Revisit always-loaded instruction files after model upgrades. Replace blanket pre-reading with targeted pointers, and keep reading proportional to the task: a typo fix needs no full repository tour.
  • Evidence-based pruning. Remove stale workarounds, conflicting guidance, and reminders already satisfied by the model's default behavior. Retain task-specific verification requirements and explicit repository contracts.
  • Safe autonomy and decision boundaries. State what may proceed without repeated approval and where approval is required. Only claim a check is safe when verified true. Retain explicit approval boundaries for production writes, destructive operations, and external publication: perceived model capability does not grant permission.
  • Persistence with a finish line. Define completion before work begins. If delivery includes running it, inspecting the result, fixing failures, and rerunning affected checks, say so: a first implementation is not that finish line. Keep a stop-for-review gate only when a human decision is genuinely needed, and name the exploration scope and stopping condition for work beyond the first pass.

Context pointers

A context pointer is a reference held in the agent's context that names some out-of-context material and encodes the condition for reaching it. A skill's description is one; a line in AGENTS.md naming a doc is the same object. The pointer's wording, not its target, decides when the agent reaches the material, and how reliably. A must-have target behind a weakly worded pointer is a variance bug: sharpen the wording first, and inline the material only if sharpening fails.

A pointer does two jobs: state what the material is, and list the branches that should trigger reaching it (a branch is a distinct case the document handles, so different runs take different paths through it). Every word of an always-loaded pointer costs on every turn, so it earns even harder pruning than the body:

  • Front-load the leading word: the pointer is where it does its triggering work.
  • One trigger per branch. Synonyms that rename a single branch are one branch written twice; collapse them and keep only genuinely distinct branches.
  • Cut identity the body already carries.

The two loads

Every document and pointer you add spends one of two budgets:

  • Context load is the cost of always-loaded material on the agent's window: an AGENTS.md line, a skill description, anything sitting in context every turn, spending tokens and attention whether or not it fires.
  • Cognitive load is the cost on the human: which documents exist and when to reach for each. The human is the index. Not a cost to minimise: it is the price of human agency; spend it where human judgement matters, remove it where it does not.

Material reached only through a pointer escapes context load at the price of the pointer's own line; material with no pointer at all rides entirely on cognitive load.

Information hierarchy

A document is built from two content types: steps (the ordered actions the agent performs) and reference (definitions, rules, facts consulted on demand). The two mix freely: all steps (a recipe), all reference (a review's rules, this skill), or both. The core decision is where each piece sits on the information hierarchy, a ladder ranked by how immediately the agent needs the material:

  1. In-file step is the primary tier: what the agent does, in order.
  2. In-file reference is consulted on demand. Often a legitimately flat peer-set (
Полный SKILL.md на GitHub

Установить writing-for-agents в Claude Code и Claude Desktop

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

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

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

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

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

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

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

SKILL-MECHANICS.mdagents/openai.yaml

FAQ

Что делает скилл writing-for-agents?

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Как установить скилл writing-for-agents?

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

Скилл writing-for-agents запускает скрипты?

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

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

Сравнить writing-for-agents с