@rallycry/conveyor-skills 1.0.23 → 1.0.25

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,258 +1,46 @@
1
1
  ---
2
2
  name: conveyor-workflows
3
- description: How to work with Conveyor from any repo it manages — connect or repair the Conveyor MCP, create and plan cards, decide task vs suggestion vs incident, build packs, start or monitor agent builds, open PRs the non-duplicating way, and review completed work. Use when asked "how do I use conveyor", "create a card", "file this in conveyor", "start a build", "review this conveyor task", when Conveyor MCP tools are missing or erroring, or when a PR was auto-closed or a duplicate card appeared.
3
+ description: Connect to Conveyor, find or file cards, maintain the project glossary, and route card-backed PRs.
4
4
  ---
5
5
 
6
- # Conveyor Workflows
6
+ # Conveyor workflows
7
7
 
8
- Conveyor is the task source of truth for this repo. Cards must let the next
9
- agent or human pick up cold: search before creating, keep task chat current,
10
- and let Conveyor's own automation do the linking.
8
+ Call tools as `mcp__conveyor__<name>`. Use `mcp__conveyor__get_connection_context` to find the current project and card and distinguish a bound pod from external MCP. Check the tool schema for surface-specific arguments such as `message` versus `content` on `post_to_chat`. If the default project differs from the checkout, match `list_projects` to its Git remote and pass `projectId` explicitly. An incorrect project ID can report insufficient permissions. Use the [MCP setup guide](references/mcp-setup.md) for connection issues.
11
9
 
12
- ## Connect and resolve context
10
+ ## Cards
13
11
 
14
- - All Conveyor tools are called fully-qualified (`mcp__conveyor__get_task`);
15
- bare names fail with "No such tool available".
16
- - Start with `mcp__conveyor__get_connection_context`. No default project?
17
- `mcp__conveyor__list_projects` and match `githubRepoOwner/Name` against the
18
- cwd's `git remote`. Conveyor MCP is multi-project — pass `projectId`
19
- explicitly when working across projects.
20
- - **A mistyped `projectId` surfaces as "Insufficient permissions", not "not
21
- found".** Re-check the ID character-for-character before concluding you lack
22
- access.
23
- - MCP missing, stale, or unauthenticated → [references/mcp-setup.md](references/mcp-setup.md).
24
- - Two MCP surfaces exist with different arg shapes: the in-pod agent tools
25
- (`post_to_chat` takes `message`) and the standalone `@rallycry/conveyor-mcp`
26
- server for external clients (`content`, plus `taskId`/`comment` variants).
27
- You are on the in-pod surface when Conveyor provisioned your workspace;
28
- external when the MCP was configured by hand. Each accepts the other's
29
- field name as an alias where possible, but read the tool's schema — don't
30
- guess across surfaces.
12
+ - Search existing cards with `search_tasks`, including relevant types. Use `list_tasks` for status and assignee filters. Add context to matching work.
13
+ - Use a task for committed work, a suggestion for a proposed improvement, and a [decision](../conveyor-plan/references/product-decisions.md) for an unresolved product choice that blocks planning. Check `list_decisions` for settled answers. Route a reported symptom to triage. Use [brainstorm review](../conveyor-brainstorm-review/SKILL.md) to turn ranked ideas into confirmed cards.
14
+ - Keep the description to 255 characters. Put files, decisions, and verification in the [plan](../conveyor-plan/references/plan-format.md). Moving a card beyond Planning lets Conveyor fill in identification fields.
15
+ - Use one card per deliverable. An orchestration pack has independently buildable children and explicit dependency edges. Set `followParentStatus: true` when creating mirror children that document work shipping together in the parent PR.
31
16
 
32
- ## Cards: create, classify, plan
17
+ ## Glossary
33
18
 
