conveyor
Milestone execution loop with subagents — essentials:implementer commits each slice through the pre-commit hook, senior-engineer-reviewer + test-reviewer gate…
by dhruvbaldawa★ 31 GitHub stars
Install conveyor in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Conveyor
Execute milestone $ARGUMENTS of the plan (PLAN.md, from technical-planning) slice by slice. You seed, launch, watch, record and intervene on exceptions; subagents implement, review and fix. The pre-commit hook is the only check gate: no agent judges whether red is green, and the implementer and fixer commit their own work. Your context is for judgment: never edit code under review, rerun checks, or re-verify approved work. This skill explicitly authorizes the Workflow tool.
Names: plan → milestone (one /conveyor run, one .conveyor/<milestone>/ folder) → slice (one review unit, 1–3 commits) → commit.
Seed
- Slice: read the milestone from PLAN.md and cut it into slices of 1–3 commits, each commit naming its files and a message that describes the change only (no slice ids or other process markers).
- Ask the seed questions in two AskUserQuestion calls:
- Call 1: Execution (/conveyor · manual) · Reviewers, multi-select (senior-engineer-reviewer · test-reviewer) · When reviewers run (each slice · each slice + milestone end · milestone end only) · Rounds cap (1 · 2 · 3 · until approved).
- Call 2: Extra skills, multi-select (simplify · security-audit) · When the selected skills run (each slice · milestone end · both) · Push (after each slice · at milestone end).
- Rounds cap "until approved" →
roundsCap: 'until-approved': no cap on review rounds, but no-progress and aging still end a loop, and the run check stops after 3 rounds. - Refuse, because a commit would go unreviewed or a choice would be silently skipped:
- no reviewers selected;
- simplify at milestone end without reviewers at milestone end;
- security-audit per slice with milestone-only review;
- push after each slice with milestone-only review.
- Manual: stop here and execute in this session with the same gate.
- Check tiers, from the repo CLAUDE.md:
Check: <command>, the commit tier, run by the pre-commit hook on every commit.Run check: <command>, optional, the run tier, run once at milestone end.- CI runs after push.
Check:missing → ask Dhruv for the command and offer to add the line.
- Pre-flight:
- The commit tier passes on the base SHA.
- A pre-commit hook runs the
Check:command:test -x "$(git rev-parse --git-path hooks/pre-commit)"and read it. If not, stop and offer to install one. - Every command the slices need is allowed in
.claude/settings.json. Otherwise list the missing ones and ask Dhruv once. A permission prompt nobody sees stalls the run for hours. - The selected extra skills (simplify, security-audit) are installed, since default subagents invoke them by name.
- Push access works:
git push --dry-runto the integration target. - Record the integration target: branch, push destination, PR or direct.
- Workspace:
.conveyor/<milestone>/, with.conveyor/in.git/info/exclude.- Copy
workflow.jsfrom this skill's base directory there. - Write
args.jsonbeside it;reference/workflow-skeleton.mddefines every field. - Write
context.md(sections below) and createlog.md. Its Code standards section copies the code rules from~/.claude/rules/(e.g.code.md) and the repo CLAUDE.md (headers such as ABOUTME, comments, naming, tests): the implementer and fixer run with omitClaudeMd, and the reviewers judge against these rules.
- Copy
- Go: show the slice list and wait for Dhruv's go. Nothing launches while Open questions holds an item that blocks a slice.
Launch
Workflow({scriptPath: '.conveyor/<milestone>/workflow.js', args}).
- Never pass the script inline.
- Never edit the copy after launch.
- Re-plan by changing
args, then resume withscriptPath+resumeFromRunId. Resume replays the longest unchanged prefix of agent calls from cache; the first changed call and everything after it run live. So:- Answer a question in
args.answers[<answerKey>]. The key is the asking call's label, e.g.fix:slice s1:r2, and the exception names it. The answer rides at the very end of that one prompt, so only the asking call onward re-runs. - Never put an answer in
standards: it opens every prompt, so changing it re-runs the whole milestone, committed slices included.
- Answer a question in
- One workflow call runs the whole milestone; needing a new script mid-run is itself an exception, recorded in context.md.
Watch
Arm a Monitor on the run's transcript dir (from the Workflow result):
bun <skill-dir>/scripts/watch-run.ts <transcriptDir>, with timeout_ms: 1800000.
- When it expires, re-arm it. Each wake also refreshes your 1h prompt cache, so the expiry doubles as the heartbeat.
- The watcher keeps its state in the transcript dir, so a re-armed watcher never repeats an event.
| Event | You do |
|---|---|
started <label> |
Nothing. The wake refreshes the cache. |
finished <label> |
Read that agent's result in journal.jsonl. Write new facts and decisions to conte |
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- reference/workflow-skeleton.md
- scripts/watch-run.test.ts
- scripts/watch-run.ts
- workflow.js
- workflow.test.ts
FAQ
What does the conveyor skill do?
Milestone execution loop with subagents — essentials:implementer commits each slice through the pre-commit hook, senior-engineer-reviewer + test-reviewer gate it, essentials:fixer answers findings, the orchestrator watches and records. Use when the user says "conveyor" or hands over a plan milestone for autonomous execution.
How do I install the conveyor skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the conveyor skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…