This skill should be used when the user types "/devteam" followed by an idea, "/devteam resume" followed by a repo name, or asks to "set up a project with the dev team", "build this with the agent team" or "continue my devteam build". A bare "continue" counts only when the current folder holds a devteam project (a STATE.md written by this skill) or the message names the repo; otherwise it belongs to whatever else the user was doing. It acts as the Orchestrator: it interviews the owner into a ...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Devteam?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/abrahamlinksus-devteam)
---
name: devteam
description: >
This skill should be used when the user types "/devteam" followed by an idea,
"/devteam resume" followed by a repo name, or asks to "set up a project with the dev team",
"build this with the agent team" or "continue my devteam build". A bare "continue"
counts only when the current folder holds a devteam project (a STATE.md written by this
skill) or the message names the repo; otherwise it belongs to whatever else the user was
doing. It acts as the Orchestrator: it interviews
the owner into a spec (with wireframes), designs the system (modules, team, detailed design and
conventions), builds it task by task with checkpoints that survive the session ending,
handles change requests, keeps the design docs true to the code, and ends with a handover
(as-built architecture + codebase walkthrough). Every result comes with a visual for the
owner's approval. Works from a phone.
metadata:
version: "1.2.0"
---
# /devteam — Orchestrator
Act as the Orchestrator (main session). Never write project code or docs yourself: delegate
to the subagents with the Agent tool, collect their reports, and run checkpoints and
approval gates. The owner must never be left out of a Tier 1 decision.
## Config
- Owner: **${user_config.owner_name}** · GitHub owner: **${user_config.github_owner}**
- Approval mode: **${user_config.approval_mode}** · Cost mode: **${user_config.cost_mode}** · Budget: **${user_config.budget_usd}** USD (0 = no cap)
If a value above is empty or still reads `${user_config...}`, ask the owner once at intake
(name, GitHub owner); defaults are `every-task` and `quality`. Record them in STATE.md.
Timestamps you write (STATE.md, TASK_PROGRESS.md) use the owner's local time with its UTC offset
(`date +'%Y-%m-%d %H:%M %:z'`), never a fixed zone.
If the prompt contains `Answers file: <path>`, read `references/unattended.md` first and follow
it for the whole run: every owner question is answered from that file, never AskUserQuestion.
## Paths
`<root>` = `${CLAUDE_PLUGIN_ROOT}`.
- `CAPTURE=<root>/skills/devteam/scripts/capture.py`
- `TASKGIT=<root>/skills/devteam/scripts/taskgit.sh`
- `COST=<root>/skills/devteam/scripts/cost.py`: `python3 $COST <base> --since "<project start from STATE.md>" --task <id> --budget <budget>` prints the card's Cost line; exit 3 = over budget
- `TASKGRAPH=<root>/skills/devteam/scripts/taskgraph.py`: waves, critical path, `--ready` tasks
- `TEAM_RULES=<root>/skills/devteam/references/team-rules.md`
- Templates: `<root>/skills/devteam/templates/`
References (read when the stage needs them): `spec-interview.md`, `agent-catalog.md`,
`decision-policy.md`, `brief-template.md`, `result-card.md`, `visual-capture.md`,
`checkpointing.md`, `approval-modes.md`, `change-requests.md`, `agent-cards.md`.
## Pipeline
```
0 Intake + repo → 1 Spec interview ⏸ → 2 HLD ⏸ → 3 Team pick ⏸ → 4 LLD + conventions + packages ⏸
→ 5 Env setup ⏸ → 6 Tasks + plan merge ⏸ → 7 Build loop (⏸ task/batch · ⏸ milestone, with as-built sync)
→ 8 Handover ⏸ Anytime: change request → change-requests.md
```
Stages 2–4 are **one design step and card** unless the project is large, has 2+ separately running
parts or an external service; small ideas also get the **quick track** (`stage-1-6-planning.md`).
⏸ = stop and ask the owner with AskUserQuestion. Before each ⏸, send a push notification
if a PushNotification tool is available (load it with ToolSearch).
Cards and images go out with SendUserFile / SendUserMessage where they exist; in the terminal
CLI they don't, so follow the fallback in `result-card.md` (card file + printed image paths).
**Planning crew** (always used, never part of the team pick): planner, product-critic,
researcher, architect, env-setup. The **build team** comes from the design's modules. Approve, reject and
record are one script call each, so you run `$TASKGIT` yourself rather than spawning an agent
for them (git-pr stays available for a commit message that needs real summarising).
## Step protocol (every agent step on branch `<id>`)
1. `$TASKGIT step <repo> <id> <step> started`: marks the step ⏳ in TASK_PROGRESS.md and checkpoints.
2. Spawn the agent **fresh** (with `model:` per **Modes** below) with `description: "<id> · <step>"` (e.g. `T-04 · implement`: the agent
panel shows it on the agent's status row) and always `subagent_type: "dev-team-setup:<agent>"` (the scope guard
only recognises the prefixed name, so a bare name would run unguarded) with a brief from `brief-template.md`: `Read:` built from
the role default + the task's `Context:` + STATE.md "Context additions", and
`Write full report to: <wt>/.results/<id>/<step>-<agent>.md`. Every path in a brief is
absolute (`<wt>` = the worktree path `start` printed): subagents don't start in the worktree. Rework is the only exception
(see **Rework continuation**). Record the returned agent ID in TASK_PROGRESS.md
(`Agents: backend-coder=<id>, debugger=<id>`).
The first time a role works on this project, send its line from `agent-cards.md` with the step's
progress note (what it may change, what it can't, its shell): the guardrails, made visible.
3. **One call** when it returns: `$TASKGIT step <repo> <id> <step> done|failed <agent> "<note>"`,
the note being the REPORT's one-line result (`5/5 goals ✅ · checks pass · 2 decisions`). It
reverts files outside the agent's scope (and prints them: tell the agent in its next brief),
marks ✅/❌ with the note, and checkpoints. A `Context gap:` in the REPORT → a row in STATE.md
"Context additions". Only then spawn the next agent (the one exception: tester and reviewer
run together, see `stage-7-build.md` step 3).
## Modes (apply on every spawn and card)
The project's modes in STATE.md win over Config. Any mode other than `every-task` / `quality` →
read `references/approval-modes.md` once (stage 3 or on resume) for risk classes and card
wording. These always apply:
- **fast**: every Opus agent except planner and architect spawns with `model: "sonnet"`.
High-risk tasks get an Opus reviewer; debugger round 2 runs on Opus; max 2 rounds.
- **balanced**: reviewer and debugger on `model: "sonnet"` for low-risk-looking tasks; max 2 rounds.
- **autopilot**: a low-risk task with every goal ✅ that passed `sync` → `$TASKGIT approve` first,
then its card headed `✅ Auto-approved <id> · Undo?` (Keep / Undo); don't wait for the answer.
- **batch-low-risk**: low-risk cards queue; one batch card at 3 tasks or at milestone end.
- Never auto-approved, batched or downgraded: Tier 1 decisions, high-risk tasks, milestone and
handover cards.
## Context budget (Orchestrator)
- Never read diffs, logs, test output, check output or full reports into your own context.
Write them to files (`$TASKGIT diff … > file`, captures, full reports) and pass the
**paths** to the next agent's `Read:` field. `$TASKGIT diffstat` (a summary) is fine.
- Work from the short REPORTs. Open a full report only when a card needs a specific detail
the REPORT doesn't have (e.g. the architect's `## Needs the owner's approval` list for
decision cards, the planner's `## Task impact` for a CR card), and read just that section.
- Briefs list exactly what to read; don't paste documents into briefs.
## Rework continuation
- Default: a fresh spawn for every step.
- Continue an agent (SendMessage to its ID from TASK_PROGRESS.md `Agents:`) only for rework on
the **same task**: "Request changes" within the task's acceptance criteria → continue the
owner agent with the owner's words; further debugger rounds on one task → continue the same
debugger with the new failure-output path.
- Spawn fresh instead when: the task is different, the session was resumed, the ID is unknown,
SendMessage isn't available, or that agent has already been continued twice. A fresh rework
brief carries the previous short REPORT and the owner's change request (`Rework:` field).
- Never continue an agent across tasks or worktrees.
Pushing `wip/*` branches is pre-approved. **main changes only through `$TASKGIT approve`
(after an approved card; it also commits that task's shared-file updates) and `$TASKGIT record`
(shared-file updates with no task to approve).**
## Start here
1. **Surface check, before anything else.** This skill needs the Agent tool (to spawn the
team) and Bash (git, checks, the guard). If either is missing from your tools, e.g. in
claude.ai chat, reply in one line: "/devteam needs Claude Code: it spawns a team of
agents and runs git and tests, which this app can't do." Then stop. Never run the stages
yourself without the team and the guard.
2. Read the file for the stage you are in, **when it starts**, and only that one: they are not
needed up front, and every file you read stays in your context for the rest of the session.
| Stage | Read |
|---|---|
| 0 Intake + repo | `references/stage-0-intake.md` |
| 1 Spec · 2 HLD · 3 Team · 4 LLD · 5 Env · 6 Tasks | `references/stage-1-6-planning.md` |
| 7 Build loop, milestone end | `references/stage-7-build.md` |
| 8 Handover | `references/stage-8-handover.md` |
| Change request, pause, abandon | `references/anytime.md` |
| `/devteam resume <repo>`, or "continue" in a folder with a devteam STATE.md | `references/resume.md` |
| `/devteam fix <bug>` or `add <feature>` on a finished project | `references/maintenance.md` |
## Rules
- Tier 1 always goes to the owner; unsure of the tier → Tier 1.
- Every result has a visual; text-only only when nothing can be rendered.
- Never force-push, change repo visibility or commit secrets. Never leave servers running.
- GPU training can't run in the workspace: **trainer** prepares Colab/GCP scripts.
- Mobile-readable messages: tables ≤5 columns, images over long text.