@rallycry/conveyor-skills 0.1.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,18 @@
1
1
  ---
2
2
  name: conveyor-plan
3
- description: Turn a raw feature or bug idea into a research-backed, immediately-buildable Conveyor card for a claudespace agent to execute later. Use when the user says "/conveyor-plan <idea>", "plan this as a conveyor card", "write this up for a claudespace agent", or wants deep planning that ends in a handoff card rather than local implementation. Runs plan-mode-quality research (codebase + prior Conveyor cards + prod logs), asks clarifying questions only when scope is genuinely ambiguous, then creates the card and moves it to Open so identification auto-fills story points, tags, icon, and agent.
3
+ description: Produce the plan for a Conveyor card — research-backed and immediately buildable by someone with zero session context. Use when the user says "/conveyor-plan <idea>", "plan this as a conveyor card", "write this up for a claudespace agent", or when a session is asked to plan the card it is on. Runs plan-mode-quality research (codebase + prior Conveyor cards + prod logs), asks clarifying questions only when scope is genuinely ambiguous, then writes the plan onto the card. Works in a cloud pod and a local checkout alike; to execute a plan that already exists use conveyor-build.
4
4
  ---
5
5
 
6
- # Conveyor Plan → Handoff Card
6
+ # Conveyor Plan
7
7
 
8
- Produce ONE artifact: a Conveyor card whose plan a fresh claudespace agent can
9
- execute with zero session context. Everything the executor needs must be ON the
10
- card — it never sees this conversation.
8
+ Produce ONE artifact: a Conveyor card whose plan an executor with zero session
9
+ context can follow. Everything they need must be ON the card — they never see
10
+ this conversation, and that executor may be a cloud pod, a local session, or
11
+ you tomorrow.
12
+
13
+ The research and drafting below are identical everywhere. Only the two ends
14
+ differ — resolving which project you are in, and where the finished plan lands
15
+ — and both carry an **Environment** note.
11
16
 
12
17
  The division of labor is fixed: **you research and recommend; Conveyor's
13
18
  identification decides.** Moving the card to Open fires identification
@@ -17,12 +22,38 @@ icon or story points yourself, and never `start_task` unless the user asks.
17
22
  ## Phase 0 — Resolve context
18
23
 
19
24
  1. `mcp__conveyor__get_connection_context` (all Conveyor tools fully-qualified;
20
- bare names fail). No default project? `mcp__conveyor__list_projects` and
21
- match `githubRepoOwner/Name` to the cwd's `git remote`. Ambiguous → ask.
25
+ bare names fail). It also tells you which environment you are in: a pod
26
+ session reports a task binding and no user account.
27
+
28
+ > **Environment.** In a **pod** you are already bound to one project and one
29
+ > card — there is nothing to resolve, and `mcp__conveyor__list_projects`
30
+ > does not exist there. **Locally**, if the connection reports no default
31
+ > project, use `mcp__conveyor__list_projects` and match
32
+ > `githubRepoOwner/Name` to the cwd's `git remote`. Ambiguous → ask.
33
+
22
34
  2. Copy project IDs exactly — a mistyped `projectId` surfaces as
23
35
  "Insufficient permissions", not "not found". Verify the ID before
24
36
  concluding you lack access.
25
37
 
38
+ ## Phase 0.5 — What KIND of card is this?
39
+
40
+ The research below is the same for all three, but what counts as a finished
41
+ plan is not:
42
+
43
+ - **Task** — the default. Someone has decided the work should happen; your job
44
+ is to make it executable. Proceed as written below.
45
+ - **Suggestion** — someone thinks this *should* happen. Establish that the ask
46
+ is real and unmet **before** planning it: does the feature already exist in
47
+ some form, was it tried and cancelled before (and why), and is the underlying
48
+ need better served another way? A plan for something already shipped is worse
49
+ than no plan, because it will be built twice.
50
+ - **Incident, or any unverified report** — do **NOT** plan a fix from the
51
+ description. A report names a symptom, and the symptom is often not the bug;
52
+ machine-filed reports carry whatever the throwing code said. If the root
53
+ cause has not been established with telemetry or a reproduction, this card
54
+ needs **`/conveyor-triage`** first. Plan the fix only once triage has named
55
+ the cause.
56
+
26
57
  ## Phase 1 — Research (parallelize)
