analyze
免费Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.
中文简介正在准备中。当前显示原文说明。
Dispatch and execute implementation plans with TDD and checkpoints. Use when plan is ready. Parallel by default for independent tasks.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
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.
Parse tasks from plan:
Wave: N (e.g. Wave 1, Wave 2, Wave 3).Wave: fields, group tasks dynamically by dependencies:
Dependencies: none.Execute wave by wave in strict DAG order:
Wave 1 (Base/Schema) ──> Wave 2 (Independent Features: PARALLEL) ──> Wave 3 (Integration/UI)
Shared executor instructions (see serena/SKILL.md:Setup): per task RED→GREEN→REFACTOR→Lint→Format, get_diagnostics_for_file after GREEN, prefer replace_symbol_body/rename_symbol over raw edits. Commit once per task. Max 3 retries.
When supergraph-team MCP tools are available:
sg_team_init(objective, base_branch). Supergraph auto-launches Live Dashboard UI at http://127.0.0.1:3333 and opens your browser (or call sg_team_ui anytime).sg_task_create for each plan task specifying id, title, wave, dependencies, and write_scopes.sg_task_list(wave=N).sg_task_claim(task_id, worker_id) → receives isolated worktree directory (.supergraph/worktrees/task-<id>).sg_task_record_red(task_id, test_output).sg_task_submit(task_id, test_cmd).sg_task_verify_merge(task_id, test_cmd, commit_msg).For each Wave:
Agent(subagent_type="supergraph:executor") — run baseline tests first, execute task respecting dependencies, report task done/stuck + files changed.invoke_subagent with concurrent executors in a single call:
Workspace: "branch" (isolated git worktree/branch — guarantees zero file conflicts & avoids git index lock collisions).Model: task.Model || "inherit" (use flash for low-risk boilerplate/tests, pro for complex logic).## Task N snippet + ## Environment Context.ACCEPTANCE_PASSED: Task N.$TEST_CMD.completed in plan file./supergraph:fix or STOP and consult user.Before dispatch, create the plan workspace with sdd-workspace PLAN_FILE, then run a Pre-dispatch conflict scan over task file sets and dependencies. Record the scan and any non-catastrophic ruling in .supergraph/sdd/<plan-basename>/ledger.md.
task-N-brief.md; require task-N-report.md with exact RED/GREEN/REFACTOR and verification evidence.review-<base>..<head>.diff with review-package before scoped review.If same-file edits for CBM_PROJECT: reindex if stale (index_status→index_repository, see references/codebase-memory-contract.md), then detect_changes/trace_path/cross-boundary via codebase-memory-mcp.
Run $TEST_CMD/$LINT_CMD/$BUILD_CMD. Reindex CBM_PROJECT if stale (index_status→index_repository), then codebase-memory-mcp detect_changes/trace_path, recipes cycles/test-gaps/complexity/cross-boundary.
/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还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.
中文简介正在准备中。当前显示原文说明。
Proactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change.
中文简介正在准备中。当前显示原文说明。
Autonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting.
中文简介正在准备中。当前显示原文说明。
Persistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact.
中文简介正在准备中。当前显示原文说明。
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).
中文简介正在准备中。当前显示原文说明。
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
中文简介正在准备中。当前显示原文说明。