/developer:aillyfrom developer
Use when starting, resuming, or routing any software development task. The single bootstrap and session coordinator for the developer skill package: it directs which developer ability applies and drives the five-phase development loop — research, design, plan, red-green-refactor (build), cleanup — entered by phase argument (`/ailly design ...`). Routes the coordinator's progressive abilities: thinking (stuck on a compiler/test/lint error during build), refactor (clean up green code before finishing), initialize (set up a new project or language environment), and program-management (read the next task or wire the team's issue tracker and document system). Also drives quick-loop, long-loop, bugfix, and project-shape variants.
Ships in developer. 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.
Read when SKILL.md points to them.
Successor repository:
davidsouther/ailly.
The developer skill package's bootstrap and session coordinator. It routes every developer task to the right ability, creates and manages the session folder, drives each of the five lifecycle phases, enforces draft gates, and determines where to resume when re-entering an existing session.
The five phases — research, design, plan, red-green-refactor (the Build phase), and cleanup — are entered by argument, not by selecting a standalone skill. /ailly design ... runs the design phase; /ailly with no phase resumes the session at the correct phase (see Phase Argument and Resume). Each phase body lives in developer/skills/ailly/references/phases/<phase>.md. The coordinator never inlines all five phase bodies: it selects the one reference for the current phase and runs it through the active harness's isolation mechanism.
The other developer abilities — thinking, refactor, initialize, and the program-management pair — are likewise references the coordinator consults at the right moment, not separately-described skills (see Routing). The only other standalone developer skill is developer:clean-comments-review, a review specialist consumed by general:review.
Announce at start: "Using developer:ailly to coordinate this session." general:using-general must be loaded concurrently with developer:ailly: if it is not already present in the session's context at the moment Ailly loads, Ailly loads it immediately, before doing anything else — not deferred, not situational.
Developer work runs through five phases — Research, Design, Plan, Build (red-green-refactor), and Cleanup — separated by human-review draft gates. The phases are not standalone skills: they are entered through this coordinator by phase argument (/ailly design ...), which selects the matching references/phases/<phase>.md and runs it with phase isolation (see Phase Isolation). With no argument the coordinator resumes at the correct phase.
The coordinator's other abilities are progressive references it consults when the situation calls for them, not phases and not separate skills:
| Situation | Route to |
|---|---|
| Starting a session for a new or in-progress feature (or resuming one) | this coordinator (developer:ailly, no argument resumes) |
| Gathering and refining context for a vague new topic, with nothing written yet | /ailly research → references/phases/research.md |
| Exploring a new idea and producing a formal design doc plus its one feature test | /ailly design → references/phases/design.md |
| Breaking a failing feature test into implementation steps | /ailly plan → references/phases/plan.md |
| Writing a small standalone script or automation, condensed but allowing ambiguity | references/shapes/code-mode.md |
| Implementing a plan step with TDD | /ailly red-green-refactor → references/phases/red-green-refactor.md |
| Finishing the topic: final review, extract deferred tasks, prepare the squash-merge | /ailly cleanup → references/phases/cleanup.md |
| Surfacing intent-alignment questions against the original prompt before substantive artifact changes | references/abilities/intent-review.md |
| Stuck on a red compiler/test/lint error during build, especially a recurring one after a fix | references/abilities/thinking.md (run through the harness isolation path when available) |
| Code is green and you want to clean up before finishing | references/abilities/refactor.md |
| Setting up a new project or a language environment (layout, tooling, dev hooks) | references/abilities/initialize.md |
| Reading the next task from the tracker, or writing deferred work back during a session | references/abilities/program-management/using.md |
| Wiring Ailly to the team's issue tracker and document system (once per project) | references/abilities/program-management/configuring.md |
Ailly's shared references use a canonical tool vocabulary (Read, Edit, Bash, Task, Skill, TodoWrite, and related names) so the workflow can stay stable across agent ecosystems. Before executing any instruction whose tool name differs in the active environment, consult references/agents/<harness>.md. The supported harness adapters are:
references/agents/claude.md — Claude Code, where the canonical vocabulary is native.references/agents/codex.md — Codex tool and subagent mappings.references/agents/copilot.md — Copilot CLI tool and async-session mappings.references/agents/gemini.md — Gemini CLI tool and subagent mappings.references/agents/pi.md — pi tool mappings, and the ailly_subagent/todo extensions this repository ships for pi's Task/TodoWrite equivalents.digraph phases {
start [shape=doublecircle label="New topic"];
research [shape=box label="Research:\n/ailly research"];
rg [shape=diamond label="Research cleared"];
design [shape=box label="Design (+ feature test):\n/ailly design"];
dg [shape=diamond label="Design cleared"];
plan [shape=box label="Plan:\n/ailly plan"];
pg [shape=diamond label="Plan cleared"];
build [shape=box label="Build:\n/ailly red-green-refactor"];
cleanup [shape=box label="Cleanup:\n/ailly cleanup"];
done [shape=doublecircle label="Approved + squash-merged"];
start -> research;
research -> rg;
rg -> design [label="yes"];
rg -> research [label="revise"];
design -> dg;
dg -> plan [label="yes"];
dg -> design [label="revise"];
plan -> pg;
pg -> build [label="yes"];
pg -> plan [label="revise"];
build -> cleanup [label="feature test passes"];
cleanup -> done [label="human approval"];
}
The phase is an argument to the coordinator. Five phase arguments are valid, mapping one-to-one to a phase reference:
| Phase argument | Phase reference |
|---|---|
research | references/phases/research.md |
design | references/phases/design.md |
plan | references/phases/plan.md |
red-green-refactor (Build) | references/phases/red-green-refactor.md |
cleanup | references/phases/cleanup.md |
When invoked as /ailly <phase> ..., run that phase. When invoked with no phase argument, determine the resume point from the session folder (table below) and run that phase. Either way, the coordinator does not read all five phase references; it selects exactly one.
Run each phase with the strongest isolation mechanism the active harness supports:
references/phases/<phase>.md.references/agents/<harness>.md fallback. The fallback still reads only the current phase reference before executing the phase.general:dispatching-agents's model-selection reference (general/skills/dispatching-agents/model-selection.md) as a mandatory precondition of dispatching at all — this holds on every subagent dispatch this skill package performs, unconditionally, not situationally. This is Ailly's own instance of the universal rule Step 1 wires through general:using-general's routing table: any subagent dispatch in this repository, Ailly's or not, discovers the same mandate there.general:dispatching-agents's delegation signals must itself run through a subagent dispatch wherever the active harness supports one, rather than being performed inline as a shortcut. A sub-step that fails those delegation signals stays inline, with no model-announcement obligation.This preserves per-phase isolation while removing the five phase descriptions from the always-on Level-1 view: the phases are reached by argument and by reference, not as separately-described skills.
If it does not exist, create .ailly/developer/YYYY-MM-DD-A-<topic> where A is A, B, C, etc to manage multiple features started in the same day. If not already on a branch of the same name, suggest moving to that branch, and let the user make the switch. When the branch needs upstream changes, prefer a rebase and push with --force-with-lease rather than a plain force push.
If the folder already exists for the current topic, determine resume point:
| Files present | Draft marker cleared? | Resume at (phase reference) |
|---|---|---|
| No files | — | Research phase (references/phases/research.md) |
research.md | No | Wait, ask user to clear the draft |
research.md | Yes | Design phase (references/phases/design.md) |
design.md | No | Wait, ask user to clear the draft |
design.md | Yes | Plan phase (references/phases/plan.md) |
plan.md | No | Wait, ask user to clear the draft |
plan.md | Yes | Build (references/phases/red-green-refactor.md) |
plan.md cleared, all steps done, feature test green | — | Cleanup phase (references/phases/cleanup.md) |
A file has its draft cleared when it no longer contains the *Draft marker.
Cleanup is the terminal phase: it runs the final review and extracts deferred decisions to .ailly/developer/TASKS.md. The coordinator, not cleanup, then pauses for human approval before the squash-merge or PR.
digraph run {
start [shape=doublecircle label="Session start"];
resume [shape=box label="Resolve phase argument\nor resume point"];
research [shape=box label="Research:\nreferences/phases/research.md"];
gate_research [shape=diamond label="Draft gate:\nresearch"];
design [shape=box label="Design (+ feature test):\nreferences/phases/design.md"];
gate_design [shape=diamond label="Draft gate:\ndesign"];
planning [shape=box label="Plan:\nreferences/phases/plan.md"];
gate_plan [shape=diamond label="Draft gate:\nplan"];
rgr [shape=box label="Build:\nreferences/phases/red-green-refactor.md"];
cleanup [shape=box label="Cleanup:\nreferences/phases/cleanup.md"];
gate_merge [shape=diamond label="Human approval:\nbefore squash-merge"];
stop [shape=doublecircle label="Stop session"];
start -> resume;
resume -> research;
resume -> design;
resume -> planning;
resume -> rgr;
resume -> cleanup;
research -> gate_research;
gate_research -> stop [label="not cleared"];
gate_research -> design [label="cleared"];
design -> gate_design;
gate_design -> stop [label="not cleared"];
gate_design -> planning [label="cleared"];
planning -> gate_plan;
gate_plan -> stop [label="not cleared"];
gate_plan -> rgr [label="cleared"];
rgr -> cleanup [label="feature test passes"];
cleanup -> gate_merge;
gate_merge -> stop [label="approved: squash-merge"];
}
At every phase or stage that creates or materially revises an artifact, perform Intent review using references/abilities/intent-review.md through the harness isolation path before that artifact feeds the next decision. Working backward from the original prompt through the accumulated artifacts, it notates probative intent questions in the session's reviews/ folder for the human to weigh alongside their own draft-gate review. Intent review never clears a gate. When requested, the session can use general:conversation to walk through the questions with the user.
After any research, design, or plan phase produces a draft, stop the session and tell the user:
"This step is complete. Review
<path>, make any changes, then remove the*Draft YYYY-MM-DD*marker from the top of the file. Intent review is at<intent-review-path>. Start a new session and rundeveloper:aillyto continue."
Do not proceed past a draft gate in the same session under any circumstances. If the user asks to continue anyway, decline:
"I can't continue past the draft gate in this session. The draft gate exists so you have a chance to review and refine before the next step builds on it."
Pass the session folder path to each phase runner. The session folder is the single source of truth for all session artifacts. For each phase, use the active harness's isolation path and read only the matching phase reference:
references/phases/research.mdreferences/phases/design.mdreferences/phases/plan.mdreferences/phases/red-green-refactor.md per plan step until the feature test is greenreferences/phases/cleanup.mdBefore running each phase, the coordinator checks before it proceeds and escalates to the human rather than silently working around a problem. Two checks share this discipline:
general/skills/dispatching-agents/model-selection.md for the selection principle, the complexity-dimension guidance, and the dated example table.developer/skills/ailly/references/checks/tool-failure.md: first check the initialize reference (references/abilities/initialize.md) for a local fix (e.g. mise trust, npm install), then escalate to the user with what failed, a suggested remediation, and why it is correct, and retry after the user remediates or grants permission.If the user's prompt doesn't make the topic slug obvious, ask for one before creating the session folder:
"What's a short slug for this session? (e.g.,
user-auth,csv-export)"
Use it to name the session folder: .ailly/developer/YYYY-MM-DD-<topic>/.
All artifacts for a session live under .ailly/developer/YYYY-MM-DD-A-<topic>/.
research.md is the gathered and refined context for a topic.design.md is the overall design doc for a topic, including the path of its one feature test.maps/<path>.md contains the maps found during any forward/backward planning.thinking/ is a scratch pad area for the thinking skill to share its findings with the calling agent.Generally, be persistent in enforcing the draft structure. However, when first starting an Ailly task, the user may ask for a "quick loop". The same five phases (Research, Design, Plan, Build, Cleanup) still run, compressed:
research.md, design.md, plan.md, maps/, and thinking/.references/abilities/intent-review.md before moving on. Auto-clearing the draft gate skips the human's read; it does not let Intent review clear a gate. Reserve general:review for a final artifact handoff.references/phases/<phase>.md.When it fits: a small, unambiguous task with a narrow surface, where the cost of a wrong turn is low.
What it trades away: the human review beats. Skipping the gates means no chance to catch a wrong assumption before the next phase builds on it. Do not use quick-loop for ambiguous, high-blast-radius, or security-sensitive work.
Review pause wording: after the feature test is green, unless the quick loop started with "no review", tell the user:
"Quick loop is green. Review the intermediate artifacts in
.ailly/developer/YYYY-MM-DD-A-<topic>/, especiallythinking/if it exists. Ask me to proceed when you're ready and I'll run cleanup."
Pi Workflow: under pi, run the whole quick loop with the ailly_quick_loop tool (.pi/extensions/ailly-quick-loop/) instead of assembling this sequence by hand each time. It dispatches every phase, runs continuous Intent review after every artifact transition — including the build diff — and halts with a diagnosable report at the first missing artifact or aborted build step rather than plowing through. C3 and specialists remain final-handoff-only. See developer/skills/ailly/references/agents/pi.md.
When first starting an Ailly task, the user may ask to "run a long loop", a "dynamic workflow", or to "run <project> to completion". The same five phases (Research, Design, Plan, Build, Cleanup) still run through the active harness's phase-isolation path, but at each draft gate the coordinator does not stop for the human. Instead it dispatches a research-and-decide reviewer through the harness isolation path. That reviewer reads the artifact cold, decides its open questions, records each decision with rationale in place, and clears the *Draft* marker, so the run proceeds without the human wait while the deliberation those gates exist for is kept.
For the reviewer contract, the recording format, the escalation rule, the project-cycle interaction, and the end-of-run report, consult developer/skills/ailly/references/shapes/long-loop.md.
When requested, or when the research refine pass reclassifies the task as a bug, consult developer/skills/ailly/references/shapes/bugfix.md. The same five phases run, but the design specification uses "observed", "expected", and "unchanged" language, and the feature test is a failing reproduction test that fills the same slot the design's feature test fills. Bugfixes can usually be done with a quick loop.
When the topic is too large for one feature, needing several features that only deliver value as a unified whole, consult developer/skills/ailly/references/shapes/project/project-cycle.md. The same five phases run at a larger scale. Each plan step has a dedicated development cycle. Sequential and parallel steps are marked explicitly. The exit criterion is a Closing Bell usability study rather than one executable feature test, and the documents are long-lived (replicated to the organization's document repository on acceptance, and marked completed: date rather than deleted at cleanup).
When the task is a small standalone script or automation rather than an application
feature, consult developer/skills/ailly/references/shapes/code-mode.md. Entered by
its own trigger phrase, like quick-loop and long-loop. It collapses research, design,
and plan into one combined planning doc with a single human-cleared draft gate, drops
the feature test in favor of writing the script and letting the user run it once to inspect the
output, and — unlike quick-loop — still permits genuine ambiguity by reusing
intent-review.md unchanged.
Read DEVELOPMENT.md for a ## Program Management section. Two coordinator references handle the tracker, split bootstrap-vs-per-use:
references/abilities/program-management/configuring.md. Run it once per project, never inside a development session.references/abilities/program-management/using.md. It runs every session against the contract the configuring reference recorded.When an active tracker is recorded in DEVELOPMENT.md, defer next-task selection and deferred-work writing to references/abilities/program-management/using.md; the tracker is the source of truth for the task tier. When no tracker is configured (the section is absent, or the active tracker is none), fall back to TASKS.md with today's behavior below unchanged. Session artifacts remain notes in .ailly/developer/<date>-<topic>/ either way.
When finishing a session, add the next step to .ailly/developer/TASKS.md. When calling run, read TASKS.md first, then compare the user's input to the list of next steps. If the next step is obvious from context, run that. If there is no next step, start from the top. If the next step is ambiguous, ask whether they want to pick from a list or start a new developer task. When you start a task, remove it from TASKS.md. Ignore tasks in comments, either # lines or HTML section comments. When substantial context is needed for a task, create a TASK-NOTES-<task>.md file with the details, and include just a short overview to that in the TASKS file. Review NOTES when the task is selected.
When a topic is finished, run the cleanup phase (references/phases/cleanup.md) to leave things tidy.
When creating git commit messages, attribute yourself. Include Co-Authored-By: "Ailly <[email protected]>".
references/abilities/forward-backward-algorithm.md (opens in a new tab)references/abilities/forward-backward.md (opens in a new tab)references/abilities/initialize.md (opens in a new tab)references/abilities/initialize/mise.md (opens in a new tab)references/abilities/initialize/python.md (opens in a new tab)references/abilities/initialize/rust.md (opens in a new tab)references/abilities/initialize/typescript.md (opens in a new tab)references/abilities/intent-review.md (opens in a new tab)references/abilities/program-management/configuring.md (opens in a new tab)references/abilities/program-management/using.md (opens in a new tab)references/abilities/refactor.md (opens in a new tab)references/abilities/thinking.md (opens in a new tab)references/agents/claude.md (opens in a new tab)references/agents/codex.md (opens in a new tab)references/agents/copilot.md (opens in a new tab)references/agents/gemini.md (opens in a new tab)references/agents/pi.md (opens in a new tab)references/checks/tool-failure.md (opens in a new tab)references/phases/cleanup.md (opens in a new tab)references/phases/design.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub davidsouther/domain-driven-design --plugin developer