orchestrate

4
0
Source

Orchestration mode for implementation tasks. Manages the plan → code → review loop. Use /orchestrate <requirements> or let /implement invoke it.

Install

mkdir -p .claude/skills/orchestrate && curl -L -o skill.zip "https://mcp.directory/api/skills/download/3015" && unzip -o skill.zip -d .claude/skills/orchestrate && rm skill.zip

Installs to .claude/skills/orchestrate

About this skill

Orchestration Mode

You are the orchestrator. You hold requirements, delegate to agents, and verify outcomes. You do not read or write code directly.

First: Create a Task Checklist

Before delegating any work, create a task list using TaskCreate to map out the flow:

  1. Break down the requirements into discrete tasks
  2. Each task should map to an acceptance criterion
  3. Use tasks to track progress through the plan → code → review loop

Example:

TaskCreate: "Create feature file for user auth"
TaskCreate: "Implement login endpoint"
TaskCreate: "Implement logout endpoint"
TaskCreate: "Review implementation"

Update task status as you progress (in_progress when starting, completed when done).

Source of Work

All work should be tied to a GitHub issue. If you don't have issue context:

  • Ask for the issue number
  • Fetch it with gh issue view <number>

The issue is the source of truth for requirements and acceptance criteria.

Context Management

Be aware of context size. When context grows large, ask the user if they'd like to compact before continuing. Agents work in isolated forks and return summaries.

PR Lifecycle (Push Early, Draft Early)

Every implementation — bug fix or feature — follows this PR lifecycle:

  1. First commit → push + draft PR immediately. As soon as the first meaningful commit lands, push to the remote branch and create a draft PR (gh pr create --draft). Include the issue number in the body for linking. This makes work visible early.
  2. Push incrementally. After each subsequent commit (fix, review feedback, etc.), push to keep the remote up to date.
  3. Mark ready when done. Only after all verification passes, run gh pr ready to mark the PR for review.

Do NOT wait until the end to create the PR. The draft PR is created right after the first commit, not at completion.


Bug Detection

Before starting any workflow, classify the issue as a bug or feature:

  1. GitHub label — the issue has the label bug
  2. Title keywords — the title contains any of these words (case-insensitive, word boundaries): fix, bug, broken
  3. Issue template — the issue was created from the bug_report template

If ANY of these match → use the Bug-Fix Workflow below. Otherwise → use the Feature Workflow (the full plan → code → review loop).

Bug-Fix Workflow

A shorter workflow for bug fixes. Skips planning, challenge, user approval, and test review — focuses on investigation, minimal fix with regression test, verification, review, and browser verification.

1. Investigate

  • Mark task as in_progress
  • Invoke /code with the issue description and instruction to investigate the root cause
  • Coder agent explores the codebase and reports findings

2. Fix

  • Invoke /code with investigation findings and instruction to make the minimal fix
  • Coder agent implements the fix with TDD:
    • Write a regression test that fails without the fix
    • Make the fix
    • Verify the test passes

Note: Steps 2 and 3 can overlap — the coder agent in step 2 should run typecheck and tests as part of its TDD cycle. Step 3 is the orchestrator's verification.

3. Verify

  • Run pnpm typecheck and pnpm test:unit / pnpm test:integration
  • If failures → invoke /code with the errors
  • Max 3 iterations, then escalate to user

4. Review

  • Invoke /review to run quality gate
  • If issues found → invoke /code with reviewer feedback
  • If approved → mark task as completed

5. Browser Verification (Conditional)

Only when the bug affects browser-observable behavior (UI rendering, user interactions, page navigation, etc.). Skip for backend-only, infra, script, or docs changes.

  • Invoke /browser-test with the bug description
    • /browser-test handles everything: dev instance lifecycle, browser verification, screenshots, commit/push, and PR description update
  • If verification fails → invoke /code with findings, re-run /browser-test
    • Max 2 iterations, then escalate to user

6. Finalize and Mark Ready

  • Mark PR as ready for review: gh pr ready
  • Invoke /drive-pr --once to fix any CI failures and address review comments

7. Verify and Finish

Before reporting done, run through this checklist. Every item must pass — if any fails, go back to the appropriate step.

Deliverables:

  • All tasks in the task list are marked completed
  • git status is clean — no uncommitted changes
  • git push is up to date with remote — no unpushed commits
  • Draft PR was created after first commit and is now marked ready

Quality:

  • pnpm typecheck passes
  • All relevant tests pass (pnpm test:unit, pnpm test:integration)
  • Regression test exists for the bug fix

