ablevarghese/ios-claude-toolkit/maestro-orchestrator

Claude Code and agent skill by ablevarghese/ios-claude-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Do these in parallel, split this into tasks, coordinate multiple things, too big for one agent. Multi-agent workflow coordination for complex development tasks — parallel execution, SDLC templates, dependency management, and escalation protocols. Trigger when: orchestrating multi-step workflows, running parallel reviews, managing emergency P0 response, structured bug fix pipelines, or the task involves 3+ files across different concerns. Also for 'handle all of this', 'do everything at once'. For single-skill work, invoke that skill directly instead.

Install

npx vskill@latest install ablevarghese/ios-claude-toolkit/maestro-orchestrator

SKILL.md

The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/maestro-orchestrator.

MAESTRO — Workflow Orchestration & Multi-Agent Coordination

Coordinate multi-step development workflows, manage parallel agent execution, handle dependency resolution between tasks, and run escalation protocols for critical issues.

Iron Law: "Independent tasks run in parallel. Dependent tasks run sequentially. Never guess — verify the dependency."

Task Dependency Analysis

Before assigning any work to agents, you must analyze task dependencies. Getting this wrong means agents either block on each other (wasted time) or produce conflicting changes (wasted work).

Dependency Decision Tree
START: You have tasks A and B.
Q1: Does Task B need the OUTPUT of Task A?
├── YES → Sequential. B runs AFTER A completes.
│ Examples:
│ - "Write tests" then "implement code" (tests define the interface)
│ - "Investigate bug" then "fix bug" (need root cause first)
│ - "Design schema" then "write migration" (migration needs the schema)
│
└── NO →
Q2: Does Task B modify the SAME FILES as Task A?
├── YES → Sequential OR use worktree isolation.
│ Q3: Can you use separate worktrees?
│ ├── YES → Parallel with worktree isolation.
│ └── NO → Sequential. Same-file parallel edits cause merge conflicts.
│
└── NO →
Q3: Does Task B depend on the same EXTERNAL STATE as Task A?
(same database table, same API endpoint, same configuration)
├── YES → Careful. May need sequential if state changes affect both.
└── NO → PARALLEL. These tasks are independent. Run them simultaneously.
Phase Gate: DEPENDENCY ANALYSIS

Cannot spawn agents until:

  • [ ] All tasks are listed with clear deliverables
  • [ ] Dependency graph is determined: which tasks need output from other tasks?
  • [ ] Parallel vs sequential is decided based on actual dependencies (not assumption)
  • [ ] No two agents will edit the same file

Hard Stop: If two agents would edit the same file — RESTRUCTURE. Overlapping file edits cause merge conflicts and lost work. Split the work so each file has exactly one owner.

Common Dependency Patterns
Task ATask BDependency?Run
Write testsImplement featureYES — tests define the interfaceSequential: A → B
Review securityReview performanceNO — different concerns, read-onlyParallel
Update schemaWrite API handlerYES — handler needs new schemaSequential: A → B
Write service testsWrite view testsNO — different files, different concernsParallel
Fix auth bugUpdate docsYES — docs should reflect the fixSequential: A → B
Investigate bugReview unrelated PRNO — completely independentParallel

Agent Tool Syntax & Invocation

Agent Types
subagent_typeCapabilitiesWhen to Use
general-purposeRead, Write, Edit, Bash, Grep, GlobImplementation work, bug fixes, refactoring
ExploreRead, Grep, Glob (read-only)Investigation, code analysis, review
PlanRead, Grep, Glob (read-only)Planning, architecture analysis, strategy
Invocation Pattern
Agent tool call parameters:
- prompt: Clear, specific instruction with all context the agent needs
- subagent_type: "general-purpose" | "Explore" | "Plan"
- run_in_background: true (for genuinely independent tasks) | false (when you need the result)
Phase Gate: AGENT LAUNCH

Each agent MUST have before spawning:

  • [ ] Specific task description (not vague — exact deliverable)
  • [ ] Output path (where to save results)
  • [ ] Success criteria (how to know it worked)
  • [ ] Failure handling (what to do if it fails)

Counter: If an agent fails, understand WHY before respawning. At 2 failures for the same task — the task definition is wrong. Restructure.

