一键导入
execute
Dispatch and execute implementation plans with TDD and checkpoints. Use when plan is ready. Parallel by default for independent tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Dispatch and execute implementation plans with TDD and checkpoints. Use when plan is ready. Parallel by default for independent tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Meta-orchestrator — dispatches to the right skill for the task. Use before any non-trivial work.
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.
Structured 6-phase debugging. Build feedback loop first, reproduce deterministically, hypothesize with ranked falsifiable theories, instrument one variable at a time, fix with regression test, cleanup. Use when a bug exists, tests fail unexpectedly, or behavior is wrong and cause is unknown.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).
Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.
| name | execute |
| description | Dispatch and execute implementation plans with TDD and checkpoints. Use when plan is ready. Parallel by default for independent tasks. |
| mcp | codebase-memory-mcp |
Dispatch plan tasks with TDD. Parallel by default when tasks are independent.
Usage: /supergraph:execute | task N | tasks N,M | from task N | plan auth-login task 2 | plan auth-login sequential
"I'm using /supergraph:execute to implement this plan."
/supergraph:scan should already be done. If .supergraph-env missing → STOP: "Run /supergraph:scan first.".supergraph-env (if present) or plan ## Environment ContextCount plan files in docs/supergraph/plans/*.md:
| Count | Action |
|---|---|
| 0 | STOP: "Run /supergraph:plan first" |
| 1 | Auto-select |
>1, no plan <slug> arg | STOP: list plans, ask user |
plan <slug> provided | Match filename. If >1 match ask. |
Parse task scope: task N, tasks N,M,K, from task N, or all incomplete.
Parse sequential flag → force sequential mode.
Read plan before dispatch:
## Environment Context?Approved (or user explicitly approved)?If missing or not Approved → STOP, dispatch supergraph:plan-reviewer, wait for Approval.
Also check: plan has user approval step (step 11)? If not → ask user: "Plan was not reviewed by you. Proceed anyway? [yes / no]"
Check dependencies: Task X depends on Task Y → is Y Status: completed? If not → STOP.
If any concern: STOP, ask. Never guess.
If main/master → STOP, suggest new branch or worktree. User approves → continue.
| Condition | Mode |
|---|---|
| No file overlap + no dependencies | Parallel (one agent per task) |
| Any dependency/overlap | Sequential |
| Uncertain | Ask user |
Shared executor instructions (apply to both modes):
- Call mcp__serena__initial_instructions() once before any Serena tool (skip if scan ran this session)
- Per task: RED → GREEN → REFACTOR → Lint → Format
- After GREEN: mcp__serena__get_diagnostics_for_file() per modified file (skip if Serena unavailable)
- Prefer Serena surgery: replace_symbol_body(), rename_symbol(), insert_after/before_symbol() over raw edits
- Commit ONCE after all tests pass using Checkpoint from plan
- Max 3 retries per step → mark stuck
- Stop and ask on: unclear instruction, missing file, placeholder, any blocker
Sequential: Agent(subagent_type="supergraph:executor") — run baseline tests first, execute tasks IN ORDER respecting dependencies, report tasks done/stuck + files changed + risks.
Parallel: one Agent(subagent_type="supergraph:executor") per task — each gets self-contained Task N section + Environment Context. Do NOT edit files outside Task N scope. Do NOT refactor unrelated code. Spawn all in one message.
git diff --name-only # check for same-file edits by different agents
If overlap: require CBM_PROJECT; call index_status, and when stale/degraded
call index_repository with the absolute repo path. Then run project-scoped
detect_changes, trace_path, and cross-boundary recipe evidence.
Serena conflict check (optional): find_referencing_symbols() on symbols changed by multiple agents. Skip if Serena unavailable.
If conflicts → STOP: review manually / revert & retry sequential / keep X & redo Y.
Run $TEST_CMD, $LINT_CMD, $BUILD_CMD. Require healthy
index_status(project=CBM_PROJECT); stale/degraded state triggers
index_repository. Run detect_changes, trace_path, and validated cycles,
test-gaps, complexity, and cross-boundary recipes.
/supergraph:fix → /supergraph:integration → /supergraph:verify → /supergraph:review
✅ Execution Complete
Plan: [path] | Scope: [tasks]
Tasks: N/N done | Stuck: [none | list]
Tests: PASS | Lint: PASS | Graph: updated
Announce completion in user's language.
git add -A