PR completeness:

  • PR description includes what the bug was and how it was fixed
  • If browser-test ran: screenshots are visible in the PR body (not just local files)
  • CI is green or only has expected pending checks (e.g. check-approval-or-label)

Issue alignment:

  • Re-read the original issue — does the fix actually address the reported problem?
  • Are there any acceptance criteria in the issue that aren't covered?

If everything passes → report summary to user (include PR URL). If anything fails → fix it first.

Feature Workflow

Used for feature requests, enhancements, and all non-bug issues.

1. Plan (Required)

  • Check if a feature file exists in specs/features/
  • If not, invoke /plan to create one first
  • Read the feature file to understand acceptance criteria
  • Create tasks for each acceptance criterion

2. Challenge (Required)

  • Invoke /challenge with the feature file / plan
  • The devils-advocate agent will stress-test the proposal
  • Look for: hidden assumptions, failure modes, scope creep, missing edge cases
  • If significant issues found:
    • Update the feature file to address them
    • Re-run /challenge to verify fixes
  • If approved → proceed to User Approval

3. User Approval (Required)

  • STOP and show the feature file to the user
  • Present the acceptance criteria and scenarios clearly
  • Ask explicitly: "Please review the feature file. Do you approve this plan?"
  • Do NOT proceed until user explicitly approves
  • If user requests changes:
    • Update the feature file accordingly
    • Show the updated version
    • Ask for approval again
  • Only after explicit approval → proceed to Test Review

4. Test Review (Required)

  • Invoke /test-review on the feature file
  • Validates pyramid placement before any implementation begins
  • Checks that @integration, @unit tags are appropriate
  • If violations found:
    • Update the feature file to fix tag placement
    • Re-run /test-review to confirm fixes
  • If approved → proceed to Implement

5. Implement

  • Mark task as in_progress
  • Invoke /code with the feature file path and requirements
  • Coder agent implements with TDD and returns a summary
  • Mark task as completed when done

6. Verify

  • Check the coder's summary against acceptance criteria
  • If incomplete → invoke /code again with specific feedback
  • Max 3 iterations, then escalate to user

7. Review (Required)

  • Mark review task as in_progress
  • Invoke /review to run quality gate
  • If issues found → invoke /code with reviewer feedback
  • If approved → mark task as completed

8. Browser Verification (Conditional)

Only when acceptance criteria describe browser-observable behavior (UI rendering, user interactions, page navigation, visual changes). Skip for backend-only, infra, script, or docs features.

  • Mark browser-test task as in_progress
  • Invoke /browser-test with the feature file path
    • /browser-test handles everything: dev instance lifecycle, browser verification, screenshots, commit/push, and PR description update
  • If verification fails due to app bugs:
    • Invoke /code with the failing scenario and expected vs actual behavior
    • After fix, re-run /browser-test to verify
    • Max 2 iterations, then escalate to user
  • If all scenarios pass → mark task as completed

9. Self-Check (Required)

Before completing, verify you didn't make mistakes:

Review Compliance:

  • Did you address ALL items marked "Should fix (Important)"?
  • Did you ask the user about items marked "NEEDS USER DECISION"?
  • Did you skip any reviewer recommendations without justification?

Test Coverage:

  • Check the feature file for @unit, @integration, and @e2e tags
  • Verify tests exist for EACH tagged scenario
  • If a scenario is tagged @integration or @e2e but only unit tests exist, that's incomplete

Acceptance Criteria:

  • Re-read the feature file acceptance criteria
  • Verify each criterion is implemented AND tested

If ANY check fails:

  1. Do NOT proceed to Complete
  2. Go back to the appropriate step (Implement, Review, or Browser Verification)
  3. Fix the gap before continuing

This self-check exists because it's easy to rationalize skipping work. Don't.

10. Finalize and Mark Ready

  • Mark PR as ready for review: gh pr ready
  • Invoke /drive-pr --once to fix any CI failures and address review comments

11. Verify and Finish

Before reporting done, run through this checklist. Every item must pass — if any fails, go back to the appropriate step.

Deliverables:

  • All tasks in the task list are marked completed
  • Self-check (step 9) passed
  • git status is clean — no uncommitted changes
  • git push is up to date with remote — no unpushed commits
  • Draft PR was created after first commit and is now marked ready

Quality:

  • pnpm typecheck passes
  • All relevant tests pass (pnpm test:unit, pnpm test:integration)
  • Test coverage matches feature file tags (@unit, @integration, @e2e)

PR completeness:

  • PR description summarizes the feature and links to the issue
  • If browser-test ran: screenshots are visible in the PR body (not just local f

Content truncated.

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

643969

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

591705

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318398

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

339397

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

451339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.