Writing Effective Agent Prompts

Every agent prompt must include:

  1. What to do: Specific, concrete task description
  2. Where to look: File paths, directories, modules
  3. What to produce: Expected output format
  4. Constraints: What NOT to do, boundaries, skill references
Example prompt (good):
"Review all Swift files in Sources/Services/ for Swift 6 strict concurrency violations.
Check for: missing @MainActor on ViewModels, @Published mutations outside MainActor,
missing Sendable conformance on types passed between actors.
Use the ios-review skill's Phase 3 (Concurrency Audit) checklist.
Output: table with columns [File:Line, Issue, Severity, Fix].
Do NOT edit any files — this is a review, not a fix."
Example prompt (bad):
"Check the code for issues."
→ Too vague. What code? What issues? What output format?
Background vs Foreground Decision
Q1: Do you need the result of this agent BEFORE the next step?
├── YES → Foreground (run_in_background: false)
│ You'll wait for the result before proceeding.
│ Examples: investigation before fix, plan before implementation
│
└── NO →
Q2: Is this agent genuinely independent of other work?
├── YES → Background (run_in_background: true)
│ You'll be notified when it completes.
│ Examples: parallel reviews, independent feature work
│
└── NO → Foreground. If there's any dependency, wait for it.

Workflow Templates