27
58
 
28
59
  Scale to the idea's size; a one-file tweak needs minutes, not a survey.
@@ -35,7 +66,12 @@ Scale to the idea's size; a one-file tweak needs minutes, not a survey.
35
66
  inventory with hierarchy).
36
67
  - **Codebase**: use a code-graph or architecture skill if the repo provides
37
68
  one for architecture/flow questions; `rg` for exact strings. Fan out
38
- Explore subagents for broad sweeps.
69
+ Explore subagents for broad sweeps. Investigate deliberately rather than
70
+ reading around: search first and read second, start from 3-5 critical files,
71
+ form a hypothesis, then validate it with targeted reads. Never re-read a file
72
+ already in your context. **Stop when you can cite a specific `file.ts:line`
73
+ and a symbol name for every step your plan will contain** — that is the
74
+ threshold, and more reading past it buys nothing.
39
75
  - **Prior art**: `mcp__conveyor__search_tasks` on 2-3 keyword variants
40
76
  (`typeFilters` to include incidents/suggestions when relevant), then
41
77
  `mcp__conveyor__get_task` on the closest hits. You're looking for duplicates
@@ -43,7 +79,9 @@ Scale to the idea's size; a one-file tweak needs minutes, not a survey.
43
79
  cancelled attempts (learn why before re-proposing).
44
80
  - **Prod signals** (only when the feature touches live behavior):
45
81
  `mcp__conveyor__query_gcp_logs` / `mcp__conveyor__query_grafana_logs` for
46
- error rates, actual usage, current behavior.
82
+ error rates, actual usage, current behavior. **Environment:** these are
83
+ local/MCP only — a pod has no log tools, so state the question the logs would
84
+ answer in the plan's Notes instead of guessing at the answer.
47
85
  - **Blast radius**: enumerate callers/consumers of every surface the plan
48
86
  touches (shared packages, DB schema, published packages, webhooks, other
49
87
  cards in flight on the same files). Unintended impact goes in the plan's
@@ -58,7 +96,7 @@ the repo can answer are yours to find, not theirs.
58
96
  ## Phase 3 — Draft the plan
59
97
 
60
98
  Use the plan format in [references/plan-format.md](references/plan-format.md):
61
- Objective / Approach / Implementation Steps / Testing / Notes.
99
+ Objective / Approach / Implementation Steps / Testing / Notes / Builder briefing.
62
100
 
63
101
  Actionability bar — every step must survive a context-free reader:
64
102
 
@@ -70,15 +108,50 @@ Actionability bar — every step must survive a context-free reader:
70
108
  - No "as discussed", no links to this chat, no TODOs the executor must
71
109
  research from scratch.
72
110
 
111
+ **Close with the Builder briefing, and write it for the NEXT session.** Every
112
+ other section addresses a reader; this one addresses the agent that will inherit
113
+ this card having read the card and nothing else — no research, no dead ends, no
114
+ memory of this conversation. Four lines, ~10 max: where to start, what is already
115
+ decided (and why, so it is not reopened), which traps look correct and are not,
116
+ and the order to verify in. Write it last, when you know which parts were hard.
117
+
118
+ It is not optional and it is not a summary. It is the only channel your context
119
+ has across the handoff, because handoffs carry the card and never the session.
120
+
73
121
  Size it: 1 SP default, 2 multi-file, 3 complex patterns/design, 5 hard. Larger
74
- → propose a pack (parent + `mcp__conveyor__create_subtask` children with
75
- `mcp__conveyor__add_dependency` edges) instead of one mega-card.
122
+ → propose a pack (parent + `mcp__conveyor__create_subtask` children) instead of
123
+ one mega-card. **Child→child ordering rides `create_subtask`/`update_subtask`'s
124
+ own `dependsOn` field, NOT `mcp__conveyor__add_dependency`** — on the pod surface
125
+ that tool is scoped to the session's own task and cannot draw an edge between two
126
+ children.
76
127
 
77
128
  Show the user title + description + plan + SP/tag recommendation before
78
129
  touching Conveyor, unless they asked you to just ship it.
79
130
 
80
131
  ## Phase 4 — Create and hand off (order matters)
81
132
 
