/developer:aillyfrom developer
Bootstraps and coordinates the developer skill package's five-phase development loop (research, design, plan, build, cleanup) and routes to progressive abilities like thinking, refactor, initialize, and program-management.
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.
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 Phases and Resuming). 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 standalone developer review specialists are developer:clean-comments-review and developer:small-prs-review, both consumed by general:review when their artifact matches. developer:code-review is a human diff review that Ailly recommends at the Build handoff and runs when the user accepts.
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 |
| 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: tidy the change, extract deferred tasks, prepare the squash-merge | /ailly cleanup → references/phases/cleanup.md |
| Shepherding an open PR stack to landing, with cleanup | references/shapes/babysit.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.The phase is an argument to the coordinator. Each phase should run in order, with iteration within the phase until the artifacts created in that phase are accepted.
| Phase argument | Phase reference | Artifacts |
|---|---|---|
research | references/phases/research.md | Research with background details and task intent. |
design | references/phases/design.md | Design document with alternatives considered, and executable feature test. |
plan | references/phases/plan.md | Detailed implementation plan, with verifiable steps and API contracts. |
red-green-refactor (Build) | references/phases/red-green-refactor.md | Implementation with unit and integration tests. |
cleanup | references/phases/cleanup.md | Closeout changes, report, and deferred-task record. |
When invoked as /ailly <phase> ..., run that phase after its existing draft gates are cleared. When invoked with no phase argument, determine the resume point from the session folder. In either case, load the reference for the selected phase.
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.
Track Ailly project work in a folder .ailly/developer/YYYY-MM-DD-A-<topic> where A is A, B, C, etc to manage multiple features started in the same day. Create it if it does not already exist. Follow the project's Git and worktree conventions. When creating a worktree, place the checkout outside the session folder so removing session notes leaves the checkout intact. If no location is specified, use the repository's .worktrees/ directory. 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 for the user to clear the draft |
research.md | Yes | Design phase (references/phases/design.md) |
design.md | No | Wait for the user to clear the draft |
design.md | Yes | Plan phase (references/phases/plan.md) |
plan.md | No | Wait for the user to clear the draft |
plan.md | Yes | Build (references/phases/red-green-refactor.md) |
plan.md cleared, all steps done, feature test green | — | Build Handoff, then Cleanup (references/phases/cleanup.md) |
A file has its draft cleared when it no longer contains the *Draft marker.
Cleanup prepares the topic for closeout. After its phase review, the coordinator handles finalization and the human approval gate before a squash-merge or PR.
The coordinator runs quick general:review after every completed phase, before passing its output to the next phase, clearing a draft gate, or handing work back. Compose C3, Intent review (references/abilities/intent-review.md), and applicable specialists. Supply the original request and current phase artifacts, and record findings in the session's reviews/ folder. Keep any Intent checks needed within a phase when an intermediate artifact feeds another decision. Automated reviews leave human gates to their designated owners. If a gate decision materially revises a phase artifact, review the revision before using it.
| Phase | Review after completion |
|---|---|
| Research | Quick review of the research and supporting findings before the draft gate. |
| Design | Quick review of the design and its feature test before the draft gate. |
| Plan | Quick review of the plan before the draft gate. |
| Build | Quick review when all steps and the feature test are green, then full general:review of the complete current change, including committed, staged, unstaged, and new files belonging to the task. Finish the full review before Cleanup, Babysit, or any green handoff. For a change headed to a PR, include developer:small-prs-review. |
| Cleanup | Quick review of the Cleanup report and changes since full Build review, with the reviewed deliverable as context. Refresh the full review and checks before handoff if Cleanup materially changes the reviewed deliverable. |
Apply this schedule when running a phase by name, on resume, and in both loop modes. Capture the reviewed Build state before Cleanup so the quick review can identify the closeout changes. Record incomplete or blocked reviews and stop the transition until resolved. Build is ready for handoff when full review is complete, the feature test and required checks pass on the final reviewed change, and no blockers remain.
After full Build review, recommend developer:code-review on the reviewed change before dispatching Cleanup or entering Babysit. Run it when the user accepts, and follow its feedback loop until the user is finished. When the user declines, proceed to Cleanup. Keep the session artifacts available until the user answers. An explicit quick-loop "no review" request skips the recommendation.
In the standard loop, stop after the phase review of each Research, Design, or Plan draft. In the Design handoff, include the feature test path and point out any open artifact decisions. 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. Review findings are in<reviews-path>. Start a new session and rundeveloper:aillyto continue."
The human clears the standard draft gate. Offer to walk through the review findings with them when helpful. Resume the next phase only in a new session after the marker is cleared. Quick-loop and long-loop modes use the gate rules below.
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, reviews/, maps/, and thinking/.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.
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.
When the developer asks for babysiting, consult developer/skills/ailly/references/shapes/babysit.md in place of Cleanup. It watches an open GitHub PR stack, fixing CI failures and self-contained feedback through references/shapes/babysit-fix.md until landing the stack in its current shape and form. It escalates anything that would change that shape or design. Babysit is complete only when every change in the baseline stack is merged; any other end state is reported as incomplete: <reason>.
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 closing a topic, follow Build Handoff, run Cleanup and its phase review, then follow the finalization steps in references/phases/cleanup.md.
When creating git commit messages, attribute yourself. Include Co-Authored-By: "Ailly <[email protected]>".
assets/phases.svg (opens in a new tab)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)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub davidsouther/ailly --plugin developer4 skills in this plugin
/clean-comments-reviewUse when reviewing comments in code artifacts — public DocBlocks, inline maintainer notes, history breadcrumbs, TODO prose. Produces a critique document, not code edits./code-reviewUse when a change has finished `general:review` and is about to become public (push, pull request, squash-merge), and the user wants to review the diff themselves./small-prs-reviewUse when reviewing any complete diff immediately before opening a pull request.Other plugins' skills for the same job