本文へ移動
cccskills
無料GitHub で公開

workflow-routing

Use when starting any task, before invoking any other skill or GSD command, to route between Superpowers skills and GSD commands from project state and task scope. Fires first when both systems are installed.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md9.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Workflow Routing: Superpowers + GSD

Announce at start: "Workflow Routing skill activated."

Route every task to the right toolchain. Superpowers handles task-level quality (TDD, debugging, design, review). GSD handles project-level orchestration (phases, milestones, persistent state). They are complementary — never competing.

<HARD-GATE> Check routing BEFORE invoking any other skill or GSD command. This skill fires first. </HARD-GATE>

Detection: Is GSD Active?

Check the current working directory:

digraph detect {
    ".planning/ exists?" [shape=diamond];
    "ROADMAP.md exists?" [shape=diamond];
    "GSD ACTIVE" [shape=box, style=filled, fillcolor=lightblue];
    "GSD NOT ACTIVE" [shape=box, style=filled, fillcolor=lightyellow];

    ".planning/ exists?" -> "ROADMAP.md exists?" [label="yes"];
    ".planning/ exists?" -> "GSD NOT ACTIVE" [label="no"];
    "ROADMAP.md exists?" -> "GSD ACTIVE" [label="yes"];
    "ROADMAP.md exists?" -> "GSD NOT ACTIVE\n(stale or pre-roadmap)" [label="no"];
}

GSD active signals: .planning/PROJECT.md, .planning/ROADMAP.md, .planning/STATE.md all present.

Primary Routing Decision

digraph route {
    "Task received" [shape=doublecircle];
    "GSD active?" [shape=diamond];
    "Task in current phase scope?" [shape=diamond];
    "Scope: multi-phase?" [shape=diamond];
    "Use GSD commands" [shape=box, style=filled, fillcolor=lightblue];
    "Use /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
    "Suggest /gsd:new-project" [shape=box, style=filled, fillcolor=lightblue];
    "Use Superpowers skills" [shape=box, style=filled, fillcolor=lightyellow];

    "Task received" -> "GSD active?";
    "GSD active?" -> "Task in current phase scope?" [label="yes"];
    "GSD active?" -> "Scope: multi-phase?" [label="no"];
    "Task in current phase scope?" -> "Use GSD commands" [label="yes"];
    "Task in current phase scope?" -> "Use /gsd:quick" [label="no, small/unrelated"];
    "Scope: multi-phase?" -> "Suggest /gsd:new-project" [label="yes"];
    "Scope: multi-phase?" -> "Use Superpowers skills" [label="no"];
}

Scope Signals

SignalIndicatesRoute
"build app", "create platform", "new project", "implement system"Multi-phaseGSD
"phase", "milestone", "roadmap", "epic", "release"Multi-phaseGSD
6+ features, 2+ weeks, architectural decisions neededMulti-phaseGSD
"fix bug", "add button", "update function", "refactor method"Single-sessionSuperpowers
"quick fix", "hotfix", "one more thing"Small/ad-hocSuperpowers or /gsd:quick if GSD active
Unknown scope, user unsureUndetermined/brainstorming first to scope, then decide

Combined Workflows

Multi-Phase Project (GSD + Superpowers for Quality)

/brainstorming                    ← Superpowers: design before planning
  ↓
/gsd:new-project                  ← GSD: project structure + roadmap
  ↓
/gsd:plan-phase N                 ← GSD: detailed phase plan
  ↓
/gsd:execute-phase N              ← GSD: runs tasks with atomic commits
  ├── /systematic-debugging       ← Superpowers: if bug during execution
  └── /test-driven-development    ← Superpowers: TDD within each task
  ↓
/requesting-code-review           ← Superpowers: review before moving on
  ↓
/gsd:verify-work N                ← GSD: UAT validation
  ↓
/verification-before-completion   ← Superpowers: evidence-based "done"
  ↓
/gsd:progress                     ← GSD: route to next phase

Single-Session Task (Superpowers Only)

/brainstorming                    ← Explore intent, produce spec
  ↓
/writing-plans                    ← Break into TDD tasks
  ↓
/executing-plans                  ← Run tasks sequentially
  OR /subagent-driven-development ← Run tasks via parallel subagents
  ├── /systematic-debugging       ← If issues arise
  └── /test-driven-development    ← TDD per task
  ↓
/requesting-code-review           ← Review before done
  ↓
/verification-before-completion   ← Prove it works
  ↓
/finishing-a-development-branch   ← Merge, PR, or cleanup

Edge Case Decision Trees

"Debug this" — Which Tool?

digraph debug {
    "Bug reported" [shape=doublecircle];
    "GSD active?" [shape=diamond];
    "Bug related to current phase?" [shape=diamond];
    "Will span multiple sessions?" [shape=diamond];
    "/gsd:debug" [shape=box, style=filled, fillcolor=lightblue];
    "/systematic-debugging" [shape=box, style=filled, fillcolor=lightyellow];

    "Bug reported" -> "GSD active?";
    "GSD active?" -> "Bug related to current phase?" [label="yes"];
    "GSD active?" -> "Will span multiple sessions?" [label="no"];
    "Bug related to current phase?" -> "/gsd:debug" [label="yes"];
    "Bug related to current phase?" -> "/systematic-debugging\nthen /gsd:quick to commit" [label="no"];
    "Will span multiple sessions?" -> "/gsd:debug" [label="yes, need persistence"];
    "Will span multiple sessions?" -> "/systematic-debugging" [label="no, fix it now"];
}