133
+ > **Environment — a pod plans the card it is already on.** The steps below
134
+ > create a NEW card, which is the local/MCP shape; `mcp__conveyor__create_task`
135
+ > does not exist in a pod. In a pod, the card exists and you are on it: save
136
+ > the plan with `mcp__conveyor__update_task` (`plan`, and `description` if it
137
+ > needs sharpening), post the same recommendation message to chat, and stop —
138
+ > a pod does not promote its own card to Open. If the pod also has to leave
139
+ > plan mode, note that `update_task` carries no story points or risk; those go
140
+ > through `mcp__conveyor__update_task_properties`. Everything in Phases 1-3 is
141
+ > identical in both environments. To break a large pod card into a pack, use
142
+ > `mcp__conveyor__create_subtask` rather than `create_task`, and set child→child
143
+ > ordering through its `dependsOn` field — `mcp__conveyor__add_dependency` is
144
+ > scoped to the session's OWN task in a pod and cannot draw an edge between two
145
+ > children.
146
+ >
147
+ > **In a pod, create every child BEFORE you save the parent plan.** The parent
148
+ > plan save is what triggers the handoff, and the handoff reads the card's child
149
+ > count at that instant to decide what to spawn: children present → a pack
150
+ > coordinator that works them serially; none → a single leaf builder. Save the
151
+ > parent plan first and you hand a whole pack to a leaf builder. Order is
152
+ > therefore: children (with their plans and `dependsOn` edges) → parent plan
153
+ > LAST.
154
+
82
155
  Identification fires the moment the card lands beyond Planning and reads task
83
156
  chat for your recommendation — so chat BEFORE the status flip:
84
157
 
@@ -19,8 +19,72 @@ High-level strategy with relevant files/patterns/APIs.
19
19
 
20
20
  ## Notes
21
21
  - Dependencies, risks, blockers, or files likely touched.
