/solo:solo-build [track-id] [--task X.Y] [--phase N]from solo
Executes tasks from an implementation plan by finding plan.md, implementing the next unchecked task with tests, committing, and updating progress. Use after /plan.
Ships in solo. 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.
This skill is self-contained — follow the task loop, test rules, and completion flow below instead of delegating to external build/execution skills (superpowers, etc.).
Execute tasks from an implementation plan. Finds plan.md (in docs/plan/), picks the next unchecked task, implements it with tests at agreed seams, commits, and updates progress.
git branch --show-current 2>/dev/nullgit status --short 2>/dev/null | head -10git log --oneline -3 2>/dev/nullAfter /plan has created a track with spec.md + plan.md. This is the execution engine.
Pipeline: /plan → /build → /deploy → /review
session_search(query) — find how similar problems were solved beforesymbol_search("<words>") — find reusable code across projects (symbol names, every project; Grep inside one)If MCP tools are not available, fall back to Glob + Grep + Read.
Detect context — find where plan files live:
docs/plan/*/plan.md — standard locationconductor/ or any other directory — only docs/plan/.Load workflow config from docs/workflow.md (if exists):
docs/workflow.md missing: use defaults (moderate TDD, conventional commits).Verify git hooks are installed:
Read the stack YAML (templates/stacks/{stack}.yaml) — the pre_commit field tells you which system and what it runs:
husky + lint-staged → JS/TS stacks (eslint + prettier + tsc)pre-commit → Python stacks (ruff + ruff-format + ty)lefthook → mobile stacks (swiftlint/detekt + formatter)Then verify the hook system is active:
# husky
[ -f .husky/pre-commit ] && git config core.hooksPath | grep -q husky && echo "OK" || echo "NOT ACTIVE"
# pre-commit (Python)
[ -f .pre-commit-config.yaml ] && [ -f .git/hooks/pre-commit ] && echo "OK" || echo "NOT ACTIVE"
# lefthook
[ -f lefthook.yml ] && lefthook version >/dev/null 2>&1 && echo "OK" || echo "NOT ACTIVE"
If not active — install before first commit:
pnpm prepare (or npm run prepare)uv run pre-commit installlefthook installDon't use --no-verify on commits — if hooks fail, fix the issue and commit again.
$ARGUMENTS contains a track ID:{plan_root}/{argument}/plan.md exists (check docs/plan/).docs/plan/*/plan.md for partial matches, suggest corrections.$ARGUMENTS contains --task X.Y:plan.md files in docs/plan/.plan.md, find tracks with uncompleted tasks./plan first."project_info(name="{project name}")
Returns: stack, languages, directory layers, key patterns, top dependencies, files with the most definitions.
docs/plan/{trackId}/plan.md — task list (REQUIRED). Read the ## Context Handoff section first — it has a compact summary of intent, key files, decisions, and risks. This is your primary orientation.docs/plan/{trackId}/spec.md — acceptance criteria (REQUIRED)docs/workflow.md — TDD policy, commit strategy (if exists)CLAUDE.md — architecture, Do/Don't.solo/pipelines/progress.md — running docs from previous iterations (if exists, pipeline-specific). Contains what was done in prior pipeline sessions: stages completed, commit SHAs, last output lines. Use this to avoid repeating completed work.Do NOT read source code files at this stage. Only docs. Source files are loaded per-task in the execution loop (step 3 below).
If a task is marked [~] in plan.md:
Resuming: {track title}
Last task: Task {X.Y}: {description} [in progress]
1. Continue from where we left off
2. Restart current task
3. Show progress summary first
Ask via AskUserQuestion, then proceed.
Read references/context-engineering.md for full rules on observation masking, attention positioning, and plan recitation. Key points:
scratch/, keep 5-10 line summaryMakefile convention: If Makefile exists in project root, always prefer make targets over raw commands. Use make test instead of pnpm test, make lint instead of pnpm lint, make build instead of pnpm build, etc. Run make help (or read Makefile) to discover available targets. If a make integration or similar target exists, use it for integration testing after pipeline-related tasks.
IMPORTANT — All-done check: Before entering the loop, scan plan.md for ANY - [ ] or - [~] tasks. If ALL tasks are [x] — skip the loop entirely and jump to Completion section below to run final verification and output <solo:done/>.
For each incomplete task in plan.md (marked [ ]), in order:
Parse plan.md for first line matching - [ ] Task X.Y: (or - [~] Task X.Y: if resuming).
[ ] → [~] for current task.Do NOT grep the entire project or read all source files. Load only what this specific task needs.
If MCP available (preferred):
symbol_search("<words>", project="{name}"). Read only the top 2-3 files.session_search("{task keywords}") — check if you solved this before.If MCP unavailable (fallback):
src/auth/**/*.ts), not the entire project.src/ or app/ — never **/*.Never do: Grep "keyword" . across the whole project. This dumps hundreds of lines into context for no reason. Be surgical.
Read references/quality-tools.md for full commands per stack. Quick reference:
| Stack | Lint | Format | Type-check | Pre-commit |
|---|---|---|---|---|
| Python | uv run ruff check --fix . | uv run ruff format . | uv run ty check . | uv run pre-commit run --all-files |
| JS/TS | pnpm lint --fix | pnpm format | pnpm tsc --noEmit | husky + lint-staged |
| iOS | swiftlint lint --strict | swift-format | — | lefthook |
| Android | ./gradlew detekt | ./gradlew ktlintCheck | — | lefthook |
Run after each task implementation, before git commit. If any fail, fix before proceeding.
Who owns the expectation decides the workflow. A red test proves something only when someone checked why it went red; when you write the test, run it and watch it fail, all it proves is that you ran it.
Agree the seam first: name the public interface this task's tests will observe, and confirm it with the user before writing a test. No test at an unconfirmed seam.
Design before code. Write down the data model, edge cases and contracts for the task before any code or test. In Böckeler's eval (TDD inside the agent loop, martinfowler.com, Aug 2026) this up-front design is what moved quality; a test-by-test loop let the first test fix the shape, and behaviour nobody wrote a test for was never built.
Strict — the user owns the test. Write the failing test at the agreed seam, show it to the user, and implement only after they confirm it tests the wanted behaviour. Then green, then refactor while tests stay green. Use this when the user asked for it in docs/workflow.md, or when the expectation comes from acceptance examples or a contract written before the code.
Moderate (default) — you own the test. No red-green ritual: implement and test together at the agreed seams, one behaviour at a time. The same eval found agent-run TDD cost 2.96x to 8.5x the tokens with no better mutation scores or design, and agents skipped or faked the red step. Test business logic and API routes; skip UI layout and config. Check the suite instead of the ritual: at the end of a phase, run the stack's mutation tool on the changed business logic if it is installed (mutmut, Stryker, cargo-mutants) and kill the surviving mutants that matter. With no mutation tool, break one line of the new logic by hand and confirm a test goes red, then restore it.
One behaviour → code + test → next (vertical slices). Writing all tests first then all implementation verifies imagined behaviour, not real.
Read references/tdd-seams.md before the first test of a feature — it covers where seams go, vertical vs horizontal slicing, and the four ways a test lies (implementation-coupled, side-channel, tautological, insensitive).
If the task touches core business logic (pipeline, algorithms, agent tools), run make integration (or the integration command from docs/workflow.md). The CLI exercises the same code paths as the UI without requiring a browser. If make integration fails, fix before committing.
After implementation, run a quick visual smoke test if tools are available:
Web projects (Playwright MCP or browser tools): If you have Playwright MCP tools or browser tools available:
dev_server.command)iOS projects (simulator): If instructed to use iOS Simulator in the pipeline prompt:
xcodebuild -scheme {Name} -sdk iphonesimulator buildxcrun simctl install booted {app-path}xcrun simctl io booted screenshot /tmp/sim-screenshot.pngxcrun simctl spawn booted log stream --style compact --timeout 10Android projects (emulator): If instructed to use Android Emulator in the pipeline prompt:
./gradlew assembleDebugadb install -r app/build/outputs/apk/debug/app-debug.apkadb exec-out screencap -p > /tmp/emu-screenshot.pngadb logcat '*:E' --format=time -d 2>&1 | tail -20Graceful degradation: If browser/simulator/emulator tools are not available or fail — skip visual checks entirely. Visual testing is a bonus, never a blocker. Log that it was skipped and continue with the task.
Commit (following commit strategy):
git add {specific files changed}
git commit -m "<type>(<scope>): <description>"
Types: feat, fix, refactor, test, docs, chore, perf, style
Capture SHA after commit:
git rev-parse --short HEAD
SHA annotation in plan.md. After every task commit:
[~] → [x]- [x] Task X.Y: description <!-- sha:abc1234 -->Without a SHA, there's no traceability and no revert capability. If a task required multiple commits, record the last one.
After each task, check if all tasks in current phase are [x].
If phase complete:
[x] tasks in this phase. If any are missing <!-- sha:... -->, capture their SHA now from git log and add it. Every [x] task MUST have a SHA.### Verification for the phase.- [ ] → - [x].git commit -m "chore(plan): complete phase {N}".## Phase N: Title <!-- checkpoint:abc1234 -->.Phase {N} complete! <!-- checkpoint:abc1234 -->
Tasks: {M}/{M}
Tests: {pass/fail}
Linter: {pass/fail}
Verification:
- [x] {check 1}
- [x] {check 2}
Revert this phase: git revert abc1234..HEAD
Proceed to the next phase automatically. No approval needed.
Tests failing after Task X.Y:
{failure details}
1. Attempt to fix
2. Rollback task changes (git checkout)
3. Pause for manual intervention
Ask via AskUserQuestion. Do NOT automatically continue past failures.
When all phases and tasks are [x]:
pnpm builduv build or uv run python -m py_compile src/**/*.pypnpm buildpnpm buildxcodebuild -scheme {Name} -sdk iphonesimulator build./gradlew assembleDebug- [ ] criterion: verify it's met (search code, run command if specified).make task, cargo test, benchmark, passes N/N) → RUN IT. Do NOT skip as "unverifiable".- [ ] → - [x] for verified criteria.git add docs/plan/*/spec.md && git commit -m "docs: update spec checkboxes (verified by build)"criterion → test (file::name) → last result. A criterion with no test is a red
check, listed by name under UNPROVEN, even if the code looks right; a test that
never ran in this session counts as no test. Criteria a test cannot reach (a store
listing, a human sign-off) are listed as manual: <who checks it>, never silently
ticked. Why: a checkbox ticked by reading code is the agent grading its own claim.If the same build/test error occurs 3+ times in a row, STOP retrying. Instead:
cargo clean, rm -rf node_modules, disk space check).<solo:redo/> to let review handle it.
Do NOT burn iterations on identical failures.Change **Status:** [ ] Not Started → **Status:** [x] Complete at the top of plan.md.
Output pipeline signal ONLY if pipeline state directory (.solo/states/) exists:
<solo:done/>
Do NOT repeat the signal tag elsewhere in the response. One occurrence only.
Track complete: {title} ({trackId})
Phases: {N}/{N}
Tasks: {M}/{M}
Tests: All passing
Phase checkpoints:
Phase 1: abc1234
Phase 2: def5678
Phase 3: ghi9012
Revert entire track: git revert abc1234..HEAD
Next:
/build {next-track-id} — continue with next track
/plan "next feature" — plan something new
SHA comments in plan.md enable surgical reverts:
Revert a single task:
# Find SHA from plan.md: - [x] Task 2.3: ... <!-- sha:abc1234 -->
git revert abc1234
Then update plan.md: [x] → [ ] for that task.
Revert an entire phase:
# Find checkpoint from phase heading: ## Phase 2: ... <!-- checkpoint:def5678 -->
# Find previous checkpoint: ## Phase 1: ... <!-- checkpoint:abc1234 -->
git revert abc1234..def5678
Then update plan.md: all tasks in that phase [x] → [ ].
Never use git reset --hard — always git revert to preserve history.
At the start of a build session, create a task list from plan.md so progress is visible:
[ ] and [~]).in_progress when starting a task, completed when done.These thoughts mean STOP — you're about to cut corners:
| Thought | Reality |
|---|---|
| "This is too simple to test" | Simple code breaks too. Write the test. |
| "I'll add tests later" | Tests written after pass immediately — they prove nothing. |
| "I already tested it manually" | Manual tests don't persist. Automated tests do. |
| "The test framework isn't set up" | Set it up. That's part of the task. |
| "This is just a config change" | Config changes break builds. Verify. |
| "I'm confident this works" | Confidence without evidence is guessing. Run the command. |
| "Let me just try changing X" | Stop. Investigate root cause first. |
| "Tests are passing, ship it" | Tests passing ≠ acceptance criteria met. Check spec.md. |
| "I'll fix the lint later" | Fix it now. Tech debt compounds. |
| "It works on my machine" | Run the build. Verify in the actual environment. |
Foundational principle: If you wouldn't mass-delete production data without checking, don't skip a test without evidence it's unnecessary.
head -50 or use --reporter=dot / -q flag. Thousands of test lines pollute context. Only show failures in detail. If output is large, use observation masking (write to scratch/, keep summary)./review, /code-review) and the author keep answering the same finding, stop after the third round on it: write the finding, both positions and what would settle it, and hand the decision to the human. A fourth round costs a context and decides nothing.Cause: No plan.md exists in docs/plan/.
Fix: Run /plan "your feature" first to create a track.
Cause: Implementation broke existing functionality. Fix: Use the error handling flow — attempt fix, rollback if needed, pause for user input. Never skip failing tests.
Cause: Tests or linter failed at phase boundary. Fix: Fix failures before proceeding. Re-run verification for that phase.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
71 skills in this plugin
/solo-android-releaseShip an Android app to testers or to Google Play, or push an update to an app already listed there. Use when the user says "make the Android app available to testers", "internal/open testing link", "publish to Play", "release the APK/AAB", "Play Console", "upload a new version", wants install attribution set up (Play referrer UTMs, Install Referrer API, an in-app counter and the matching Data safety form), or hits a Play policy deadline ("app doesn't meet target API level requirements"). Leads with the MINIMAL tester-link workflow (fastest), then the FULL production listing, then UPDATE for an existing app. Carries the exact Play Console browser steps, signing/keystore setup, the testing-track comparison, required assets, and the gotchas (lintVitalRelease crash, 16 KB alignment, target API deadline) so you don't re-learn them./solo-apple-app-iconBuild an iOS 26+ layered app icon (.icon / Icon Composer) from a designer's SVG, generated by script rather than drawn by hand, and check every appearance without launching the app. Use when the user says "иконка приложения", "сделай иконку", "app icon", "Icon Composer", "layered icon", "иконка не как в фигме", "тёмная иконка выглядит плохо", or when an app still ships a folder of flattened PNGs. Do NOT use for in-app icons and SF Symbols (that is symbol work), or for the App Store screenshot set.npx claudepluginhub fortunto2/solo-factory --plugin soloOther plugins' skills for the same job