Project Orchestrator
Purpose
The orchestrator turns a raw request into an approved plan by running the canonical pipeline in ../../system/ORCHESTRATION_WORKFLOW.md and delegating each stage to the right specialist skill. It owns gate enforcement, context discipline, and coordination — not the implementation of every domain.
When to Use
- Any new project, enhancement, feature, or multi-step request.
- Any request whose type or scope is unclear and must be classified and planned.
- Whenever multiple specialist skills must be sequenced and their outputs reconciled.
- Not needed for a trivial, single-file change with an obvious, approved scope — use the specific specialist skill directly.
Inputs
- The user request (verbatim) and any attached files, links, or repo.
- Current state in
../../projects/current/ (if a project is active).
- The system rules in
../../system/ (canonical).
Discovery Questions
Ask only what blocks a correct plan:
- What outcome does success look like, and for whom?
- Is there an existing codebase, or is this greenfield?
- Are there fixed constraints (platforms, deadlines, existing stack, compliance)?
- Does it handle money or sensitive PII (raises security/testing priority)?
- Any hard exclusions (things explicitly out of scope)?
Responsibilities
- Classify the request (delegate to
request-classification).
- Inspect provided files and repository (delegate to
existing-project-audit when a codebase exists).
- Extract requirements (delegate to
requirements-analysis).
- Separate confirmed facts, assumptions, and questions — keep these three lists explicit.
- Determine required applications (delegate to
application-selection).
- Recommend stack and alternatives (delegate to
stack-recommendation).
- Wait for approval — Gate 2 (
../../system/QUALITY_GATES.md).
- Design architecture (delegate to
architecture-design, repository-architecture).
- Select only relevant skills (
../../system/SKILL_SELECTION_RULES.md).
- Generate dynamic phases (delegate to
task-planning; ../../system/PHASE_GENERATION_RULES.md).
- Generate work items and tasks (
task-planning, feature-planning, bug-investigation, etc.).
- Add testing and security requirements (
testing-strategy, security-review).
- Propose Git and GitHub workflow (
git-workflow, github-repository).
- Stop before implementation until Gate 4 is approved.
The orchestrator coordinates specialists; it must not become the implementation agent for every domain.
Required Workflow
Request
→ request-classification
→ existing-project-audit (if code exists)
→ requirements-analysis → record confirmed / assumptions / questions
→ application-selection
→ stack-recommendation
── GATE 2: user approval (applications + stack) ──
→ architecture-design + repository-architecture
→ select relevant skills
→ dynamic phases + task-planning (+ feature/bug/refactor/migration planning)
→ testing-strategy + security-review requirements
→ git-workflow + github-repository proposal
── GATE 4: user approval (phases + tasks) ──
→ STOP. Hand off to specialists for implementation.
Record stage and gate status in ../../projects/current/ after each stage.
Decision Rules
- If requirements are ambiguous and the ambiguity changes the plan → ask; otherwise proceed with a stated assumption.
- If a codebase exists → audit before proposing changes.
- If work divides safely and parallelism helps → propose multi-agent (
../../system/MULTI_AGENT_RULES.md); else single-agent.
- If a specialist skill covers a stage → delegate; do not reimplement its logic inline.
- If a gate's inputs are unresolved → stop at the gate; do not "proceed to be helpful."
Rules
.ai/ is canonical; never duplicate system rules — reference them.
- No application code, dependency install, or stack commitment before Gates 2 and 4.
- Keep the three lists (confirmed / assumptions / questions) visible through planning.
- Coordinate, don't monopolize: delegate domain work to specialists.
- Keep
../../projects/current/ current; be honest about done vs proposed.
Anti-Patterns
- Becoming the single agent that writes all code across all domains.
- Skipping classification or the audit and jumping to a stack.
- Presenting a stack before applications are selected and approved.
- Starting implementation before Gate 4.
- Loading every skill "to orchestrate" (violates token rules).
Validation Checklist
Definition of Done
A complete, approved plan exists in ../../projects/current/: classification, requirements (with the three lists), selected applications, approved stack, architecture, relevant skills, dynamic phases, tasks with acceptance criteria, testing/security requirements, and a proposed git/GitHub workflow — with Gates 2 and 4 approved and implementation not yet begun.
Related Skills
request-classification, existing-project-audit, requirements-analysis, application-selection, stack-recommendation, architecture-design, repository-architecture, task-planning, feature-planning, bug-investigation, refactor-planning, migration-planning, testing-strategy, security-review, git-workflow, github-repository, ai-output-review.
Related Knowledge
../../knowledge/ (project architecture/domain, once populated).
Related References
../../references/ topic folders relevant to the request (loaded selectively).
Context Loading Guidance
- Requires: the request,
../../system/OPERATING_RULES.md, ORCHESTRATION_WORKFLOW.md, QUALITY_GATES.md, and ../../projects/current/.
- Does not require: application source detail, unrelated references, historical work items, or every other skill's body.
- May load: the specialist skill for the current stage only.
- Stop when: the plan is approved (Gate 4) — hand off; do not implement.
Token Efficiency Guidance
Load specialists one stage at a time and unload them after. Summarize each stage's output into ../../projects/current/ rather than carrying full working context forward. Reference system rules by path; never paste them.
1---2name: project-orchestrator3description: Use as the lead skill for any non-trivial request. It drives the full request→approval pipeline (classify, audit, requirements, applications, stack, architecture, phases, tasks) and coordinates specialist skills. It plans and delegates; it does not implement every domain itself, and it stops before implementation until gates are approved.4---56# Project Orchestrator78## Purpose910The orchestrator turns a raw request into an approved plan by running the canonical pipeline in `../../system/ORCHESTRATION_WORKFLOW.md` and delegating each stage to the right specialist skill. It owns gate enforcement, context discipline, and coordination — not the implementation of every domain.1112## When to Use1314- Any new project, enhancement, feature, or multi-step request.15- Any request whose type or scope is unclear and must be classified and planned.16- Whenever multiple specialist skills must be sequenced and their outputs reconciled.17- **Not** needed for a trivial, single-file change with an obvious, approved scope — use the specific specialist skill directly.1819## Inputs2021- The user request (verbatim) and any attached files, links, or repo.22- Current state in `../../projects/current/` (if a project is active).23- The system rules in `../../system/` (canonical).2425## Discovery Questions2627Ask only what blocks a correct plan:28- What outcome does success look like, and for whom?29- Is there an existing codebase, or is this greenfield?30- Are there fixed constraints (platforms, deadlines, existing stack, compliance)?31- Does it handle money or sensitive PII (raises security/testing priority)?32- Any hard exclusions (things explicitly out of scope)?3334## Responsibilities35361. **Classify the request** (delegate to `request-classification`).372. **Inspect provided files and repository** (delegate to `existing-project-audit` when a codebase exists).383. **Extract requirements** (delegate to `requirements-analysis`).394. **Separate confirmed facts, assumptions, and questions** — keep these three lists explicit.405. **Determine required applications** (delegate to `application-selection`).416. **Recommend stack and alternatives** (delegate to `stack-recommendation`).427. **Wait for approval** — Gate 2 (`../../system/QUALITY_GATES.md`).438. **Design architecture** (delegate to `architecture-design`, `repository-architecture`).449. **Select only relevant skills** (`../../system/SKILL_SELECTION_RULES.md`).4510. **Generate dynamic phases** (delegate to `task-planning`; `../../system/PHASE_GENERATION_RULES.md`).4611. **Generate work items and tasks** (`task-planning`, `feature-planning`, `bug-investigation`, etc.).4712. **Add testing and security requirements** (`testing-strategy`, `security-review`).4813. **Propose Git and GitHub workflow** (`git-workflow`, `github-repository`).4914. **Stop before implementation** until Gate 4 is approved.5051The orchestrator **coordinates specialists**; it must not become the implementation agent for every domain.5253## Required Workflow5455```56Request57 → request-classification58 → existing-project-audit (if code exists)59 → requirements-analysis → record confirmed / assumptions / questions60 → application-selection61 → stack-recommendation62 ── GATE 2: user approval (applications + stack) ──63 → architecture-design + repository-architecture64 → select relevant skills65 → dynamic phases + task-planning (+ feature/bug/refactor/migration planning)66 → testing-strategy + security-review requirements67 → git-workflow + github-repository proposal68 ── GATE 4: user approval (phases + tasks) ──69 → STOP. Hand off to specialists for implementation.70```7172Record stage and gate status in `../../projects/current/` after each stage.7374## Decision Rules7576- If requirements are ambiguous and the ambiguity changes the plan → ask; otherwise proceed with a stated assumption.77- If a codebase exists → audit before proposing changes.78- If work divides safely and parallelism helps → propose multi-agent (`../../system/MULTI_AGENT_RULES.md`); else single-agent.79- If a specialist skill covers a stage → delegate; do not reimplement its logic inline.80- If a gate's inputs are unresolved → stop at the gate; do not "proceed to be helpful."8182## Rules8384- `.ai/` is canonical; never duplicate system rules — reference them.85- No application code, dependency install, or stack commitment before Gates 2 and 4.86- Keep the three lists (confirmed / assumptions / questions) visible through planning.87- Coordinate, don't monopolize: delegate domain work to specialists.88- Keep `../../projects/current/` current; be honest about done vs proposed.8990## Anti-Patterns9192- Becoming the single agent that writes all code across all domains.93- Skipping classification or the audit and jumping to a stack.94- Presenting a stack before applications are selected and approved.95- Starting implementation before Gate 4.96- Loading every skill "to orchestrate" (violates token rules).9798## Validation Checklist99100- [ ] Request classified.101- [ ] Existing repo audited (or greenfield noted).102- [ ] Requirements extracted; confirmed/assumptions/questions separated.103- [ ] Applications selected with justification.104- [ ] Stack recommended with alternatives.105- [ ] Gate 2 approval recorded.106- [ ] Architecture + repository structure designed.107- [ ] Relevant skills selected (not all).108- [ ] Dynamic phases + tasks generated.109- [ ] Testing + security requirements attached.110- [ ] Git/GitHub workflow proposed.111- [ ] Stopped before implementation pending Gate 4.112113## Definition of Done114115A complete, approved plan exists in `../../projects/current/`: classification, requirements (with the three lists), selected applications, approved stack, architecture, relevant skills, dynamic phases, tasks with acceptance criteria, testing/security requirements, and a proposed git/GitHub workflow — with Gates 2 and 4 approved and implementation not yet begun.116117## Related Skills118119`request-classification`, `existing-project-audit`, `requirements-analysis`, `application-selection`, `stack-recommendation`, `architecture-design`, `repository-architecture`, `task-planning`, `feature-planning`, `bug-investigation`, `refactor-planning`, `migration-planning`, `testing-strategy`, `security-review`, `git-workflow`, `github-repository`, `ai-output-review`.120121## Related Knowledge122123`../../knowledge/` (project architecture/domain, once populated).124125## Related References126127`../../references/` topic folders relevant to the request (loaded selectively).128129## Context Loading Guidance130131- **Requires:** the request, `../../system/OPERATING_RULES.md`, `ORCHESTRATION_WORKFLOW.md`, `QUALITY_GATES.md`, and `../../projects/current/`.132- **Does not require:** application source detail, unrelated references, historical work items, or every other skill's body.133- **May load:** the specialist skill for the **current** stage only.134- **Stop when:** the plan is approved (Gate 4) — hand off; do not implement.135136## Token Efficiency Guidance137138Load specialists one stage at a time and unload them after. Summarize each stage's output into `../../projects/current/` rather than carrying full working context forward. Reference system rules by path; never paste them.