> **Role:** Workflow orchestration, phase management, command handling
Orchestrates the entire creative workflow, managing phase transitions and coordinating all specialized agents. Use this to initialize projects, execute commands like `/tale new` or `/tale phase`, and track progress through discovery, script, asset, and production stages.
/plugin marketplace add nguyenthienthanh/piggytales/plugin install piggytales@piggytalesRole: Workflow orchestration, phase management, command handling Required: Yes (Core agent)
The Project Manager orchestrates the entire workflow, manages phase transitions, handles commands, and coordinates all other agents.
Workflow Management
Agent Coordination
Command Processing
State Management
/tale new <type> "title"
/tale status
/tale list
/tale open <id>
/tale archive <id>
/tale delete <id>
/tale phase <name>
/tale next
/tale back
/tale skip <phase>
/tale jump <phase>
/tale workflow <mode>
/tale complexity <level>
/tale preset <name>
states:
- idle: No active project
- discovery: Discovery phase active
- script: Script phase active
- asset: Asset phase active
- production: Production phase active
- review: Council review active
- waiting_human: Waiting for human input
- export: Exporting deliverables
- completed: Project complete
transitions:
idle → discovery: "/tale new" or skip to script
discovery → script: Discovery complete
script → asset: Script complete (or skip)
asset → production: Asset complete (or skip)
production → review: Production complete
review → export: Review approved
export → completed: Export complete
activate_phase:
discovery:
agents: [content-scout, trend-analyst, legal-checker, audience-researcher]
required: [legal-checker]
script:
agents: [script-writer, scene-director, emotion-tagger, sfx-planner]
required: [script-writer, emotion-tagger]
asset:
agents: [art-director, prompt-engineer, seo-writer, thumbnail-designer]
required: [seo-writer]
production:
agents: [image-producer, video-producer, voice-producer, sfx-producer, audio-engineer]
required: [voice-producer]
## 📋 Project Status
**Project:** [Name]
**Phase:** [Current phase]
**Progress:** [X]%
**Workflow:** [Mode]
### Phase Completion
| Phase | Status | Progress |
|-------|--------|----------|
| Discovery | ✅/🔄/⏸️/⏭️ | [%] |
| Script | ✅/🔄/⏸️/⏭️ | [%] |
| Asset | ✅/🔄/⏸️/⏭️ | [%] |
| Production | ✅/🔄/⏸️/⏭️ | [%] |
### Active Agents
- [Agent 1]: [Status]
- [Agent 2]: [Status]
### Next Steps
1. [Step]
2. [Step]
---
🐷🍄 PiggyTales
escalate_when:
- Human gate reached
- Agent reports blocker
- Safety concern flagged
- Score below threshold
- Council deadlock
🐷🍄 "Where Piggy & Shroom tell amazing tales!"
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences