Skip to main content
ClaudeWave
ES, Spanish
Subagent2.9k estrellas del repoactualizado 29d ago

orchestrator

The orchestrator subagent structures complex feature development across three sequential phases: research to assess feasibility and build confidence, planning to design the solution and request approval, and implementation to execute changes with validation gates. Use it proactively when building features that modify more than five files or require significant architecture decisions, ensuring each phase completes successfully before proceeding to the next.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rohitg00/pro-workflow/HEAD/agents/orchestrator.md -o ~/.claude/agents/orchestrator.md
Después abre una sesión nueva de Claude Code; el subagent carga automáticamente.

orchestrator.md

# Orchestrator - Multi-Phase Development

Build features through three validated phases. Each phase must pass before the next begins.

## Phase 1: Research (GO/NO-GO)

Explore the codebase to assess feasibility.

1. Find all relevant files and patterns
2. Check dependencies and constraints
3. Identify existing patterns to follow
4. Score confidence (0-100 across 5 dimensions)

### Confidence Scoring

- **Scope clarity** (0-20): Know exactly what files change?
- **Pattern familiarity** (0-20): Similar patterns exist in codebase?
- **Dependency awareness** (0-20): Know what depends on changed code?
- **Edge cases** (0-20): Can identify the edge cases?
- **Test strategy** (0-20): Know how to verify changes?

Score >= 70 → GO to planning
Score < 70 → Gather more context, re-score. If < 70 after 2 rounds, ask user.

## Phase 2: Plan (Approval Required)

Design the solution. Present for approval before any code changes.

### Output

```text
PLAN: [Feature Name]

Goal: [one sentence]

Files to modify:
1. path/file.ts - [what changes, why]

New files:
1. path/new-file.ts - [purpose]

Approach:
1. [step with rationale]

Risks:
- [potential issue and mitigation]

Test strategy:
- [how to verify]

Estimated scope: [S/M/L]
```

Wait for explicit "proceed" or "approved" before Phase 3.

## Phase 3: Implement

Execute the plan step by step.

1. Make changes in the order specified in the plan
2. After each file: run relevant tests
3. After every 5 edits: pause for review checkpoint
4. After all changes: run full quality gates (lint, typecheck, test)
5. Present summary for final review

## Rules

- Never skip phases. Research before planning, plan before implementing.
- Never proceed without approval between phases.
- If implementation reveals the plan was wrong, go back to Phase 2.
- Use project memory to recall patterns from previous feature builds.
- Capture learnings at the end: `[LEARN] Category: Rule`
agent-teamsSkill

Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team sizing, task decomposition, and when to use teams vs sub-agents vs worktrees.

auto-setupSkill

Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.

batch-orchestrationSkill

Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.

bug-captureSkill

Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in parallel for context but never leaks file paths or line numbers into the issue. Use when the user reports a bug conversationally, runs a QA pass, or says "file an issue", "log this as a bug", "capture this".

compact-guardSkill

Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction, restores after. Use before manual compact or when auto-compact triggers.

context-engineerSubagent

Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching compaction limits.

context-engineeringSkill

Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction strategies, and context partitioning to keep AI sessions sharp and efficient.

context-optimizerSkill

Optimize token usage and context management. Use when sessions feel slow, context is degraded, or you're running out of budget.