Template 1: Feature Development
WORKFLOW: New Feature Implementation
ESTIMATED AGENTS: 3-4
ESTIMATED TIME: 2-4 hours
Step 1: PLAN (foreground, Plan agent)
Task: Analyze requirements, identify affected files, design approach
Skill: forge-development (architecture patterns)
Output: Implementation plan with file list and test list
Dependencies: None (first step)
Step 2: PARALLEL PHASE
Step 2a: WRITE TESTS (background, general-purpose agent)
Task: Write failing tests for all acceptance criteria
Skill: forge-development (TDD patterns)
Input: Test list from Step 1
Output: Test files with all tests failing (RED phase)
Dependencies: Step 1 output
Step 2b: PREPARE INFRASTRUCTURE (background, general-purpose agent)
Task: Create/update database migrations, API contracts
Skill: Project-specific infrastructure skill
Input: Schema changes from Step 1
Output: Migration files, updated API types
Dependencies: Step 1 output
Note: Only if schema/API changes are needed
Step 3: IMPLEMENT (foreground, general-purpose agent)
Task: Write implementation code to make tests pass
Skill: forge-development (GREEN phase)
Input: Failing tests from 2a, infrastructure from 2b
Output: Implementation code with all tests passing
Dependencies: Steps 2a AND 2b must complete first
Step 4: REVIEW (foreground, Explore agent)
Task: Review implementation for quality, security, concurrency
Skill: ios-review (5-phase protocol)
Input: All changed files from Steps 2-3
Output: Review report with findings
Dependencies: Step 3
Step 5: FIX & REFACTOR (foreground, general-purpose agent)
Task: Address review findings, refactor for cleanliness
Skill: forge-development (REFACTOR phase)
Input: Review findings from Step 4
Output: Clean, reviewed code with all tests passing
Dependencies: Step 4
Step 6: COMMIT & DOCUMENT (foreground, general-purpose agent)
Task: Commit changes, update project documentation
Skills: heimdall-git, documentation
Dependencies: Step 5
Template 2: Bug Fix Pipeline
WORKFLOW: Bug Fix
ESTIMATED AGENTS: 2-3
ESTIMATED TIME: 1-2 hours
Step 1: INVESTIGATE (foreground, Explore agent)
Task: Find root cause by analyzing error reports, logs, and code
Output: Root cause analysis with file:line reference
Dependencies: None
Step 2: REPRODUCE (foreground, general-purpose agent)
Task: Write a test that reproduces the bug (must FAIL)
Skill: forge-development (RED phase — the test proves the bug exists)
Input: Root cause from Step 1
Output: Failing test
Dependencies: Step 1
Step 3: FIX (foreground, general-purpose agent)
Task: Implement minimum fix to make the test pass
Skill: forge-development (GREEN phase)
Input: Failing test from Step 2
Output: Passing test + fix
Dependencies: Step 2
Step 4: VERIFY (foreground, Explore agent)
Task: Review fix for side effects, run full test suite
Skill: ios-review (focused on the changed files)
Output: Verification report
Dependencies: Step 3
Step 5: COMMIT & DOCUMENT (foreground, general-purpose agent)
Task: Commit with "fix(scope): description", update STATUS.md
Skills: heimdall-git, documentation
Dependencies: Step 4
Template 3: Code Review Workflow
WORKFLOW: Comprehensive Code Review
ESTIMATED AGENTS: 2-3 (parallel)
ESTIMATED TIME: 30-60 minutes
Step 1: PARALLEL REVIEW PHASE
Step 1a: ARCHITECTURE + CONCURRENCY REVIEW (background, Explore agent)
Task: ios-review Phases 2-3 (architecture audit, concurrency audit)
Output: Findings table for architecture and concurrency
Step 1b: SECURITY + QUALITY REVIEW (background, Explore agent)
Task: ios-review Phase 4 (security scan, quality checks)
Output: Findings table for security and quality
Step 2: COMPILE REPORT (foreground, Plan agent)
Task: Merge findings from 1a and 1b into unified report
Skill: ios-review Phase 5 (report generation)
Input: Findings from Steps 1a and 1b
Output: Complete review report with merge verdict
Dependencies: Steps 1a AND 1b
Template 4: Emergency Response (P0)
WORKFLOW: P0 Emergency
ESTIMATED AGENTS: 1-2
ESTIMATED TIME: 30-90 minutes
⚠️ EMERGENCY RULES:
- No parallel agents. Sequential only. Clarity over speed.
- Every step verified before proceeding.
- Owner notified at Step 1.
Step 1: TRIAGE (immediate, foreground)
Task: Capture current state — error details, affected users, blast radius
Output: Incident summary with severity assessment
Action: Notify owner
Step 2: CONTAIN (foreground, general-purpose agent)
Task: Apply immediate containment (feature flag, disable endpoint, revert)
Output: Containment applied, bleeding stopped
Dependencies: Step 1
Step 3: ROOT CAUSE (foreground, Explore agent)
Task: Investigate root cause — logs, Sentry, code analysis
Output: Root cause with file:line reference
Dependencies: Step 2
Step 4: FIX (foreground, general-purpose agent)
Task: Implement targeted fix with test
Skill: forge-development (focused TDD)
Output: Fix + test, all tests passing
Dependencies: Step 3
Step 5: VERIFY (foreground, Explore agent)
Task: Review fix, run full test suite, verify containment can be removed
Output: Verification report
Dependencies: Step 4
Step 6: POSTMORTEM (foreground, Plan agent)
Task: Document what happened, why, how it was fixed, how to prevent recurrence
Skill: documentation
Output: Postmortem document
Dependencies: Step 5
Template 5: Migration Workflow
WORKFLOW: Data/Schema Migration
ESTIMATED AGENTS: 2-3
ESTIMATED TIME: 2-4 hours
Step 1: PLAN (foreground, Plan agent)
Task: Analyze migration scope, identify affected tables/queries/services
Output: Migration plan with rollback strategy
Step 2: BACKUP VERIFICATION (foreground, general-purpose agent)
Task: Verify backup exists and is recent, or create one
Dependencies: Step 1
Step 3: IMPLEMENT MIGRATION (foreground, general-purpose agent)
Task: Write migration files, update affected services
Dependencies: Step 2
Step 4: PARALLEL VERIFICATION
Step 4a: TEST MIGRATION (background, general-purpose agent)
Task: Run migration against test database, verify data integrity
Step 4b: TEST ROLLBACK (background, general-purpose agent)
Task: Test rollback procedure, verify it restores previous state
Step 5: APPLY (foreground, general-purpose agent)
Task: Apply migration to target environment
Dependencies: Steps 4a AND 4b passing
Step 6: VERIFY (foreground, Explore agent)
Task: Verify migration success — data integrity, no broken queries
Dependencies: Step 5

Agent Failure Handling

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ablevarghese/ios-claude-toolkit/maestro-orchestrator/badge)](https://verified-skill.com/skills/ablevarghese/ios-claude-toolkit/maestro-orchestrator)

Something wrong with this skill or its page? Tell us.