Full dev cycle. Planning tier for clarify and plan; worker tier after approval for autonomous execution, tiered lint, thread rotation, and feedback fixes. Start every change here.
日本語の概要は準備中です。原文の説明を表示しています。
Writing documents an agent consumes. Use when creating or editing a skill, an AGENTS.md, a README section, a docblock, or any file reached by a pointer.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Reference for writing any document an agent reads: a skill, an AGENTS.md, a
docblock, a line in a README. The packaging differs; the levers do not.
Distilled from mattpocock/skills/writing-for-agents — see
.agents/docs/DISTILLATION.md for what was kept, dropped, and added.
A context pointer is a reference held in the agent's context that names
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 weakly worded pointer is a
variance bug: sharpen the wording first, 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. Every word of an always-loaded pointer costs on every turn:
AGENTS.md line, a skill description, anything spending tokens whether or not
it fires.Two content types: steps (ordered actions) and reference (facts consulted on demand). The core decision is where each piece sits:
Progressive disclosure is the move down the ladder. Branching is the cleanest test: inline what every branch needs, disclose what only some reach.
Co-location decides what sits beside what. Keep a concept's definition, rules and caveats under one heading. Grouped material reads as documentation; scattered material does not.
Sprawl is the failure mode: a document too long even when every line is live. The cure is the ladder.
Every step ends on a completion criterion. Two properties make it a lever:
The strongest criteria are both checkable and exhaustive.
A leading word is a compact concept already in the model's pretraining that the agent thinks with: lesson, fog of war, tracer bullets. Repeated as a token, never as a sentence, it anchors a whole region of behaviour in the fewest tokens by recruiting priors the model already holds. A coined word recruits no priors: you pay in definition tokens what a pretrained word gives free.
Negation is the failure mode beside this lever. Steering by prohibition drags the forbidden behaviour into context and makes it more available. Don't think of an elephant. Prompt the positive: "write one-line comments" so the banned one is never spoken. A prohibition earns its place only as a hard guardrail you cannot phrase positively, and even then pair it with the target.
package.json scripts, config,
directory layout, --help. A document restating it is a cache, and earns
its load only when the lookup is expensive. Cache the unwritten convention,
the reason behind a choice, the gotcha no config confesses.writing skill: it carries the WordPress Documentation Style Guide rules in references/ and hands the draft to humanizer or humaniseur-fr. This skill is for the documents an agent consumes.'WordPress' where the function returns 'wordpress', a fixed array shape a
failure path contradicts. WPCS checks that a docblock is present and shaped
right; nothing checks that it is true. That is this skill's job.@param int $id under
function f( int $id ) is a no-op. Say what the value means, or say nothing.@return describes what comes back, including when it is nothing. "Empty
string when the term has no archive" is worth a line; "the link" is not.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Full dev cycle. Planning tier for clarify and plan; worker tier after approval for autonomous execution, tiered lint, thread rotation, and feedback fixes. Start every change here.
日本語の概要は準備中です。原文の説明を表示しています。
This repo is indexed by graft/. For ANY task here, whether understanding how something works, finding where code lives, tracing what calls a symbol or what a change breaks, or scoping an edit, get your context from the graph before grepping or reading source files. Every command runs through `bin/harness graft`.
日本語の概要は準備中です。原文の説明を表示しています。
Interviewing the owner to a shared understanding before any work starts. Use when a plan, a decision or an idea needs stress-testing, or when the owner asks to be grilled, interviewed or questioned about one.
日本語の概要は準備中です。原文の説明を表示しています。
Removing AI tells from French prose without lowering its register. Use when rewriting or reviewing French text — a reply to the owner, a `.po` target, a French post — that reads like a machine wrote it.
日本語の概要は準備中です。原文の説明を表示しています。
Editing English prose that reads as machine-written. Use when reviewing or rewriting a draft for AI tells — a README, a changelog entry, a comment, a user-facing string, a review. French text is `humaniseur-fr`.
日本語の概要は準備中です。原文の説明を表示しています。
Turn surviving mutants into better tests, or into bug reports. Use when a mutation run reports escaped mutants, when the MSI gate fails, when asked whether a test suite is actually testing anything, or before proposing to lower a threshold.
日本語の概要は準備中です。原文の説明を表示しています。