34
- - **Search first**: `mcp__conveyor__search_tasks` on 2-3 keyword variants
35
- (`typeFilters` to include incidents/suggestions); use
36
- `mcp__conveyor__list_tasks` when filtering by status/assignee instead of
37
- text (results are priority-ordered). A card may already exist — attach to
38
- it (post your context to its chat) rather than forking a duplicate.
39
- - **Classify**: buildable work → `mcp__conveyor__create_task`; an
40
- idea/improvement you are NOT committing to build →
41
- `mcp__conveyor__create_suggestion`; a product fork that has to be settled
42
- before the work can be planned correctly → `mcp__conveyor__create_decision`;
43
- incidents
44
- (production breakage) are filed by monitoring and users through Conveyor's
45
- incident tooling — you will usually *work* incident cards, not create them.
46
- - **Decisions**: a decision card holds one question, two or three options
47
- written GIVEN / WHEN / THEN, a default that wins on silence, and a deadline.
48
- It BLOCKS the cards it names until it settles, and un-blocks them the moment
49
- it does — the answer is written into each of their plans and into the owning
50
- tags' overviews, so the next agent finds it without knowing the decision
51
- existed. Search with `mcp__conveyor__list_decisions` BEFORE planning in an
52
- area: a settled
53
- decision is the answer, and re-asking it is the waste the type exists to
54
- stop. Most forks are not decisions — an assumption you can simply state
55
- belongs in the plan as a GIVEN / WHEN / THEN line. The full bar is in
56
- [../conveyor-plan/references/product-decisions.md](../conveyor-plan/references/product-decisions.md).
57
- - **Brainstorms**: a brainstorm table is where a team writes ideas face-down,
58
- pitches them, sorts them into tag piles and stack-ranks them.
59
- `mcp__conveyor__list_brainstorms` and `mcp__conveyor__get_brainstorm` read a
60
- table as a ranked brief; face-down cards are never returned.
61
- `mcp__conveyor__add_brainstorm_idea` puts an idea in your user's hand, and
62
- `mcp__conveyor__link_brainstorm_idea` records the card an idea became. No
63
- brainstorm tool creates a card: the `/conveyor-brainstorm-review` skill
64
- turns a finished table into cards, one confirmed item at a time.
65
- - **Mechanics**: `create_task` takes the title, description, `plan`
66
- (markdown), and optional status/tags; cards start in `Planning`. Every
67
- status change you make goes through `mcp__conveyor__update_task`
68
- (`status: "Open"` / `"InProgress"` / `"Cancelled"`, plus plan/description
69
- edits). Review-side transitions are NOT yours — see the PR section.
70
- - **Description vs plan**: the description is capped at 255 chars — 1-2 plain
71
- sentences a non-engineer can read. All technical detail goes in the plan.
72
- - **Plan quality bar**: a context-free reader must be able to execute — exact
73
- repo-relative files and symbols, runnable testing commands, decisions
74
- already made recorded in Notes. Format and sizing:
75
- [../conveyor-plan/references/plan-format.md](../conveyor-plan/references/plan-format.md).
76
- For research-backed planning, use the `conveyor-plan` skill — it is the first
77
- half of the pair below.
78
- - **One card per deliverable/PR** (mirror packs below are the documented
79
- exception). Multi-PR work becomes a pack: children via
80
- `mcp__conveyor__create_subtask` (new children) or
81
- `mcp__conveyor__set_task_parent` (adopt an existing card into the pack, or
82
- detach one with `parentTaskId: null`), with
83
- `mcp__conveyor__add_dependency` edges. Orchestration packs run children as
84
- their own builds/PRs; mirror packs (children created with
85
- `followParentStatus: true` on `create_subtask`) document already-done work
86
- shipping in ONE PR on the parent. Don't pack below
87
- genuinely-multiple-independent-pieces scope.
88
- - **Identification is Conveyor's job**: moving a card beyond Planning
89
- (`update_task` → `status: "Open"`) auto-fills story points, icon, agent,
90
- and tags — for pack children too. Post your SP/tag recommendation to chat
91
- BEFORE the flip; never set icon or points yourself.
19
+ - Use `list_tags` to find terms and `get_tag` to read the owning entry. Refer to a term with `@[tag:<name>]`. Mention a project member with the token from `list_project_members`.
20
+ - When a change alters a tag’s behavior, update its overview with the reason. For a tag with `overviewPath`, change the source file through the PR. `contextPaths` replaces the existing set. Keep verified locators current when files or tests move.
21
+ - Treat the PR tool’s glossary and schema notes as review prompts. Update applicable glossary entries when behavior changes. If `schemaNote` reports changed schema sources with missing pages, regenerate and commit the pages, then call `create_pull_request` again to refresh the same PR’s generated section.
92
22
 
93
- ## Tags are the project glossary
23
+ ## Build and review
94
24
 
