重构 director subagents 为 Codex custom agents

This commit is contained in:
wxm
2026-05-18 23:06:35 +08:00
parent 8c7cd6c010
commit d29ea60382
10 changed files with 48 additions and 24 deletions

View File

@@ -11,6 +11,10 @@ When this skill is invoked:
See `../../references/studio-docs/director-gates.md` for the full check pattern.
When a gate is active, spawn the named Codex custom agent that is already
defined in `../../.codex/agents/<agent-name>.toml`. Do not recreate the
director role by pasting profile text into a generic default agent.
2. **Check for existing concept work**:
- Read `design/gdd/game-concept.md` if it exists (resume, don't restart)
- Read `design/gdd/game-pillars.md` if it exists (build on established pillars)
@@ -195,7 +199,7 @@ Repeat until the user selects [A] Lock these in.
- `lean` → skip both (not PHASE-GATEs). Note: "CD-PILLARS skipped — Lean mode. AD-CONCEPT-VISUAL skipped — Lean mode." Proceed to Phase 5.
- `full` → spawn as normal.
**After pillars and anti-pillars are agreed, spawn BOTH `creative-director` AND `art-director` via Codex subagent delegation in parallel before moving to Phase 5. Issue both subagent requests simultaneously — do not wait for one before starting the other.**
**After pillars and anti-pillars are agreed, spawn BOTH `creative-director` AND `art-director` via Codex custom-agent delegation in parallel before moving to Phase 5. Issue both subagent requests simultaneously — do not wait for one before starting the other.**
- **`creative-director`** — gate **CD-PILLARS** (`../../references/studio-docs/director-gates.md`)
Pass: full pillar set with design tests, anti-pillars, core fantasy, unique hook.
@@ -253,7 +257,7 @@ Ground the concept in reality:
- `lean` → skip (not a PHASE-GATE). Note: "TD-FEASIBILITY skipped — Lean mode." Proceed directly to scope tier definition.
- `full` → spawn as normal.
**After identifying biggest technical risks, spawn `technical-director` via Codex subagent delegation using gate TD-FEASIBILITY (`../../references/studio-docs/director-gates.md`) before scope tiers are defined.**
**After identifying biggest technical risks, spawn `technical-director` via Codex custom-agent delegation using gate TD-FEASIBILITY (`../../references/studio-docs/director-gates.md`) before scope tiers are defined.**
Pass: core loop description, platform target, engine choice (or "undecided"), list of identified technical risks.
@@ -264,7 +268,7 @@ Present the assessment to the user. If HIGH RISK, offer to revisit scope before
- `lean` → skip (not a PHASE-GATE). Note: "PR-SCOPE skipped — Lean mode." Proceed to document generation.
- `full` → spawn as normal.
**After scope tiers are defined, spawn `producer` via Codex subagent delegation using gate PR-SCOPE (`../../references/studio-docs/director-gates.md`).**
**After scope tiers are defined, spawn `producer` via Codex custom-agent delegation using gate PR-SCOPE (`../../references/studio-docs/director-gates.md`).**
Pass: full vision scope, MVP definition, timeline estimate, team size.
@@ -307,7 +311,7 @@ If yes, generate the document using the template at `../../references/studio-doc
1. "Run `/setup-engine` to configure the engine and populate version-aware reference docs"
2. "Run `/art-bible` to create the visual identity specification — do this BEFORE writing GDDs. **The art bible is required before the Technical Setup gate.** It gates asset production and shapes technical architecture decisions (rendering, VFX, UI systems)."
3. "Use `/design-review design/gdd/game-concept.md` to validate concept completeness before going downstream"
4. "Discuss vision with the `creative-director` agent for pillar refinement"
4. "Discuss vision with the `creative-director` custom agent for pillar refinement"
5. "Decompose the concept into individual systems with `/map-systems` — maps dependencies, assigns priorities, and creates the systems index"
6. "Author per-system GDDs with `/design-system` — guided, section-by-section GDD writing for each system identified in step 5"
7. "Plan the technical architecture with `/create-architecture` — produces the master architecture blueprint and Required ADR list"