"Plan this" — Which Tool?

digraph plan {
    "Planning requested" [shape=doublecircle];
    "GSD active?" [shape=diamond];
    "Feature in roadmap?" [shape=diamond];
    "/gsd:plan-phase N" [shape=box, style=filled, fillcolor=lightblue];
    "/gsd:add-phase or /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
    "/brainstorming then /writing-plans" [shape=box, style=filled, fillcolor=lightyellow];

    "Planning requested" -> "GSD active?";
    "GSD active?" -> "Feature in roadmap?" [label="yes"];
    "GSD active?" -> "/brainstorming then /writing-plans" [label="no"];
    "Feature in roadmap?" -> "/gsd:plan-phase N" [label="yes, phase N"];
    "Feature in roadmap?" -> "/gsd:add-phase or /gsd:quick" [label="no"];
}

Scope Escalation (Superpowers → GSD)

During /brainstorming, if scope grows beyond single-session:

Detection:
  - 5+ independent subsystems identified
  - 2+ weeks estimated work
  - Multiple architectural decisions needed
  - User says "this is bigger than I thought"

Action:
  "This needs GSD's phase structure for persistence across sessions.
   Ready to initialize /gsd:new-project with the spec we just brainstormed?"

  → Convert brainstorming output into GSD project input
  → User confirms escalation

User Picks Wrong Tool

User wants Superpowers for a large project:

"This sounds like it needs 5+ phases and multiple sessions. GSD would give you persistent state and milestone tracking. Want to use /gsd:new-project instead?"

User wants GSD for a tiny task:

"This is small enough for a single session — GSD's ceremony would slow us down. Let's use /brainstorming → /writing-plans → /executing-plans instead."

Always respect the user's final choice. Suggest, don't force.

Universal Rules (Both Toolchains)

  1. Always /brainstorming before creative work — regardless of GSD or Superpowers
  2. Always /verification-before-completion before claiming done — no exceptions
  3. Always /requesting-code-review after significant implementation — works in both contexts
  4. Always /test-driven-development when writing code — embedded discipline, not optional
  5. Always /systematic-debugging before proposing fixes — root cause first

Quick Reference: Command Mapping

TaskGSD ActiveNo GSD
Design a feature/brainstorming → /gsd:plan-phase/brainstorming → /writing-plans
Execute a plan/gsd:execute-phase N/executing-plans or /subagent-driven-development
Fix a bug (small)/gsd:quick/systematic-debugging
Fix a bug (complex)/gsd:debug/systematic-debugging
Review code/requesting-code-review/requesting-code-review
Verify work/gsd:verify-work N/verification-before-completion
Check progress/gsd:progressN/A (session-scoped)
Resume paused work/gsd:resume-workRe-read plan file
Ad-hoc task/gsd:quickDirect Superpowers workflow
Start new project/gsd:new-project/brainstorming → /writing-plans

Red Flags — You're Routing Wrong

SymptomProblemFix
Using /writing-plans when .planning/ existsBypassing GSD's plan structureUse /gsd:plan-phase instead
Using /gsd:new-project for a 1-hour taskOverkill, ceremony slows you downUse Superpowers workflow
Skipping /brainstorming because "it's obvious"Hidden assumptions will bite youBrainstorm first, always
Fixing bugs without /systematic-debuggingGuessing instead of investigatingRoot cause first
Claiming "done" without verification evidenceNo proof = no doneRun /verification-before-completion
Using Superpowers for multi-week workContext lost between sessionsEscalate to GSD
Ignoring stale GSD project in directory.planning/ exists for a reasonRun /gsd:progress to check state

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent training, instrumenting agents with tracing, configuring LightningStore, implementing reward functions, or optimizing prompts with RL/APO algorithms.

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

Post-run self-evaluation system that scores agent output on correctness, clarity, actionability, and conciseness. Use after /team runs, skill executions, or when explicitly asked to evaluate output quality.

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

Use when building AI features into a product: LLM integration, RAG pipelines, guardrails, streaming, AI UX, prompt engineering, or AI cost control. Treats prompts as code and validates every model output.

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

Your AI research and engineering brain trust. 59 named personas across 8 cells covering frontier labs, applied product, model architecture, reasoning/RL/agents, alignment and interpretability, theory and science of DL, multimodal and…

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

Use when designing a new REST or GraphQL API, reviewing an API spec before implementation, setting team API standards, or migrating REST to GraphQL. Covers resources, HTTP semantics, pagination, error handling, and pitfalls.

日本語の概要は準備中です。原文の説明を表示しています。

coco-research/coco5322026年10月10日 更新

coco-research のスキルをすべて見る

このスキルの問題を報告する