본문으로 건너뛰기
cccskills
무료GitHub에 공개

execute

Dispatch and execute implementation plans with TDD and checkpoints. Use when plan is ready. Parallel by default for independent tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md7.6 KB
  • scripts/review-package1.9 KB
  • scripts/sdd-workspace927 B
  • scripts/task-brief1.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/supergraph:execute

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

Steps

0. Announce

"I'm using /supergraph:execute to implement this plan."

1. Load Context

  • /supergraph:scan should already be done. If .supergraph-env missing → STOP: "Run /supergraph:scan first."
  • Commands from .supergraph-env (if present) or plan ## Environment Context

2. Select Plan

Count plan files in docs/supergraph/plans/*.md:

CountAction
0STOP: "Run /supergraph:plan first"
1Auto-select
>1, no plan <slug> argSTOP: list plans, ask user
plan <slug> providedMatch 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.

3. Critical Review

Read plan before dispatch:

  • Has ## Environment Context?
  • Selected tasks have all required fields (Status, Risk, Dependencies, Files, Acceptance, TDD, Steps, Checkpoint)?
  • Commands real, not placeholders? File paths exact?
  • Plan-reviewer returned 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.

4. Branch Protection

If main/master → STOP, suggest new branch or worktree. User approves → continue.

5. Determine Execution Mode & Group by Waves

Parse tasks from plan:

  • Wave-based DAG: Group incomplete tasks by Wave: N (e.g. Wave 1, Wave 2, Wave 3).
  • Auto-Wave fallback: If plan lacks Wave: fields, group tasks dynamically by dependencies:
    • Wave 1: Tasks with Dependencies: none.
    • Wave N: Tasks whose dependencies are all satisfied by Wave < N.
  • Wave Strategy:
    • Wave with 1 task → Sequential dispatch.
    • Wave with >1 tasks → Parallel dispatch of concurrent subagents.

6. Wave-by-Wave Dispatch

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.

Supergraph Native Team Engine (sg_task_* MCP Tools):

When supergraph-team MCP tools are available:

  1. Initialize Mission: Call 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).
  2. Register Tasks: Call sg_task_create for each plan task specifying id, title, wave, dependencies, and write_scopes.
  3. Dispatch Workers in Wave:
    • Lead checks ready tasks with sg_task_list(wave=N).
    • Dispatches workers (subagent / teammate).
    • Worker claims task: sg_task_claim(task_id, worker_id) → receives isolated worktree directory (.supergraph/worktrees/task-<id>).
    • Worker implements TDD inside worktree directory:
      • Worker enforces RED: sg_task_record_red(task_id, test_output).
      • Worker writes minimal GREEN code.
      • Worker submits: sg_task_submit(task_id, test_cmd).
  4. Merge & Sync:
    • Lead/Orchestrator runs verification gate: sg_task_verify_merge(task_id, test_cmd, commit_msg).
    • Engine automatically verifies test exit code 0, merges branch into base repo, and cleans up worktree.

Fallback / Native Subagent Runners (without MCP):

For each Wave:

  1. Prepare Wave Scope: Identify tasks belonging to current Wave.
  2. Sequential (1 task): Dispatch Agent(subagent_type="supergraph:executor") — run baseline tests first, execute task respecting dependencies, report task done/stuck + files changed.
  3. Parallel (>1 tasks):
    • Antigravity / Subagent Runners: Call 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).
      • Each subagent receives only its self-contained ## Task N snippet + ## Environment Context.
    • Claude Code / CLI: Spawn one subagent per task in one message with self-contained task scope.
    • Subagents execute TDD, report ACCEPTANCE_PASSED: Task N.
    • Orchestrator waits for all subagents in current Wave to report completion.
  4. Wave Synchronization & Merge:
    • Merge worktree/branch changes back to target branch.
    • Run Wave Verification $TEST_CMD.
    • Orchestrator updates task statuses to completed in plan file.
    • If tests pass → proceed to Wave N+1.
    • If any task fails/stuck (after max 3 retries) → trigger /supergraph:fix or STOP and consult user.

6.5 Durable Task Artifacts and Dispatch Safety

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.

  • batch only tasks with disjoint write sets and the same execution shape.
  • Send each worker task-N-brief.md; require task-N-report.md with exact RED/GREEN/REFACTOR and verification evidence.
  • Implementers and reviewers must not spawn subagents. The controller owns dispatch depth and parallelism.
  • On a conflict that is not catastrophic, the controller records the ruling, affected files, and why execution can continue. Catastrophic conflicts stop the wave.
  • Generate review-<base>..<head>.diff with review-package before scoped review.

7. Post-Execution Safety

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.

8. Final Verification

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.

9. Handoff

/supergraph:fix → /supergraph:integration → /supergraph:verify → /supergraph:review

10. Report

✅ 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.

Stop Conditions (Ask Instead of Guessing)

  • Plan not found or ambiguous | Missing Environment Context | Unclear instruction or placeholder
  • Branch is main/master without permission | Baseline tests fail | Dependency not completed
  • Agent stuck after 3 retries

Rules

  • Parallel when zero file overlap + no dependencies | Sequential for dependencies
  • One commit per task, NEVER mid-TDD | Never git add -A
  • Max 3 retries per step | Self-contained prompt per parallel agent
  • Always verify after parallel | Always review plan before dispatch
  • Never create plan — only execute
  • Prefer Serena symbol tools over text edits when available

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

caveman

무료

Persistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

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).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datit309/supergraph212026년 10월 18일 업데이트

datit309의 스킬 모두 보기

이 스킬의 문제 신고