22
+
23
+ ## Builder briefing
24
+ - **Start here:** the one or two files to open first.
25
+ - **Already decided:** choices the builder should not reopen, one line of why each.
26
+ - **Traps:** what looks right and is not.
27
+ - **Verify in this order:** cheapest disqualifying check first.
22
28
  ```
23
29
 
30
+ ## Citations — ground every code step in the code
31
+
32
+ A plan an executor can follow names locations, not areas. For every step that
33
+ touches code:
34
+
35
+ - Cite the exact location as `path/from/repo/root.ts:lineNumber` (e.g.
36
+ `packages/conveyor-agent/src/execution/mode-prompt.ts:129`). Ranges are fine
37
+ for larger edits (`foo.ts:120-145`); a whole file with no line is not.
38
+ - Name the specific function, class, constant, or JSX element being touched.
39
+ - When behavior hinges on a short piece of code, quote 1–3 lines inline rather
40
+ than paraphrasing it.
41
+ - For a file that does not exist yet, write `NEW: path/to/new-file.ts` and
42
+ describe the module it fits into.
43
+
44
+ ## The Testing section is a definition of done
45
+
46
+ The executor treats it as the acceptance criteria, so enumerate:
47
+
48
+ - The scoped verification for this change — the repo's own lint/typecheck and
49
+ affected-test commands — naming the specific package suites the diff will
50
+ touch. A docs-only plan should say plainly that no local gates are needed and
51
+ that CI validates on the PR.
52
+ - Any task-specific end-to-end check: a manual UI walk-through, an API smoke
53
+ test, a migration dry-run.
54
+
55
+ A planner working read-only is not expected to RUN these. Describe them.
56
+
57
+ ## The Builder briefing is written for the NEXT session
58
+
59
+ The section that closes the plan is the only one not addressed to a reader — it
60
+ is addressed to the session that inherits this card, which has read **this card
61
+ and nothing else**. It has none of your research, none of your dead ends, and no
62
+ memory of the conversation that produced any of it.
63
+
64
+ That is deliberate. Handoffs carry the card, never the session (see the decision
65
+ record in `.claude/rules/agent-modes.md`), so this section is where a planner's
66
+ hard-won context survives the boundary — and it is the whole reason forking the
67
+ planner's session was not needed.
68
+
69
+ Four lines, one each:
70
+
71
+ - **Start here** — where to open the code, not a summary of it.
72
+ - **Already decided** — what NOT to reopen, with one line of why. This is the
73
+ highest-value line: without it a builder re-litigates a choice you already
74
+ made, and usually lands somewhere worse because it has less context.
75
+ - **Traps** — what looks correct and is not. Anything that cost you a wrong
76
+ turn will cost the builder the same one.
77
+ - **Verify in this order** — cheapest disqualifying check first, so a wrong
78
+ approach dies in seconds instead of at the gate.
79
+
80
+ **Bounded at ~10 lines.** If it runs longer, that is a signal about the plan
81
+ body, not about the briefing: something belonged in Approach, Implementation
82
+ Steps, or Testing and did not get there. Do not use it as an appendix, and do
83
+ not restate the steps — a briefing that repeats the plan is one more thing to
84
+ keep in sync.
85
+
86
+ Write it last, when you know which parts were hard.
87
+
24
88
  ## Sizing
25
89
 
26
90
  Default **1 SP**. Use **2 SP** for multi-file work, **3 SP** for complex
@@ -37,12 +101,24 @@ genuinely multiple independently buildable pieces (8-SP-tier); otherwise keep
37
101
  one card.
38
102
 
39
103
  - **Orchestration packs** (future work): `start_task` on the parent boots a
40
- *pack runner* that starts each ready child's own build/PR, honoring
41
- `add_dependency` edges (independent children run in parallel). Give each
42
- child a detailed plan with a **Testing / Verification** section —
104
+ *pack runner* that works each ready child, honoring dependency edges. Give
105
+ each child a detailed plan with a **Testing / Verification** section —
43
106
  identification sizes children like any other card. The parent card's
44
107
  `featureBranch` setting (default on) makes children branch off and PR back
45
108
  into the parent's branch instead of the default base.
109
+
110
+ **Every child needs a real plan, held to the same bar as a standalone card:**
111
+ a multi-step implementation guide with `file.ts:line` citations, the
112
+ function/symbol names it touches, a pattern to follow where one exists
113
+ ("mirror `src/services/foo.ts`"), testing requirements, and acceptance
114
+ criteria. A one-line description is not a plan, and the executor cannot ask
115
+ you what you meant.
116
+
117
+ **Express cross-child ordering as `dependsOn` metadata, never as prose.**
118
+ Pass `dependsOn` (sibling ids or slugs) on `create_subtask` for any child
119
+ that blocks on another; leave genuinely independent children with none. A
120
+ runner schedules off those edges — "do this after step 2" written in plan
121
+ text is invisible to it, and the child will be picked up out of order.
46
122
  - **Mirror packs** (already-done work shipping in ONE PR on the parent's
47
123
  branch): create children with **`followParentStatus: true`** — title and a
48
124
  plain-language description only. A follower mirrors its parent's status
@@ -0,0 +1,161 @@
1
+ ---
2
+ name: conveyor-review
3
+ description: Review a Conveyor card's pull request and render a verdict — correctness, pattern consistency, security, performance, error handling, test coverage, typing, readability — fixing small issues directly and flagging the rest. Use when the user says "/conveyor-review <card or PR>", "review this PR", "do a code review", when a claudespace session boots in review mode, or when acting as reviewer of record for a pack child. Works in a cloud pod and a local checkout; the verdict tools differ per environment and the skill says which.
4
+ ---
5
+
6
+ # Conveyor Review
7
+
8
+ Read a PR against the plan it claims to implement, fix what is small, flag what
9
+ is not, and render exactly one verdict. The card is the spec, the diff is the
10
+ evidence, and task chat is where the team sees your reasoning.
11
+
12
+ **This skill is the mechanics.** Your *persona* — tone, how many issues to
13
+ raise, what this project cares about — comes from the reviewer agent's own
14
+ instructions, and from the host repo's CLAUDE.md. Where the two disagree about
15
+ process, this skill loses: a project's own rules outrank a general one.
16
+
17
+ ## Ground rules
18
+
19
+ - **All Conveyor tools fully-qualified** — `mcp__conveyor__get_task`, not
20
+ `get_task`. Bare names fail.
21
+ - **Exactly one verdict per review.** Not zero (the card waits forever), not
22
+ two (the first one wins and the second is noise).
23
+ - **Substantive issues only.** Linting and formatting have their own gates;
24
+ spending a verdict on style spends the team's attention on the wrong thing.
25
+ - **Review the diff, not the repository.** Pre-existing problems in a file the
26
+ PR touches are not this PR's job — note them in chat if they matter, or file
27
+ a suggestion, but do not block on them.
28
+
29
+ ## Read the change
30
+
31
+ 1. `mcp__conveyor__get_task` for the plan — you cannot judge "does this do what
32
+ it says" without the "what it says".
33
+ 2. **Ask the PR what you are reviewing, BEFORE any diff:**
34
+ `gh pr view <pr> --json state,baseRefName,headRefOid,files`. The PR's base is
35
+ often not the project default branch, and asking costs one call instead of
36
+ six spent guessing.
37
+ 3. Get the diff with the **merge-base** form, never two-dot, and **fetch the
38
+ base first** — a pod clones single-branch, so `origin/<base>` does not exist
39
+ until you ask for it and the diff fails or silently compares against nothing:
40
+
41
+ ```
42
+ git fetch origin <base> -q && git diff $(git merge-base origin/<base> HEAD)..HEAD
43
+ ```
44
+
45
+ Two-dot (`git diff <base>..HEAD`) compares against the base TIP, so it
46
+ reports already-merged commits as part of this change and sends you reviewing
47
+ code nobody here wrote.
48
+ 4. **When the diff and the PR disagree, the PR wins.** Diff the head SHA
49
+ directly instead (`git diff <headSha>^ <headSha>`). Your checkout can be
50
+ stale and so can the remote branch tip — a merged PR's commit may be
51
+ reachable only by SHA. If the PR reports `MERGED` or `CLOSED`, say so and
52
+ review the recorded head SHA rather than assuming your tree matches it.
53
+ 5. **Read the code under review out of the PR's commit, not the working tree:**
54
+ `git show <sha>:<path>` and `git grep <pattern> <sha>`. Grepping the working
55
+ tree when the PR is based elsewhere returns confident, wrong answers — it has
56
+ produced false review findings.
57
+ 6. Read the surrounding code before judging consistency. A pattern is only a
58
+ pattern if the neighbours share it.
59
+ 7. `mcp__conveyor__get_tag` on the card's tags — a tag's overview and linked
60
+ rules are what "follows existing patterns" actually means in this project.
61
+
62
+ ## Criteria
63
+
64
+ - **Correctness** — does it do what the plan says? Logic errors, off-by-one,
65
+ race conditions.
66
+ - **Pattern consistency** — does it match nearby code and the card's tag rules?
67
+ - **Security** — no hardcoded secrets, no injection, input validated at
68
+ boundaries.
69
+ - **Performance** — no needless loops, no N+1 queries, nothing blocking in an
70
+ async context.
71
+ - **Error handling** — handled at system boundaries, nothing swallowed.
72
+ - **Test coverage** — are new paths tested? Edge cases covered? A test that
73
+ asserts nothing is worse than no test, because it reads as coverage.
74
+ - **Typing** — proper types, no unnecessary `any`, correct async/await.
75
+ - **Naming and readability** — clear names, and no comment that says something
76
+ the code does not do.
77
+
78
+ **If previous review feedback is in the chat history, verify those specific
79
+ issues were addressed before raising new ones.** Re-litigating a resolved point
80
+ while the actual fix goes unchecked is the most common way a second review
81
+ wastes everyone's time.
82
+
83
+ ## Fix or flag
84
+
85
+ You have write access. Use it in proportion:
86
+
87
+ - **Small and unambiguous** → fix it, commit, push, then re-review your own
88
+ change as part of the diff. After pushing, wait for CI before approving.
89
+ - **Larger, or a judgment call the author should make** → flag it in the
90
+ verdict with the file, the line, what is wrong, and a suggested direction.
91
+
92
+ Fixing something you do not fully understand is worse than flagging it.
93
+
94
+ ## The verdict
95
+
96
+ > **Environment — the tools differ, and only one pair exists per surface.**
97
+ > In a **pod** (review-mode session): `mcp__conveyor__approve_code_review` or
98
+ > `mcp__conveyor__request_code_changes`. **Locally** via conveyor-mcp:
99
+ > `mcp__conveyor__approve_task` or `mcp__conveyor__request_changes`. The pod
100
+ > pair does not exist locally and the local pair does not exist in a pod, so
101
+ > reaching for the wrong one fails outright rather than degrading.
102
+
103
+ Every verdict carries a **risk** level, judged by the surface the change
104
+ touches — not by how large the diff is:
105
+
106
+ - `critical` — auth, billing, data integrity, migrations
107
+ - `high` — important surface with broad blast radius
108
+ - `medium` — moderate, contained
109
+ - `low` — small or isolated
110
+
111
+ The card may already carry a risk level, and **whether you can correct it
112
+ depends on where you are running** — the same environment split as the verdict
113
+ tools above:
114
+
115
+ - **Locally** (conveyor-mcp): `update_task` takes `risk`. If your review
116
+ disagrees with the card, set what you believe is correct — you have the
117
+ authority to override in either direction, and a stale risk level is worse
118
+ than a changed one.
119
+ - **In a pod** (review-mode session): you cannot. `update_task`'s agent surface
120
+ omits `risk` on purpose, and `update_task_properties` — the only pod tool that
121
+ carries it — is not in a review session's toolset. **State the risk you judge
122
+ correct in your verdict** and let a human or identification apply it.
123
+
124
+ That asymmetry is deliberate, not an oversight, and it is written down because
125
+ the instruction used to read "set what you believe is correct" unconditionally —
126
+ which no pod reviewer could follow. Same defect the story-points paragraph below
127
+ already records.
128
+
129
+ Story points are deliberately NOT yours to change. `update_task`'s agent
130
+ surface omits `storyPointValue` on purpose, and a pod review session has no
131
+ tool that carries it — so this used to be an instruction no reviewer could
132
+ follow. It is also a gate you sit behind rather than above: story points set
133
+ the card's graduated merge minimum, so a reviewer that could lower them would
134
+ be lowering the bar for merging the very PR under review. Flag a mis-sized
135
+ card in the verdict and let identification or a human re-size it.
136
+
137
+ ## Reviewer of record for a pack child
138
+
139
+ A PR into a **pack branch** gets no automated review — the pack's own session
140
+ is the reviewer, and the independent review happens later on the pack's PR into
141
+ `dev`. When you are that reviewer:
142
+
143
+ - Apply the same criteria above. The absence of an automated pass makes this
144
+ review more load-bearing, not less.
145
+ - There is **no verdict tool** — merging the child PR is the approval. Say what
146
+ you checked in chat so the record exists.
147
+ - You wrote this code, which makes self-review the weak point. An independent
148
+ reviewer with the diff and no memory of writing it catches what you cannot.
149
+
150
+ ## Blocked
151
+
152
+ If the PR cannot be reviewed as it stands — the plan is missing, the diff is
153
+ empty, CI never ran, or the branch does not match the card — say so in chat
154
+ with the specific blocker and do NOT render a verdict. An approval issued
155
+ because you could not see the code is worse than no review at all.
156
+
157
+ ## Improve This Skill
158
+
159
+ If this skill was insufficient or slowed the work down, file it with
160
+ `mcp__conveyor__create_suggestion` on the Conveyor project: the issue,
161
+ evidence, and proposed fix.
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: conveyor-start
3
+ description: Hand a planned Conveyor card to the cloud — start its build, confirm the environment actually came up, and report where to watch it. Use when the user says "/conveyor-start <card>", "start this card", "build this in the cloud", "kick off a pod for this", or asks to hand work off rather than do it locally. Local/MCP surface only; inside a pod the skill says so instead of failing.
4
+ ---
5
+
6
+ # Conveyor Start
7
+
8
+ The handoff verb. `/conveyor-plan` produces a buildable card and `/conveyor-build`
9
+ executes one **here**; this one hands the card to a cloud pod and gets you back
10
+ a place to watch it.
11
+
12
+ Its whole job is the gap between "I pressed start" and "something is actually
13
+ running." A start that silently did nothing looks identical to a start that
14
+ worked, until you check an hour later.
15
+
16
+ > **Environment — this skill does not apply inside a pod.** `start_task` exists
17
+ > only on the external `conveyor-mcp` surface, never on the in-pod agent
18
+ > surface, and that is deliberate (recorded in `agent-modes.md`, "pods never run
19
+ > the conveyor-mcp binary"). If you are running inside a claudespace pod, say
20
+ > so and stop: you cannot start a build from in here, and a pod that wants
21
+ > parallel work creates child cards and lets the pack path fire them. Do not
22
+ > hunt for an equivalent tool — there isn't one.
23
+
24
+ ## Ground rules
25
+
26
+ - **All Conveyor tools fully-qualified** — `mcp__conveyor__start_task`, not
27
+ `start_task`. Bare names fail.
28
+ - **Never start a card you have not read.** A start mints compute against a
29
+ human's subscription key and reassigns the card; doing that to the wrong card
30
+ is expensive and confusing to undo.
31
+ - **One card per invocation.** Starting several is a decision about spend and
32
+ concurrency that belongs to a person, not to a convenience loop.
33
+
34
+ ## 1. Resolve and qualify the card
35
+
36
+ `mcp__conveyor__get_task` (or `get_card_by_slug` for a `/cards/<slug>` URL).
37
+ Then check it is genuinely startable, and say which check failed rather than
38
+ starting anyway:
39
+
40
+ - **Status is `Open`.** A `Planning` card is not ready — it has no agreed plan.
41
+ A card already `InProgress` has an environment; you want `resume_task`, and
42
+ starting again would duplicate the work.
43
+ - **It has an executable plan.** Not a title and a sentence — a plan a
44
+ context-free reader could build from. If it does not, **stop and offer
45
+ `/conveyor-plan` first**: starting a pod against a thin plan burns an hour to
46
+ produce the wrong thing, and the agent cannot ask you a clarifying question
47
+ mid-build.
48
+ - **Its dependencies are met.** `mcp__conveyor__get_dependencies` — a blocker
49
+ counts as met only at ReviewDev or beyond. Starting a blocked card produces an
50
+ agent that cannot finish.
51
+
52
+ If any check fails, report which one and what would fix it. Do not start.
53
+
54
+ ## 2. Start it
55
+
56
+ ```
57
+ mcp__conveyor__start_task(taskId)
58
+ ```
59
+
60
+ The build runs on **your** account and key, and starting reassigns the card to
61
+ you — that is the documented contract, not a side effect. If you are starting
62
+ something on someone else's behalf, say so, because their name comes off the
63
+ card.
64
+
65
+ ## 3. Confirm it actually started
66
+
67
+ **This is the step the verb exists for.** `start_task` returns once the intent
68
+ is written; the environment converges afterwards, so a successful call is not a
69
+ running pod.
70
+
71
+ Poll `mcp__conveyor__get_build_status` until the workspace reports it is
72
+ provisioning or running, and give it a couple of minutes — a cold pod takes
73
+ longer than a warm one. Then report the outcome honestly:
74
+
75
+ - **Running / provisioning** → started; go to step 4.
76
+ - **Still pending well past the boot window** → say it has not come up yet and
77
+ point at the card's setup log rather than declaring success.
78
+ - **Failed** → report the failure reason from the card. A provision failure
79
+ posts its cause to the card (quota denials, missing credentials); read it
80
+ instead of guessing, and do not immediately retry — a terminal cause will
81
+ fail the same way.
82
+
83
+ Never report "started" from the tool call alone.
84
+
85
+ ## 4. Hand back a place to watch
86
+
87
+ Give the person, in one short message:
88
+
89
+ - the card URL,
90
+ - that the agent posts progress to the card's chat,
91
+ - `mcp__conveyor__get_connect_urls` for the preview/attach links when they want
92
+ to look inside,
93
+ - and `mcp__conveyor__stop_task` if they want it back.
94
+
95
+ Then stop. You are not the build's babysitter — the card is where it reports,
96
+ and a loop that watches a cloud build from a local session just spends tokens
97
+ narrating something the card already shows.
98
+
99
+ ## What this skill is not
100
+
101
+ - **Not a builder.** If the work should happen in this checkout, that is
102
+ `/conveyor-build`. Starting a pod to avoid doing a two-minute local edit is
103
+ slower, not faster.
104
+ - **Not a planner.** A card that needs a plan gets `/conveyor-plan` first; this
105
+ skill refuses rather than starting into ambiguity.
106
+ - **Not a merger.** The pod opens a PR; review and merge are their own verbs.