95
- Tags are the shared vocabulary humans and agents align on, not just board
96
- labels. Each tag carries a `description` (≤255 — the summary), an `overview`
97
- (the full markdown spec: philosophy, mechanics, invariants), `contextPaths`
98
- (where the code/rules live), and parent/child tags (a sub-type taxonomy).
99
-
100
- - **Read**: `mcp__conveyor__list_tags` for the inventory (names, descriptions,
101
- hierarchy, `hasOverview`, `contextPathCount`) — a compact summary by default,
102
- so the whole glossary fits one tool result. Pass `detail: "full"` to ship the
103
- context links inline, so auditing what the glossary wires up takes one call,
104
- not one per tag;
105
- `mcp__conveyor__get_tag` (id or exact name) for one term's full entry —
106
- overview, linked files, hierarchy, and recent revisions with their reasons. When a card or chat message deep-links a term
107
- (`@[tag:<id>]` — the web composer offers this when you type a tag name),
108
- `get_tag` is how you pull its full context. To deep-link a term yourself,
109
- write `@[tag:<name>]` with the tag's exact name — chat posts and card
110
- plans/descriptions are canonicalized to the id token at write time, so you
111
- never need the id. An unknown name stays plain text.
112
- - **Mention people**: a project member, as a Conveyor user, is the only person
113
- you can mention. Write `@[user:<name, email or user id>]` in `post_to_chat`
114
- or `post_channel_message`; `mcp__conveyor__list_project_members` gives each
115
- member's exact token. Conveyor turns it into a real Slack/Discord ping (and an
116
- in-app alert for a card post). A name that matches nobody, or several
117
- members, fails the post with suggestions — fix the token and post again.
118
- Never guess raw Slack or Discord IDs (`<@U…>`): only an id that belongs to a
119
- Conveyor user still pings, and any other renders as plain text.
120
- - **Write**: `mcp__conveyor__manage_tags` (Moderate+). Whenever your work
121
- changes how a tagged system behaves, update that tag's `overview` and pass a
122
- one-line `reason` — it lands in the tag's revision history (in-pod agents
123
- get their current card auto-stamped too), so the team sees why the glossary
124
- changed. Any loaded term worth a definition deserves a tag.
125
- - **The PR nudge**: `create_pull_request` may append a "Touched glossary
126
- areas" line — your diff's files matched against tag `contextPaths`. Treat it
127
- as a checklist prompt, not an order: update a listed tag's
128
- overview/description only when your change altered what the term means, add
129
- the tag to the card only when the work is genuinely about that area, and
130
- skip freely otherwise. Never bulk-assign tags from path matches alone.
131
- - **The schema note**: on a project with schema pages, the in-pod
132
- `create_pull_request` also returns a "Schema & wire changes detected" line
133
- (`schemaNote`) naming the changed models, contracts and schema sources, and
134
- the PR body carries the generated section (on both surfaces). When it says
135
- the schema sources changed but no page did, regenerate the pages, commit
136
- them, and call `create_pull_request` again: it reuses the open PR and
137
- rewrites the section. A project without schema pages
138
- can set them up with the public guide `guides/schema-pages`.
139
-
140
- ## Execute
141
-
142
- - **Status reflects reality**: claiming a card = `update_task` →
143
- `status: "InProgress"` plus a chat note saying who/where is working it.
144
- Never hand-move a card to `ReviewPR` or set its PR link — that transition
145
- belongs to `create_pull_request` / the PR sync.
146
- - **One skill per lifecycle phase, and they mean the same thing everywhere.** A
147
- cloud pod running a card and a local session working one read the SAME skill
148
- text; the handful of genuine environment differences (WIP autosync, whether
149
- `create_pull_request` pushes for you, which verdict tools exist, shared vs
150
- dedicated dev stack) are called out inline.
151
-
152
- | Phase | Skill |
153
- | --- | --- |
154
- | Investigate an unverified report | `conveyor-triage` → hands off a planned card, never a PR |
155
- | Plan the work | `conveyor-plan` → writes an executable plan onto the card |
156
- | Hand it to the cloud | `conveyor-start` → starts a pod and confirms it came up (local surface only — `start_task` does not exist in a pod) |
157
- | Do the work here | `conveyor-build` → follows the plan to a PR |
158
- | Judge the work | `conveyor-review` → one verdict, with risk |
159
- | Audit a release before it ships | `conveyor-release-review` → evidence-backed findings, filed by priority as a blocker pack and a suggestions pack (local surface only — it needs `create_task`, `manage_priorities`, and `add_dependency` on another card) |
160
- | Work a whole queue locally | `conveyor-local-loop` → selection and pacing over the above |
161
- | Keep the board honest | `conveyor-prune` → one disposition per open card, applied only after confirmation (local surface only — it needs `set_task_parent`, `create_task`, and the on-hold flag) |
162
- | Run a whole board for its owner | `conveyor-manager` → plans, starts, reviews and lands cards under the owner's charter, one wake of its routine per invocation (local surface only — it needs `start_task`, `sleep_task`, `resume_task`, and `approve_and_merge_pr`) |
163
-
164
- `conveyor-start` and `conveyor-build` are the same phase reached two ways —
165
- hand the card off, or do it in this checkout — so the choice is about where
166
- the work runs, not about what happens to the card. `conveyor-build` routes a
167
- childless card to its task path and a feature-branch pack to its pack path on
168
- its own; you do not pick. And an
169
- incident goes to `conveyor-triage` before `conveyor-plan` — planning a fix
170
- from a symptom is how the wrong thing gets built confidently.
171
- - **Cloud or local**: `mcp__conveyor__start_task` boots a cloud agent
172
- environment for an Open card (that agent run is the card's "build" —
173
- `mcp__conveyor__get_build_status` reports it), and that agent runs
174
- `conveyor-build` itself. To execute cards on the local machine instead, use
175
- `conveyor-build` directly for one card, or `conveyor-local-loop` to work a
176
- whole queue. Don't do both — a started task's agent will duplicate local
177
- work. The loop idles on `conveyor-wait`, a CLI in `@rallycry/conveyor-mcp`
178
- that blocks until a card becomes claimable, so an idle loop wakes on a board
179
- event instead of a timer.
180
- - **From an app, with a project token (no MCP, no user)**: an external service
181
- holding an incident-scoped project token files AND starts a card in one
182
- call — `POST /api/incidents/report` with `type: "task"`, a `plan`, and
183
- `start: true` (optionally `tags: [<glossary names>]`; an unknown name is a
184
- 400). The build starts through the same path as `start_task`, as the token's
185
- owner, and the response carries `{ taskId, slug, url, status, buildStarted,
186
- buildError? }`. A failed start still returns 201 with `buildStarted: false`
187
- and leaves the card for a human — do not retry the report, that files a
188
- second card. Poll `GET /api/incidents/tasks/<taskId>` with the same token for
189
- `{ status, githubPRUrl, githubPRNumber, agentRunnerStatus }`. `start` is
190
- rate-limited to 30 per token per 10 minutes.
191
- - **Reserved-branch trap**: a card with an assigned agent may have a reserved
192
- `githubBranch`. Check `get_task` before pushing: if set, push to THAT
193
- branch; a PR from any other branch gets auto-closed and unlinked.
194
- - **Chat is the log**: post at real milestones — claim, blocking discovery,
195
- decisions, gates green, PR — not play-by-play. Findings (root causes, dead
196
- ends, verification results) belong in task chat, not just your session.
197
- - **Files**: `mcp__conveyor__upload_attachment` hosts images/video/files on
198
- the card; the returned URL is reusable in PR bodies. Attach visual evidence
199
- for UI changes before opening the PR.
200
- - **Found-but-not-fixed** → a follow-up card with enough context to execute
201
- cold, not a TODO in chat.
202
-
203
- ## Open the PR — two paths, pick exactly ONE
204
-
205
- | Situation | Path |
25
+ | Work | Skill |
206
26
  | --- | --- |
