Framework for dispatching one-shot Subagents that complete a Task and return. Covers prompting structure (WHY->WHAT->HOW), the Story/Business/Goal/Verification/Process Prompt Template, and Evidence directories.
Ships in talents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One-shot Subagents complete a Task and return; SendMessage({to: agentId}) resumes one for iteration.
A Subagent's Context is a fixed budget spent once: the Prompt, every file it reads, and every tool result compete for the same room. Two Tasks in one dispatch halve the room each gets.
The WHY primes the Agent: the User pain and the Business behind it. The WHAT names the deliverable and observable success. The HOW is what you have already decided — a call you made rides in the dispatch, a file you need read is named by path, and what you left open the Agent settles itself, finding related files on its own. A contract left implicit is a decision the Agent will invent.
Your reasoning, your caveats, and what you already ruled out consume Context the Subagent needs for the code.
IF the Task is mechanical:
A bulk rename or format conversion is not Architectural, so specific Task steps are correct.
Two Tasks share one dispatch only when finishing the second needs what reading for the first already put in Context. A shared topic is not a shared reasoning unit: count the files each Task must read, and no overlap means separate dispatches sent in one message. Order between them means you sequence the dispatches, never a list one Subagent walks.
Example: "add the endpoint" and "update its caller in the same service" is one dispatch — the same files. "Fix the card field" and "rewrite the confirmation email" is two, sent together, even though both are checkout. Never: a numbered Task list in one Prompt, or executing a Task list yourself instead of dispatching it.
The Verification block is the ruler: criteria on more than one surface mean more than one dispatch. Many surgical dispatches in one message beat one broad one. Each builder stays fast, exact, and cheap to redo when wrong. Never: "implement the feature", "migrate the module", or a dispatch whose Verification cannot run until a later dispatch lands.
Symptoms cluster to the system that owns them. Two live Subagents editing one file collide, so the owning system's Subagent gets the whole cluster in its founding dispatch. Ownership ends when the agent returns. The next cluster founds a fresh Owner.
The Orchestrator corrects by resuming and re-scopes by dispatching anew; the Subagent never widens its own Task.
docs/agents/-/task.md is the whole dispatch. It has Story, Business, Goal, Verification, Architecture, Process, and Queue.
Story says what the User experiences and needs.
Business says WHY it matters, the boundaries, and the limitations.
Goal says what the Subagent delivers.
Verification says how the Subagent proves its work before returning.
Architecture orients the Subagent before the Process and marks files to change with *.
Process is the operating procedure the Subagent runs first and last.
Queue says what the Owner must do after founding, and is empty until then.
The Agent call and every resume carry the path to task.md as their whole message.
A prior finding about User impact belongs in Story; a prior finding about a boundary belongs in Business. A trailing notes section is a dump the Subagent reads too late.
A Goal that delivers Architecture requires a class diagram, never a table. A Goal that delivers file or API changes requires an annotated file tree, never a table. Both formats are /show-me's.
Verification is input → output, or command + expected status and body.
Example: "npm test --grep payment passes"; "timeout after 30s shows 'Payment timed out'".
Never: "code works", "tests added", "no errors".
Write the name of the test that reproduces the change. When that test does not exist yet, write the behavior it must show and let the Subagent name it. The whole file and the suite are your end gate, after every Task lands. Never: a test file path, a suite name, or a directory as a Verification command.
IF the Task fixes a bug:
The Verification block names a new test that fails on the pre-fix code and passes after, plus one line on why the existing suite missed the bug.
Template: Story:
Business: <WHY it matters, boundaries, limitations>
Goal:
Verification: <the name of the test that reproduces this change, or the behavior it must show> <each consumer the change reaches, what it does today, and the expected effect>
Architecture:
Process:
Queue:
One message, multiple Agent calls, each with its own task.md path as the prompt. Every dispatch is already async and parallel, so it returns its agentId at once and you keep working. Sequence only when one Task's output feeds the next.
SendMessage({to: agentId}) resumes an agent from its transcript, even after it returned,
using the agentId from its spawn result. The message is the task.md path, and the Queue
section holds what the agent must do next. A resume finishes or corrects that agent's own
founding Task, nothing else. A new finding, failure, or scope item is a fresh Task even on
the same surface. One agent, one task, and a clean Context beats a warm one.
Never: a resume carrying work the founding Prompt did not name, or "it already has context" as the reason to route new work to an old agent.
~/.claude/projects/<project>/<session>/subagents/*.meta.json names every Subagent the
session dispatched, with its agentType and model. Read it when the id has left your
Context — the agent is still resumable.
The Harness notifies you when an agent returns, and its Evidence directory shows its progress meanwhile. Only when a resume fails, including an agent whose Context is exhausted and resumes into silence, dispatch a replacement implementing Subagent on the same task.md with the current diff.
Never: kill or time out an agent still working the Task. Stop one only when you have abandoned its Task, and record the abandonment.
IF one agent has failed three fix attempts on one bug:
Further resumes buy guesses. Dispatch a debugger to capture the failing artifact — the compared pair, the stack, the revision pair — and route the diagnosed fix with its file:line Evidence.
Context spent on the work is Context not held for the big picture. Doing a Task yourself, or reading a wide diff yourself, is why the Task goes to a Subagent. The Review is the one exception, and /review owns it: you read the changeset there, because a merge of reports nobody checked is not a Review.
IF the Decision a dispatch rests on is still open with the Architect:
Dispatching mid-interrogation executes an unapproved change. The Architect is still questioning the Decision, so no Subagent starts on it until he closes it.
IF a second Subagent is running on the surface you are about to correct:
Two live Subagents on one surface collide: each overwrites what the other wrote. Stopping the duplicate abandons its Task, so record the abandonment, then send the correction to the one Owner.
IF the Architect's words hold and change a thing the Orchestrator owns:
The Goal, the Architecture, and coordination are the Orchestrator's. Fold the feedback into the Goal and Architecture blocks of task.md. A correction to work in flight goes in the Queue and rides a resume. A changed Goal founds a fresh Task.
IF the Architect gives feedback on a thing a Subagent owns:
Quote the feedback verbatim in the Queue and add the Context the Owner lacks, meaning prior calls, boundaries, and sibling work. The Owner makes the decisions about its craft. a translated version replaces the Owner's judgment with the Orchestrator's and distorts what the Architect said.
Never: turning "the spacing feels cramped" into "set the gap to 16px" for the designer; adding fixes, preferences, or decisions the Architect never gave.
What SKILL.md sets; muted values are Claude Code's defaults
/talents:delegatefrom talents
npx claudepluginhub heyjordanparker/dotfiles --plugin talents33 skills in this plugin
/architectureTRIGGER when presenting Architectural options, Architecting systems, or discussing tradeoffs. Append to any Prompt./buildThe build mode's contract — the Agent does every edit and run itself, with no Subagents, deep full-file reads, and research before acting. TRIGGER when the session enters build mode, on the /build command, and when build mode is re-injected after compaction. DO NOT TRIGGER for orchestrate mode, where Subagents do the work (that is /orchestrate)./ccWrite and fix Claude Code Prompts — skills, agents, commands, hooks, rules files, Claude.md, and plugin distribution. TRIGGER when the task says "cc"/"claude code"/"claude-code", or asks to build, edit, test, or share a skill/agent/hook/command, tune a description's triggering, write or prune a Claude.md, or cut prompt bloat. DO NOT TRIGGER to name a Claude.md's identifiers (that is /naming) or to record domain vocabulary (that is /domain-design)./commitMandatory contract for every commit. The Architect authorizes a commit by typing /commit, for that turn only, and the classifier then injects "Skills to execute: /commit". Holds the whole commit job: commit your own changes, write the message, commit, and verify, plus the commit-message format (type prefix, Capability subject, Problem and Solution body, file tree). TRIGGER on every turn where the Architect typed /commit, or when the Architect asks to write or revise a commit message. DO NOT TRIGGER on any other turn: "commit this", applying changes, deploying, shipping, and replacing files authorize nothing.
/critical-pathProcess for changes with a large blast radius: files many others import or with critical complexity, and actions that are destructive, hard to reverse, or visible outside the repo. TRIGGER before editing a file whose facts show `imported_by` of 20 or more or a `complexity_rank` of `critical`, and before any delete, force-push, schema drop, process kill, push, pull-request operation, shared-infrastructure change, or third-party upload./debugUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesOther plugins' skills for the same job