write-instructions
Writes and changes the text an agent loads: skills, rule files (`CLAUDE.md`), guides and the prompts hooks send. Use it as soon as such a change is discussed…
от Adrian333Dev★ 41 звезда на GitHub
Установить write-instructions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Write instructions
The user gives the direction. You write the text.
Every step runs, sized by the job: one rule takes a line or two per step, a skill takes a draft file. After each answer from the user, go back to the step it changes. The ticket keeps each step's result: the problem, the cases, the design, and every proposal dropped, with why.
Steps
read-what-existsRead all of this before the first proposal.- The target file whole, and where it loads: every session, one phase, one skill, or a hook's message.
- For each line the job touches, why it was added: its edit log entry, else
git log -S "<words>"and the ticket its commit names. No reason found → name what the line seems to guard. - What already covers the job: the global and project
CLAUDE.md, the skill's own description, the file's twin. - A fault → the turn where it went wrong, through
flow audit read <session> --turns <n>. Read what the agent leaned on there. - A new skill → what already does part of the job, here and outside (
/flow:research).
Check: you can name the line that should have prevented the fault, or show that no line covers the job.
state-the-problemSay the problem in your own words. The user's words handed back prove nothing.- What goes wrong, or what is wanted, with a real example: the turn, the line, the output.
- Its cause. A loaded line already covered it and was not followed → the fix changes that line's place or shape. A new line beside it fixes nothing.
- The behaviour wanted after the change.
write-the-casesNumber every situation the text must handle, one line each: what happens → what the agent does.- The usual case, and the awkward ones: empty, huge, repeated, interrupted halfway.
- The cases where today's behaviour is right and must stay. A fix too broad breaks them.
- A fault is case 1.
Send steps 2 and 3 in one reply, then stop. Check: the user confirmed the problem and answered the cases, adding their own.
designGrow the user's direction into the strongest design. Try more than one shape of it.- Write the fewest lines that pass every case. Cut or reshape a line before adding one.
- Rewrite in place what already covers the job. Never add a second copy.
- Match the shape to the failure:
- a step the agent skipped → an ordered step ending on a check
- a ban broken under pressure → the ban, paired with the action to take
- output in the wrong shape → a recipe for the right shape, never a list of bans
- a judgment call → the goal, and the reason that decides the cases it does not name
- Put each line where it fires. Every session gets only what fires with no skill loaded.
- A loaded rule the new text could contradict → name it, and say which wins.
- A skill or a rewrite → its sections, start to end, before any step's text. A rewrite maps every old line to its new place or a named cut.
- Walk every case through the design. A case that fails sends you back here.
references/shapes.mdholds section shapes, rule ids, branching a step, skill frontmatter and cuts from real rewrites.Check: every case passes, named one by one.
show-the-exact-textRead~/.flow/references/guides/writing.mdnow. Fix every sentence that fails its tests.- Show the text as it will read, under the file and section it replaces. A rewrite shows the old text beside it.
- A skill or a rewrite → a draft file the user reads start to end:
<name>.draft.mdbeside the old file, or the ticket'sdraft/folder for a new one. - Say in plain words what the text makes the agent do.
Stop. Check: the user read the exact text and approved it.
land-itWrite exactly the approved text.- The file's twin, if it has one.
- The edit log entry, by
~/.flow/references/guides/edit-log.md, where the project keeps one. flow installfor a new or renamed skill.- Every record the change makes stale: the spec, the docs, a pointer in another file.
Check: a search for the old wording finds no stale mention.
check-it-laterWrite one line where the project keeps checks on real sessions: what to count, the baseline, the target. Then end with the next step for the user.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/shapes.md
FAQ
Что делает скилл write-instructions?
Writes and changes the text an agent loads: skills, rule files (`CLAUDE.md`), guides and the prompts hooks send. Use it as soon as such a change is discussed, before the first proposal.
Как установить скилл write-instructions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-instructions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…