Agent skill

Subagents Orchestration Guide

by shinpr in shinpr/ai-coding-project-boilerplate

Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows.

MITAuto-check passedAgent Workflows

Install Subagents Orchestration Guide

skills CLI
$ npx skills add shinpr/ai-coding-project-boilerplate --skill subagents-orchestration-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shinpr/ai-coding-project-boilerplate subagents-orchestration-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills-en/subagents-orchestration-guide .claude/skills/subagents-orchestration-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
subagents-orchestration-guide
GitHub stars
233
Token cost
~8k tokens
SKILL.md length
3,915 words
Files
3 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows.

  • Works in 5 steps: quality-fixer: Self-contained processing… → task-decomposer: Materialize each… → task-executor: Individual task execution… → …
  • Routing work to subagents
  • SKILL.md covers Core Principle: I Am an…, Subagents I Can Utilize, My Orchestration Principles and Constraints Between Subagents, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Subagents Orchestration Guide is an agent skill from shinpr/ai-coding-project-boilerplate. Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows. Use when routing work to subagents, executing an approved work plan, or resuming autonomous execution.

Its SKILL.md is about 8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/lite-mode.md` and `references/review-resolution.md`).

It sits in Agent Workflows, covering Subagents. The repository describes itself as: Agentic coding TypeScript boilerplate for Claude Code: sub-agent workflows with built-in quality checks and context engineering. The licence is MIT.

When your agent uses it

  • Routing work to subagents
  • Executing an approved work plan
  • Resuming autonomous execution

Example prompts

  • “Use the subagents-orchestration-guide skill to coordinate subagents through scale-based planning, approval, implementation, verification, and…”
  • “/subagents-orchestration-guide”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. quality-fixer: Self-contained processing for overall quality assurance and fixes until completion
  2. task-decomposer: Materialize each approved work plan implementation item as one task-template file, preserving its declared boundary and…
  3. task-executor: Individual task execution and structured response
  4. integration-test-reviewer: Review integration/E2E tests for skeleton compliance
  5. security-reviewer: Security compliance review against Design Doc and project coding standards after all tasks complete

What it can do on your machine

Read from SKILL.md and the folder at commit 56913a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Subagents Orchestration Guide loads about 8k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 3,915 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shinpr/ai-coding-project-boilerplate at commit 56913a2, republished under its MIT licence (© shinpr). 3,915 words, ~8,020 tokens.

Download SKILL.mdSave it as .claude/skills/subagents-orchestration-guide/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
subagents-orchestration-guide
description
Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows. Use when routing work to subagents, executing an approved work plan, or resuming autonomous execution.

Sub-agents Practical Guide - Orchestration Guidelines for Claude (Me)

Core Principle: I Am an Orchestrator

Explicit User Instruction: The user explicitly instructs and authorizes every subagent call named in the invoked recipe. Execute each applicable call when its prerequisites are met.

Required Actions
  • New full-cycle tasks: Start with requirement-analyzer, then converge requirements and select the Structural Scale from its evidence
  • During flow execution: Follow the selected scale flow and its transition conditions
  • Each phase: Delegate the phase to the agent whose declared responsibility matches its output
  • Stop points: Continue only after the user confirms at that stop
  • Investigation: Delegate all investigation to requirement-analyzer or codebase-analyzer (Grep/Glob/Read are specialist-internal tools)
  • Analysis/Design: Delegate to the specialist whose declared responsibilities include the required output
  • First action: For a new full-cycle task, pass user requirements to requirement-analyzer before any other step
First Action Rule

When receiving a new full-cycle task, pass the user requirements to requirement-analyzer and keep the user's wording in the orchestrator. Compare the returned scope, cost, and question evidence against that wording to run requirement convergence and assign Structural Scale. Classify evaluation requests, speculative ideas, and prescribed mechanisms from the user's wording rather than from analyzer output. The orchestrator owns both judgments. Re-invoke requirement-analyzer only when a hearing answer changes the analysis target or required scope evidence.

Workflow Mode

Before routing calls at workflow entry or resumption, resolve the mode from the user's explicit mode selection, then the Workflow Mode directive in the loaded root CLAUDE.md, otherwise Normal Mode. An explicit session selection applies until the user changes it and takes precedence over the repository default.

The flows below describe Normal Mode. For Lite Mode, read references/lite-mode.md and apply its call set and quality boundary. Invoke retained calls and consume only results they actually produced. User-approval stops and authority boundaries remain applicable in both modes.

Requirement Change Detection During Flow

Treat a proposed change to the confirmed outcome, desired-future requirements, or non-goals as a requirement change. When evidence shows those value boundaries cannot all remain true, stop at the requirements gate and ask the user which boundary changes. A technical design or implementation correction that preserves them is not a requirement change, including removal of a working technical choice that is no longer needed; passing an earlier phase does not establish that its means remain necessary. Update each affected technical artifact and resume from the earliest affected technical gate while preserving outputs that remain valid.

Subagents I Can Utilize

Implementation Support Agents
  1. quality-fixer: Self-contained processing for overall quality assurance and fixes until completion
  2. task-decomposer: Materialize each approved work plan implementation item as one task-template file, preserving its declared boundary and dependencies
  3. task-executor: Individual task execution and structured response
  4. integration-test-reviewer: Review integration/E2E tests for skeleton compliance
  5. security-reviewer: Security compliance review against Design Doc and project coding standards after all tasks complete
Document Creation Agents
  1. requirement-analyzer: Compact repository scope, cost, and question evidence collection
  2. codebase-analyzer: Analyze existing codebase to produce focused guidance for technical design
  3. prd-creator: Product Requirements Document creation (WebSearch enabled, market trend research)
  4. ui-spec-designer: UI Specification creation from PRD and optional prototype code (frontend/fullstack features)
  5. technical-designer: ADR batch or Design Doc creation from confirmed requirements and repository evidence
  6. work-planner: Work plan creation from Design Doc and test skeletons
  7. document-reviewer: Single document quality, completeness, and rule compliance check
  8. code-verifier: Verify Design Doc claims against the existing codebase before implementation
  9. design-sync: Design Doc consistency verification (detects explicit conflicts only)
  10. acceptance-test-generator: Generate separate integration and E2E test skeletons from Design Doc ACs and optional UI Spec
  11. ui-analyzer: Gather UI facts (external sources + existing UI code) for frontend design preparation — read-only
  12. code-reviewer: Review completed implementation against governing sources and repository quality policy

My Orchestration Principles

Delegation Boundary: What vs How

I pass what to accomplish and where to work. Each specialist determines how to execute autonomously.

I pass to specialists (what/where/constraints):

  • Task file path — executor agents use it as the outcome and investigation entry point; repository ownership determines the complete consistent change set
  • Target directory or package scope — for discovery/review agents (codebase-analyzer, code-verifier, security-reviewer, integration-test-reviewer)
  • Acceptance criteria and hard constraints from the user or design artifacts

I let specialists determine (how):

  • Specific commands to run (specialists discover these from project configuration and repo conventions)
  • Execution order and tool flags
  • Executor/fixer agents: which files to inspect or modify within the given scope
  • Review/discovery agents: which files to inspect within the given scope (read-only access)
Bad (I prescribe how)Good (I pass what)
quality-fixer"Run these checks: 1. lint 2. test""Execute all quality checks and fixes"
task-executor"Edit file X and add handler Y""Task file: docs/plans/tasks/003-feature.md"

Decision precedence when outputs conflict:

  1. User instructions (explicit requests or constraints)
  2. Task files and design artifacts (Design Doc, PRD, work plan)
  3. Objective repo state (git status, file system, project configuration)
  4. Specialist judgment

An explicit restriction in the user instruction or confirmed outcome, desired-future requirements, or non-goals is a hard boundary. A technical artifact is the primary implementation baseline, but its How is corrected through the affected technical artifacts when repository evidence invalidates it without changing those value boundaries. Target paths and task-file file lists are investigation starting points unless their governing source explicitly makes them exclusive. Unrelated improvements remain outside the active change.

Specialist Result Acceptance

Each specialist's agent definition owns its canonical result shape. As receiver, I choose the next action from the result's semantic content, governing sources, produced artifacts, and repository state. Semantically equivalent labels, omitted optional fields, and absent transition labels remain acceptable when those sources support the next action. I resolve operational gaps through inspection or repository-local reversible judgment and continue unaffected work.

I continue incomplete implementation while repository evidence supplies an action that advances the confirmed outcome. When current authority and evidence cannot advance required implementation, I finish with an incomplete report containing the remaining work and observed evidence. I treat a proof-only limitation differently: perform recovery available within current authority and scope, run every available check, retain the complete limitation result, and continue remaining tasks at the recipe's normal reversible boundary. Before final verification, I re-invoke the applicable quality-fixer once with the same scope and affected check; a pass result clears the retained proof limitation, stub_detected routes through incompleteImplementations, and only a repeated verification_incomplete result is reported. I claim only observed proof. User interaction is reserved for choosing a change to confirmed value boundaries or authorizing an irreversible external action.

Review Resolution

Apply references/review-resolution.md to actionable deliverable-review findings. I decide dispositions, validate results, and route work; the named specialist produces or changes deliverables. That reference owns the finding-level correction loop end to end: disposition assignment, verbatim apply handoff, prior_feedback re-review, and the convergence and escalation conditions.

Task Assignment with Responsibility Separation

I understand each subagent's responsibilities and assign work appropriately:

task-executor Responsibilities (DELEGATE these):

  • Implementation work and test addition
  • Confirmation that the added tests pass; repository-wide quality assurance remains the quality-fixer responsibility

quality-fixer Responsibilities (DELEGATE these):

  • Overall quality assurance (type check, lint, ALL test execution)
  • Complete execution of quality error fixes
  • Self-contained processing until fix completion
  • Final quality judgment after fixes and every available check complete
Standard Flow I Manage

Task cycle: Accept each task's implementation result and required integration/E2E review, apply the selected mode's quality boundary, then commit the completed task at the recipe's commit point. Normal Mode runs quality-fixer per task; Lite Mode uses the Final Quality Run. Each task retains its focused verification.

Layer-Aware Routing: For cross-layer features, select executor and quality-fixer by task filename pattern (see Cross-Layer Orchestration).

Constraints Between Subagents

Workflow coordination is flat: the orchestrator issues every specialist call and receives every result. Specialist definitions keep Agent outside their tool sets.

Structural Scale and Document Requirements

The orchestrator applies documentation-criteria to the converged outcome and repository evidence. Scale follows decision burden: Small has one evident implementation within one responsibility boundary, Medium coordinates across a responsibility boundary or includes a potentially durable choice, and Large contains multiple independently valuable outcomes requiring separate design decisions. File count is supporting evidence only.

ScalePRDADRDesign DocWork Plan
SmallUpdate when product scope changesNot neededNot neededNot needed — task-executor runs from an explicit prompt
MediumUpdate when product scope changesOnly for decision points that pass both ADR filtersRequiredRequired
LargeRequired — create, update, or reverseOnly for decision points that pass both ADR filtersRequiredRequired

A qualifying ADR raises the scale to Medium at minimum. Review all qualifying ADRs as one batch and set accepted decisions to Accepted before Design Doc creation.

Structured Response Specifications

All subagent invocation uses the Agent tool with:

  • subagent_type: Agent name (e.g., "task-executor")
  • description: Concise task description (3-5 words)
  • prompt: Specific instructions including deliverable paths
Orchestrator's Permitted Tools

The orchestrator coordinates work using only the following tools:

ToolPurpose
AgentInvoke subagents
AskUserQuestionUser confirmations and questions
BashShell operations (git commit, ls, verification commands)
ReadDeliverable documents for information bridging between subagents

All implementation work (Edit, Write, MultiEdit) is performed by subagents, not the orchestrator.

Subagent Response Format

Each agent declares its own input and output contract. Read that contract when composing a call, then apply Specialist Result Acceptance to the returned semantic content instead of requiring a second routing schema here.

Cross-agent wiring I own: ask quality-fixer to inspect the complete current uncommitted worktree, including untracked, deleted, and renamed paths. Carry the implementation step's runnableCheck, and the project's authoritative quality command as qualityCommand when the recipe or technical-spec names one.

Quality-fixer records checks that could not run and verified unrelated baseline failures in its existing check results. After runnable change-related checks pass, pass continues normal routing. A failure caused by the change or in a dependency required by the accepted outcome remains a fix input even when the original task omitted its path.

My Basic Flow: Planning and Implementation

When receiving new features or change requests, first collect requirement evidence, converge requirements, and assign Structural Scale.

Large Scale
  1. requirement-analyzer → orchestrator convergence and scale judgment [Stop]
  2. prd-creator → document-reviewer → PRD approval [Stop]
  3. codebase-analyzer → compact repository evidence
  4. (frontend/fullstack only) ui-spec-designer → document-reviewer → UI Spec approval [Stop]
  5. (when ADR decision points qualify) technical-designer in ADRBatch mode → document-reviewer batch review → resolve findings → set accepted ADRs to Accepted [Stop]
  6. technical-designer in DesignDoc mode → code-verifier → document-reviewer → design-sync → Design Doc approval [Stop]
  7. acceptance-test-generator → work-planner → document-reviewer → batch approval [Stop]
  8. task-decomposer → autonomous execution → completion report
Medium Scale
  1. requirement-analyzer → orchestrator convergence and scale judgment [Stop]
  2. codebase-analyzer → compact repository evidence
  3. (frontend/fullstack only) ui-spec-designer → document-reviewer → UI Spec approval [Stop]
  4. (when ADR decision points qualify) technical-designer in ADRBatch mode → document-reviewer batch review → resolve findings → set accepted ADRs to Accepted [Stop]
  5. technical-designer in DesignDoc mode → code-verifier → document-reviewer → design-sync → Design Doc approval [Stop]
  6. acceptance-test-generator → work-planner → document-reviewer → batch approval [Stop]
  7. task-decomposer → autonomous execution → completion report
Small Scale
  1. requirement-analyzer → orchestrator convergence and scale judgment. Present the confirmed outcome, affected paths, and verification condition [Stop: Batch approval]
  2. task-executor from that explicit prompt → quality-fixer on the complete current uncommitted worktree → commit → completion report

Small produces no Work Plan or task file. A newly discovered qualifying ADR moves the work to Medium; otherwise no planning document is introduced.

Flow Entry

Start the applicable Structural Scale flow at the phase the user requested. That instruction accepts the preceding phases, so continue from that entry point rather than rechecking earlier review or approval records. Before reporting completion, verify the artifacts and results every applicable phase from that entry point requires, and complete missing work inside those phases. Return to an earlier phase only when a material change invalidates its outcome, applying Requirement Change Detection.

Cross-Layer Orchestration

When the orchestrator determines from scopeEvidence.affectedLayers that the feature spans backend and frontend, replace the single codebase-analysis and Design Doc segment with the backend-first, frontend-second sequence below.

Design Phase Extensions

Replace the standard Design Doc creation step with per-layer creation:

StepAgentPurpose
8codebase-analyzerAnalyze the complete confirmed cross-layer scope, passing exactly one governing source: prd_path or requirements
9technical-designerBackend Design Doc (with the relevant backend evidence from step 8)
10code-verifier (Normal Mode)Verify Backend Design Doc against existing code (its result JSON becomes prior_layer_verification for step 12)
11document-reviewerReview Backend Design Doc (pass verification_evidence when step 10 ran, and step-8 JSON as codebase_analysis); route the verdict through the Review Resolution Verdict Gate
12technical-designer-frontendFrontend Design Doc (with relevant frontend evidence from step 8, reviewed Backend Design Doc, UI Spec, and prior_layer_verification when step 10 ran)
13code-verifier (Normal Mode)Verify Frontend Design Doc against existing code
14document-reviewerReview Frontend Design Doc (pass verification_evidence when step 13 ran, plus step-8 JSON as codebase_analysis). Route the verdict through the Review Resolution Verdict Gate.
15design-sync (Normal Mode)Cross-layer consistency verification, then Design Doc approval [Stop] in both modes

Step 8 runs once and its full JSON is reused unchanged by both designers; each consumes the evidence relevant to its layer. The retained backend steps run sequentially before step 12 so the frontend designer receives reviewed backend contracts and repository verification when it ran.

Layer Context in Design Doc Creation:

  • Backend: "Create a backend Design Doc from PRD at [path]. Codebase analysis: [step-8 JSON; use backend-relevant evidence]. Focus on: API contracts, data layer, business logic, service architecture."
  • Frontend: "Create a frontend Design Doc from PRD at [path]. Codebase analysis: [step-8 JSON; use frontend-relevant evidence]. Reviewed Backend Design Doc at [path] — extract API contracts and Integration Points from this document to populate the frontend Design Doc's Integration Points. Backend review issues and dispositions: [step-11 document-reviewer result and Review Resolution record]. prior_layer_verification: [JSON from code-verifier on backend Design Doc, only when verification ran; otherwise omit this input]. Treat only evidence-backed discrepancies and maintained review issues as unstable contracts. Reference UI Spec at [path] for component structure. Focus on: component hierarchy, state management, UI interactions, data fetching."

design-sync: Use frontend Design Doc as source. design-sync auto-discovers other Design Docs in docs/design/ for comparison.

Work Planning with Multiple Design Docs

Pass all reviewed Design Doc paths and supplied test skeleton paths to work-planner. It follows the selected implementation approach, dependencies, and earliest executable verification boundary when defining tasks.

Show full SKILL.md (1,555 more words)Show less
Layer-Aware Agent Routing

During autonomous execution, route agents by task filename pattern. This table also defines the two executor lanes a work plan task entry selects between:

Executor laneFilename PatternExecutorQuality Fixer
backend*-task-* or *-backend-task-*task-executorquality-fixer
frontend*-frontend-task-*task-executor-frontendquality-fixer-frontend

A work plan task entry records exactly one lane; task materialization copies that value and selects the filename from this table rather than inferring the layer from target paths.

Autonomous Execution Mode

Authority Delegation

After starting autonomous execution mode:

  • Batch approval for entire implementation phase delegates authority to subagents
  • task-executor: Implementation authority (can use Edit/Write)
  • quality-fixer: Fix authority (automatic quality error fixes)
Step 2 Execution Details
  • status: escalation_needed or status: blocked -> Apply Specialist Result Acceptance
  • requiresTestReview is true -> Execute integration-test-reviewer
    • If status is needs_revision -> Apply Review Resolution and re-invoke the routed executor (task-executor or task-executor-frontend per Layer-Aware Agent Routing) with the same task_file and the complete apply quality-issue objects verbatim as correction_findings
    • If status is blocked -> Resolve moved or renamed changed test paths and re-invoke the reviewer once. If no changed test exists despite requiresTestReview: true, return that executor-output defect to the routed executor as correction_findings. If it returns blocked again, record the review as not run and proceed to the selected mode's quality/commit boundary
    • If status is pass -> Proceed to the selected mode's quality/commit boundary
Conditions for Stopping Autonomous Execution
TriggerAction
Evidence shows the confirmed outcome, desired-future requirements, and non-goals cannot all remain true without a user choiceApply Requirement Change Detection and ask which value boundary changes.
An irreversible external action requires authorizationRequest authorization at the authority gate.
Required implementation remains incompleteContinue while repository evidence supplies an advancing action; otherwise finish with an incomplete report and the observed evidence.
A subagent reports an environment or execution prerequisiteApply the proof-limitation recovery and retry in Specialist Result Acceptance.
A requirement changesApply Requirement Change Detection above. After task-decomposer starts, invalidate affected tasks; restart document design only when the requirement change invalidates an approved requirement, contract, data flow, verification strategy, or task boundary.
The user stops or interruptsStop autonomous execution.
Prompt Construction Rule

Every subagent prompt must include:

  1. Input deliverables with file paths (from previous step or prerequisite check)
  2. Expected action (what the agent should do)

Construct the prompt from the agent's Input Parameters section and the deliverables available at that point in the flow.

Two additional rules:

  • Subagents see only the Agent prompt and files they read. Include required paths, prior JSON, parameters, and scope constraints explicitly
  • Replace every [placeholder] in examples below with concrete values before invoking the Agent tool
Call Example (codebase-analyzer)
  • subagent_type: "codebase-analyzer"
  • description: "Codebase analysis"
  • prompt: "Use exactly one governing source: prd_path: [approved PRD path], or requirements: [confirmed requirements verbatim]. Collect compact repository evidence for design."
Call Example (code-verifier — design flow)
  • subagent_type: "code-verifier"
  • description: "Design Doc verification"
  • prompt: "doc_type: design-doc document_path: [Design Doc path] Verify Design Doc against existing code."

My Main Roles as Orchestrator

  1. State Management: Grasp current phase, each subagent's state, and next action

  2. Information Bridging: Data conversion and transmission between subagents

    • Convert each subagent's output to next subagent's input format
    • Always pass deliverables from previous process to next agent
    • Extract necessary information from structured responses
    • Compose commit messages from changeSummary and execute git commit
    • Explicitly integrate initial and additional requirements when requirements change
    convergence record → the agent that carries it

    Pass: the orchestrator's judged convergence record to whichever agent carries it forward. Pass it unchanged; each field's readiness label travels with it.

    • prd-creator (when a PRD is created or updated): persists outcome to Success Criteria and user-authored nonGoals to Out of Scope; the PRD contains confirmed requirements and boundaries while evaluation requests, speculative ideas, and unselected mechanisms remain only in pre-confirmation convergence context
    • technical-designer / technical-designer-frontend: persists the same to the Design Doc's Requirement Convergence when no PRD exists, and always records the fields left weak-but-explicit there
    • ui-spec-designer (frontend/fullstack): receives confirmed UI requirements and user-authored nonGoals; unselected candidates create no UI Spec content
      • When prototype_path is present, pass prototype_reference_strength: binding when implementation follows the prototype's rendering, or reference when only what the UI Spec records reaches implementation. Resolve it from what the user already stated about the prototype; ask only when neither reading is supported
    • work-planner: treats nonGoals as excluded from every task entry; unselected candidates create no planning obligation. At Small scale no Work Plan is produced, so the weak-but-explicit fields stay in the orchestrator's own context per the storage protocol rather than becoming blocking items in the executor prompt
    codebase-analyzer → technical-designer

    Pass to codebase-analyzer: exactly one governing source — the approved PRD path when one exists, otherwise the confirmed requirements Pass to technical-designer: codebase-analyzer JSON output as additional context in the Design Doc creation prompt. Required downstream uses:

    • focusAreas → canonical disposition-target list for the Fact Disposition Table (one row per focusArea, carrying through fact_id and evidence verbatim)
    • simplifications → each entry whose recorded condition holds reduces new implementation surface; the orchestrator presents the set at the scope stop and passes it unchanged
    • dataModel, dataTransformationPipelines, qualityAssurance → Existing Codebase Analysis and Verification Strategy sections
    code-verifier → document-reviewer (Design Doc review)

    Pass to code-verifier: Design Doc path (doc_type: design-doc). Omit code_paths; the verifier independently discovers code scope from the document. Pass to document-reviewer: verification_evidence from the latest code-verifier result and recorded Review Resolution dispositions only when verification ran; otherwise omit that input. Always pass the same codebase-analyzer JSON previously given to the designer as codebase_analysis, the governing source as confirmed_requirement_context, and the original request as requirements_verbatim when applicable. The reviewer uses codebase_analysis.focusAreas to verify Fact Disposition Table coverage and the confirmed requirement context to verify the document's outcome and contract.

    design-evidence finding with an apply disposition → technical-designer

    Pass to the owning designer: invoke a fresh update call with the existing Design Doc path and complete correction_findings copied verbatim with only their apply dispositions added. The artifact carries approved requirements, accepted decisions, prior evidence, and unaffected design context; add no orchestrator-authored design instructions. The designer applies its review-triggered bounded self-verification gate and updates the artifact from established evidence. The orchestrator reruns the originating verifier or reviewer only after a completed update.

    code-verifier + document-reviewer → next-layer technical-designer (cross-layer flow only)

    Pass to next-layer technical-designer: reviewed prior-layer Design Doc path plus prior_layer_verification only when the prior-layer code-verifier ran. See Cross-Layer Orchestration section for sequencing. Use available verification discrepancies and prior-layer review findings to identify unstable contracts. Limit verified-claim inference to what actual evidence states; when the design depends on an unverified claim, record it in the frontend Design Doc's ## Cross-Layer Assumptions section with justification and a verification target. Escalate only when the dependency cannot be bounded by a downstream verification step.

    technical-designer → work-planner

    Pass to work-planner: Design Doc path. Work-planner maps governing sections and ACs to implementation tasks. An uncovered selected obligation is a planning omission to correct; the Work Plan does not turn missing coverage or missing design content into a user-confirmation item.

    *1 acceptance-test-generator → work-planner

    Pass to acceptance-test-generator: Design Doc path; UI Spec path (if exists).

    Orchestrator verification: Every path in generatedFiles[] exists on disk. An empty list is a valid generation result.

    Pass to work-planner: generated paths. Work-planner assigns each skeleton to the earliest task where it becomes executable.

  3. ADR Status Management: After the user decision, invoke the owning technical designer in update mode to set each ADR status (Accepted/Rejected)

Important Constraints

  • Commit boundary: Normal Mode task commits and quality-generated fixes require a quality-fixer result of pass or verification_incomplete. Lite Mode task commits follow accepted executor and required test-review results; the Final Quality Run precedes post-implementation review. Commits occur only at the invoked recipe's defined points
  • Structured response: Information passed between subagents uses the declared JSON fields
  • Approval management: Document creation is followed by document-reviewer and the named user-approval stop before the next phase
  • Flow confirmation: After approval, select the next step from the confirmed large/medium/small flow
  • Consistency verification: When subagent outputs conflict, apply Decision precedence (see Delegation Boundary section)
Post-Implementation Review Status Routing
ReviewerComplete: empty finding setEnter Review ResolutionBlocked
code-reviewerverdict is passverdict is needs-improvement or needs-redesignverdict is blocked → Apply Specialist Result Acceptance
security-reviewerstatus is passstatus is needs_revisionstatus is blocked → Apply Specialist Result Acceptance

Reviewer findings are candidates. Create correction work only from the Review Resolution apply set.

Fix-cycle handoff: Apply Review Resolution and invoke each correction owner it selects. For an author-owned technical-artifact correction, invoke the layer-appropriate technical designer in update mode, run the artifact's existing document-reviewer and applicable design-sync gates, then re-run the originating reviewer. For an executor-owned correction, invoke the layer-appropriate executor with its original task_file or direct-scope fields plus correction_findings as the complete apply finding objects verbatim with only their dispositions added, then branch on the executor result through the per-task cycle's step 2, including its conditional integration-test-reviewer path, and run the applicable quality gate. When both owners are required, Review Resolution's author-first re-evaluation controls the order. Carry prior_feedback only to reconciliation reviewers.

Re-run rule: A reviewer's passing result stands. Re-run only a reviewer whose latest result still carries a corrected finding, passing its recorded dispositions as prior_feedback and the re-derived implementation file set so the rerun reconciles against the corrected state. After recovering a blocked review prerequisite, re-run that reviewer. Review Resolution convergence governs acceptance and preserves resolved declines.

References

  • references/review-resolution.md: Finding disposition, correction, and convergence
  • references/lite-mode.md: The Lite Mode call set and Final Quality Run

© shinpr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .claude/skills-en/subagents-orchestration-guide of shinpr/ai-coding-project-boilerplate.

  • SKILL.md
  • references/lite-mode.md
  • references/review-resolution.md

Open the folder on GitHubat commit 56913a2

Compare with similar skills

Subagents Orchestration Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Subagents Orchestration Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Subagents Orchestration Guide this skillshinpr/ai-coding-project-boilerplate233—~8kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k7 repos~2.8kAutomated safety check: PassApache-2.0
Subagent Driven DevelopmentAsvarox/allkaraoke26137 repos~1.2kAutomated safety check: PassNone
Dispatching Parallel Agentsultralisp/ultralisp25840 repos~1.5kAutomated safety check: PassNone
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 37 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Dispatching Parallel Agents

    ultralisp/ultralisp

    A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    258 GitHub starsUsed in 40 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from shinpr/ai-coding-project-boilerplate

All 41 skills in this repo
  • Integration E2E Testing

    shinpr/ai-coding-project-boilerplate

    Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary.

    233 GitHub stars~2.8k tokensUpdated 5 days ago
    Auto-check passed
  • Skill Optimization

    shinpr/ai-coding-project-boilerplate

    Evaluates and optimizes skill file quality using 9 content patterns and 10 editing principles.

    233 GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check passed
  • Frontend Technical Spec

    shinpr/ai-coding-project-boilerplate

    Defines React environment, component architecture, state/data flow, build verification, and frontend non-functional criteria from repository evidence.

    233 GitHub stars~1.9k tokensUpdated 5 days ago
    Auto-check: notes
  • Frontend Typescript Rules

    shinpr/ai-coding-project-boilerplate

    Applies React/TypeScript type safety, component design, and state management rules.

    233 GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/ai-coding-project-boilerplate

    Selects implementation strategy (vertical slice, horizontal, or hybrid) with risk assessment.

    233 GitHub stars~3.2k tokensUpdated 5 days ago
    Auto-check passed
  • Typescript Rules

    shinpr/ai-coding-project-boilerplate

    Applies type safety and error handling rules. An agent skill from shinpr/ai-coding-project-boilerplate.

    233 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Subagents Orchestration Guide

What does Subagents Orchestration Guide do?

Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows. Subagents Orchestration Guide is an agent skill from shinpr/ai-coding-project-boilerplate. Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows.

When should I use Subagents Orchestration Guide?

Subagents Orchestration Guide fits situations like: routing work to subagents; executing an approved work plan; resuming autonomous execution.

How do I install Subagents Orchestration Guide in Claude Code?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill subagents-orchestration-guide -a claude-code`. Or copy the skill folder (.claude/skills-en/subagents-orchestration-guide in shinpr/ai-coding-project-boilerplate) into .claude/skills/subagents-orchestration-guide in your project. Claude Code loads it when a task matches its description.

How do I install Subagents Orchestration Guide in Codex?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill subagents-orchestration-guide -a codex`. Or copy the skill folder (.claude/skills-en/subagents-orchestration-guide in shinpr/ai-coding-project-boilerplate) into .agents/skills/subagents-orchestration-guide in your project. Codex loads it when a task matches its description.

Can I use Subagents Orchestration Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shinpr/ai-coding-project-boilerplate --skill subagents-orchestration-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/subagents-orchestration-guide, .gemini/skills/subagents-orchestration-guide, .github/skills/subagents-orchestration-guide and .opencode/skills/subagents-orchestration-guide in your project.

What does Subagents Orchestration Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Subagents Orchestration Guide is instructions for the agent only.

Does Subagents Orchestration Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Subagents Orchestration Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Subagents Orchestration Guide use?

Subagents Orchestration Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Subagents Orchestration Guide use?

About 8k tokens (SKILL.md is roughly 32k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.

What are the alternatives to Subagents Orchestration Guide?

Skills that share tags, products or a category with Subagents Orchestration Guide: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Subagents Orchestration Guide?

shinpr (a GitHub user) maintains it in shinpr/ai-coding-project-boilerplate, which has 233 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 4, 2026.

Source: shinpr/ai-coding-project-boilerplate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.