207
- | A card exists (found or created) | `mcp__conveyor__create_pull_request` — one call opens the PR, links the card, moves it to ReviewPR. Pass `head:` if the card has no branch. |
208
- | No card exists | Open the PR with your git host's normal tooling and STOP — Conveyor's PR sync spawns and links a card itself. |
209
-
210
- Card linking belongs to exactly one actor, never you by hand. Mixing paths is
211
- the known failure mode: a hand-moved card linked to nothing plus a
212
- sync-spawned duplicate.
213
-
214
- ## Monitor and review
27
+ | Prototype, investigate, or plan | [Spike](../conveyor-spike/SKILL.md), [triage](../conveyor-triage/SKILL.md), [plan](../conveyor-plan/SKILL.md) |
28
+ | Execute a card or pack | [Start in Claudespace](../conveyor-start/SKILL.md) or [build here](../conveyor-build/SKILL.md) |
29
+ | Review a PR or a release | [Review](../conveyor-review/SKILL.md), [release review](../conveyor-release-review/SKILL.md) |
30
+ | Work a queue or board | [Local loop](../conveyor-local-loop/SKILL.md), [prune](../conveyor-prune/SKILL.md), [manager](../conveyor-manager/SKILL.md) |
31
+ | Synthesize team input | [Consensus](../conveyor-consensus/SKILL.md), [meeting review](../conveyor-meeting-review/SKILL.md) |
215
32
 
