add-skill
Install a pinned skill extension on demand (/add-skill <id>), or list core packs and extensions
Execute an approved plan: implementers in worktrees from a pinned commit, one integrator, no merges
> /plugin marketplace add solanabr/ai-kit > /plugin install solana-ai-kit@stbr
How it fires
How this command gets triggered: by you, by Claude, or both.
/implementContext preview
What this command does when you run it.
Execute an approved plan: implementers in worktrees from a pinned commit, one integrator, no merges
description: "Execute an approved plan: implementers in worktrees from a pinned commit, one integrator, no merges"
Execute the plan in `$ARGUMENTS`: a `/plan-work` file (`.claude/context/plan-*.md`), else the plan approved last in this session; a goal with no plan goes to `/plan-work` first. Start only once the user has approved the plan (they typed this command on it, approved it at `/crew`'s plan gate, or said so); otherwise stop and ask. This command builds on branches. It never merges, pushes or opens a PR.
1. **Decisions in force:** `bash .claude/bin/decisions.sh in-force`. If the helper is missing or fails, or the record is empty, say so and use the decisions made in this conversation. Tasks the plan lists under Stops wait for the user's answer; run the rest. 2. **Pin the base:** `git rev-parse HEAD` on the branch the work builds on. Uncommitted changes are not in it: say so if there are any. Where the plan names an older base, `git log --oneline <plan-base>..<pinned> -- <a task's files>` shows what moved under each task; its implementer re-verifies those items first, and skips and reports what is already done or no longer applies. 3. **Check the split:** one implementer per task, one owner per file. A file two tasks list is a plan defect: fix the split before dispatch. Shared files (lockfiles, CHANGELOG, VERSION, counts, generated clients, test registries) belong to the integrator, this session: a task puts the exact edit it needs there in its report. 4. **Worktrees.** Steps 4 to 8 run once per wave of the plan. Per task in the wave: `git worktree add -b <branch>-<task> .claude/worktrees/<slug>-<task> <sha>`, where `<sha>` is the pinned base for the first wave and the integration branch's head for each later one. Subagent worktrees (`isolation: worktree`) branch from the default branch, which is why this command makes its own. A commit as the start point also keeps git from writing upstream tracking into `.git/config`, which the sandbox refuses. 5. **Dispatch** the whole wave at once, each task as the owner the plan names (`subagent_type`, or `agentType` in a workflow; general-purpose when it names none): as a dynamic workflow when the session can run one, with the return contract as each agent's schema, so the user can watch it in `/workflows`; else as background subagents launched in one message (`/tasks`). If agent-team teammates fail to spawn, send them again as plain background subagents. 6. **Between waves, here:** rerun the command behind each claim the next step rests on; a gate that ran zero tests or reported SKIP has not passed. The user's calls in the reports go to them as numbered briefs ([format](decide.md#brief)); a task whose work hangs on one waits for the answer, and the rest integrate. A workflow takes no input mid-run and its agents take no messages, so a decision that changes mid-wave and touches a task stops that task and relaunches it with the new list. 7. **Integrate** on the work's branch, never on the default branch (when the base is `main`, create one by the kit's branch convention), in its own worktree (`.claude/worktrees/<slug>`) unless the current checkout is on it and clean. Per task, in dependency order: `git diff --name-only <sha>..<branch>-<task>` must list only that task's files, then `git cherry-pick <sha>..<branch>-<task>`. A conflict means a task wrote outside its files: stop and look, never resolve it by taking one side. Apply the shared-file edits word for word, commit, and run the project's full build, lint and test commands. 8. **Clean up** each task's worktree once its commits are integrated: `git worktree remove .claude/worktrees/<slug>-<task>` (outside the sandbox if it refuses the write to the git directory). After the last wave's checks pass, remove the integration worktree too, so the branch can be checked out anywhere. Task branches stay; deleting them is the user's call.
Each implementer gets:
The pinned base; per task, its branch, commits, gate result and skipped items; the integration branch, its head SHA and the full-c
Claude Code, set up to ship on Solana. Not programs alone — the whole lifecycle: validating the idea, building the program and the app around it, shipping it, and the launch and growth work that follows.
Install a pinned skill extension on demand (/add-skill <id>), or list core packs and extensions
Short for /adversarial: run every task through proposer and adversary pairs, no triage
Put a task's load-bearing claims and key decisions through a proposer and an adversary, with proof
Audit infra security: secrets, deps, CI/CD, webhooks, AI/skill files
Audit Solana program code for exploitable bugs and write a findings report
Compare per-instruction CU with the stored baseline to catch regressions