architect
FreeRun a full dev cycle on one change: clarify, plan, execute, lint, fix. Start every change here.
The English summary is being prepared. Showing the original description.
Write a document an agent consumes — a skill, an AGENTS.md, a README, a docblock, or any file reached by a pointer.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
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 behavior 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 behavior 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.No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Run a full dev cycle on one change: clarify, plan, execute, lint, fix. Start every change here.
The English summary is being prepared. Showing the original description.
Locate and understand code through the project's graft graph before reading: where-is-X, how-does-Y or what-calls-Z.
The English summary is being prepared. Showing the original description.
Stress-test the owner's plan, decision or idea by interviewing them to a shared understanding before any work starts.
The English summary is being prepared. Showing the original description.
Remove AI tells from French prose without lowering its register — a reply, a `.po` target, a French post.
The English summary is being prepared. Showing the original description.
Remove AI tells from English prose — a README, a comment, a user-facing string, a review. French is `humaniseur-fr`.
The English summary is being prepared. Showing the original description.
Turn surviving mutants into better tests or bug reports: on a survivor, a red MSI gate, or before a threshold drops.
The English summary is being prepared. Showing the original description.