216
- - Monitor with `mcp__conveyor__get_task`, `mcp__conveyor__read_task_chat`,
217
- and `mcp__conveyor__get_build_status`. A whole board is one
218
- `mcp__conveyor__get_board_digest`, and `mcp__conveyor__message_agent`
219
- delivers a message to a card's live or slept agent, where `post_to_chat`
220
- only stores it.
221
- - Reviewing a ReviewPR card: inspect the diff and task chat; approve with
222
- `mcp__conveyor__approve_task` only if the PR implements the plan and
223
- follows repo patterns — it advances the card through the review pipeline
224
- (and, per project settings, approves/merges the PR). Otherwise
225
- `mcp__conveyor__request_changes` with specific feedback, which returns the
226
- card to the builder. Manual tests (`mcp__conveyor__set_manual_tests`, at
227
- most 5 per card, user paths in plain language) surface for human sign-off
228
- at the review stage.
229
- - Don't approve or merge your own PRs unless the project's policy explicitly
230
- allows it.
231
- - Remote workspace access (SSH/preview) goes through
232
- `mcp__conveyor__workspace_start_tunnel` / `workspace_stop_tunnel` — one
233
- canonical tunnel per task, torn down when done.
33
+ - Claim local work through `update_task` with `InProgress`. Keep decisions and verification in task chat. Use [checkout claims](../conveyor-build/references/checkout-claim.md) for shared checkouts. Stop local execution if a cloud builder owns the card.
34
+ - With a card, open the PR through `create_pull_request`. Check the reserved branch in `get_task` before pushing and pass `head` if the card has no branch. Upload UI evidence before opening. The tool links the PR and moves the card to ReviewPR.
35
+ - Where a repo allows PRs without a card, the Git host PR is the only creation step. Conveyor’s sync creates and links the card. Leave review transitions to the review tools and project merge policy.
36
+ - Use `approve_task` or `request_changes` for a ReviewPR card you are reviewing. Approval follows the project’s merge policy. Self-approval or self-merge requires explicit project permission. Record up to five plain-language human checks with `set_manual_tests`.
37
+ - Use `get_board_digest` for board state and `get_build_status` and task chat for build state. Use `message_agent` when a live or slept agent needs to act. Use the workspace tunnel tools for task SSH or preview access and close the tunnel when done.
38
+ - After a timeout on a write, read the card, chat, or PR to confirm the effect before retrying. Make at most one identical retry. In an autosynced workspace, check origin before attempting to recover a branch or repeat work.
234
39
 
235
- ## Reliability gotchas
40
+ ## Start a task from an app
236
41
 
237
- - **A mutating call that errors may have already landed.** "Session not
238
- found" / timeout on `create_*`, `post_*`, `approve_*`, merge → check the
239
- effect (`read_task_chat`, `get_task`, the PR) before re-firing; cap
240
- identical retries at one. Blind re-fires double-post and double-approve.
241
- - **Git ground truth is remote-first** in agent pods and shared workspaces:
242
- on a surprising conflict, failed push, or dirty tree, run `git ls-remote
243
- origin <branch>` and `git merge-base --is-ancestor` before rebuilding
244
- anything locally — platform autosync may have already pushed for you, and a
245
- dirty tree may belong to a concurrent session.
246
- - **Local sessions take turns on one checkout.** `conveyor-build`,
247
- `conveyor-local-loop` and local `conveyor-review` fixes hold a checkout
248
- claim, so a second session waits instead of switching branches underneath
249
- the first. `conveyor-skills checkout status` shows who holds it (card,
250
- branch, host, heartbeat age). `conveyor-skills checkout release --force` is
251
- the human override for a wedged claim — an agent runs it only when the user
252
- says so. Protocol: `conveyor-build/references/checkout-claim.md`.
42
+ With an incident-scoped project token, send `POST /api/incidents/report` with `type: "task"`, a plan, and `start: true`. Use exact glossary names in optional `tags`. A 201 with `buildStarted: false` still created the card. Poll `GET /api/incidents/tasks/<taskId>` with the same token for build and PR state. Retry the existing card’s start instead of reporting it again.
253
43
 
254
- ## Improve This Skill
44
+ ## Skill feedback
255
45
 
256
- If this skill was insufficient or slowed the work down, file it with
257
- `mcp__conveyor__create_suggestion` on your current project: the issue,
258
- evidence, and proposed fix.
46
+ Use `mcp__conveyor__create_suggestion` on the Conveyor project to report a problem with a skill. Include the issue, evidence, and proposed change.