Zeoel Phase 2: Sprint Planning
Overview
Translate the PROJECT_BRIEF.md into actionable sprints. Gohar (CEO) breaks down the work into bite-sized tasks and assigns each task to the most appropriate Zeoel sub-agent with their skill bindings explicitly listed.
If any are missing, tell the user: "Phase 1 is incomplete. I need to run the brainstorm first."
Then invoke zeoel-brainstorm.
References
Read these before planning:
- Sprint plan template:
.agents/skills/zeoel/references/sprint-plan-template.md
- Skill mapping:
.agents/skills/zeoel/references/skill-mapping-reference.md — maps all 116 skills to agents
- SaaS architect (if SaaS):
.agents/skills/zeoel/skills/zeoel-saas-architect/SKILL.md
The Process (Follow in Order)
Step 1: Read PROJECT_BRIEF.md
Understand the scope, architecture, tech stack, and team assignments.
Step 2: Decompose into Sprints
Break the project into 1-5 sprints. Rules:
- Each sprint MUST deliver working, testable software.
- Sprint 0 is MANDATORY for SaaS projects (scaffold, auth, base DB, SEO infrastructure).
- Keep sprints focused: 5-10 tasks max per sprint.
Step 3: Task Breakdown
Within each sprint, define tasks. Rules:
- Tasks MUST be small (15-30 mins of work each).
- No placeholders: Do not write "implement backend". Write "Create
UserController.php with store and index methods."
- TDD focus: Sequence tests BEFORE implementation in the task list.
- Clear boundaries: Ensure two agents aren't modifying the same file.
- Required Tests column is MANDATORY: Every code-producing task must specify what tests are expected (e.g., "Component test + accessibility test", "Feature test + auth bypass test"). Design/coordination tasks can use "—".
- Model Tier column is MANDATORY: Gohar MUST assign a complexity tier (🟢 Light / 🟡 Standard / 🔴 Complex) to each task for intelligent model routing. See
.agents/skills/zeoel/skills/zeoel-dispatch/SKILL.md Step 3.5 for the tier definitions.
Step 4: Agent Assignment with Skill Bindings
For EVERY task, explicitly assign an agent AND list the skills they will use:
| Task Type |
Assign To |
Primary Skills (⭐) to Load |
| UI/UX Design, wireframes |
Mahdi (Designer) |
frontend-design, seo |
| CSS, animations, 3D, visual polish |
Mustafa (Visual) |
frontend-design, ui-ux-pro-max, threejs-webgl, gsap-scrolltrigger |
| Next.js pages, components, React |
Karar (Frontend) |
nextjs-turbopack, frontend-design, seo, ui-ux-pro-max, threejs-webgl, gsap-scrolltrigger |
| Laravel API, auth, billing, backend |
Tariq (Backend) |
laravel-patterns, laravel-security, postgres-patterns, api-design |
| SEO strategy, keywords, meta, content |
Zara (SEO) |
seo |
| Flutter mobile app |
Abdullah (Mobile) |
dart-flutter-patterns, flutter-dart-code-review, mobile-app-design |
| React Native mobile app |
Zayd (React Native) |
react-native-best-practices, react-native-brownfield-migration, upgrading-react-native |
| Data analytics, ML, DB optimization |
Fatima (Data) |
postgres-patterns, python-patterns, mle-workflow |
| Python scripts, FastAPI, automation |
Abbas (Python) |
python-patterns, python-testing, mle-workflow |
| Debugging, performance profiling |
Sajjad (Debugger) |
agent-introspection-debugging, error-handling, benchmark |
| Documentation, API specs |
Baqir (Docs) |
zeoel-codebase-knowledge, codebase-onboarding, api-design |
| Testing, QA, E2E |
Muhammad (QA) |
e2e-testing, webapp-testing |
| Docker, CI/CD, security, deployment |
Ali (DevOps) |
deployment-patterns, docker-patterns, security-review, zeoel-security |
The plan.md MUST include the "Skills to Load" column AND the "Model Tier" column in the task table.
Step 5: Team Consilium (Mandatory)
Before finalizing the plan, run a team consilium where each relevant agent reviews from their perspective:
- Gohar: Timeline realistic? What to cut?
- Karar: Technically feasible? Scope risks?
- Tariq: Security concerns? API design issues?
- Zara: SEO coverage? Missing pages or meta?
- Muhammad: Testable? Edge cases?
- Ali: Deployment feasibility? Infrastructure needs?
Flag issues and revise the plan before presenting to the user.
Step 6: Write Sprint Documents
Create ALL of these files:
docs/sprint-N/plan.md — Using the template from references/sprint-plan-template.md:
- Sprint goal and branch name
- Prioritized task list with Agent + Skills + Required Tests + Model Tier columns
- Work schedule with phases
- Success criteria (testable checkboxes)
- What's NOT in this sprint
- Execution dispatch instructions
docs/sprint-N/progress.md — Using the template from references/sprint-plan-template.md (Progress Tracker section):
- Task status table (all tasks start as ⬜ Not started)
- Audit Checkpoints section (empty, filled during Phase 3)
- Bugs Found section (empty)
- Notes section (empty)
docs/sprint-N/deferred.md — Using the template from references/sprint-plan-template.md (Deferred Items Tracker section):
- Deferred Items table (empty or pre-populated from plan's "What's NOT in This Sprint")
- Simplifications Made table (empty)
docs/deferred/backlog.md — Using the template from references/sprint-plan-template.md (Cumulative Deferred Backlog section):
- Create once (first sprint), then update for subsequent sprints
- Review any pending items from previous sprints
Pre-create audit doc stubs (empty, to be filled during Phase 3 incremental audits):
docs/qa/sprint-N-signoff.md — empty with header
docs/security/sprint-N-audit.md — empty with header
docs/seo/sprint-N-audit.md — empty with header (if sprint has public pages)
Step 6.5: Verify ALL Mandatory Documents Were Created (BLOCKING)
Print this verification:
═══════════════════════════════════════════
SPRINT N PLANNING — DOCUMENT VERIFICATION
═══════════════════════════════════════════
[ ] docs/sprint-N/plan.md — Created
[ ] docs/sprint-N/progress.md — Created (empty template)
[ ] docs/sprint-N/deferred.md — Created (empty template)
[ ] docs/deferred/backlog.md — Created or Updated
[ ] docs/qa/sprint-N-signoff.md — Created (empty stub)
[ ] docs/security/sprint-N-audit.md — Created (empty stub)
[ ] docs/seo/sprint-N-audit.md — Created (empty stub, if public pages)
═══════════════════════════════════════════
If ANY item is ❌, go back and create it NOW.
Do NOT present the plan to the user until ALL items are ✅.
Step 7: User Review
Present the sprint plan to the user. They MUST approve before execution begins.
Step 8: Transition to Phase 3
Once approved, invoke zeoel-dispatch for Phase 3 (Execution).
- Read
.agents/skills/zeoel/skills/zeoel-dispatch/SKILL.md.
Mandatory Outputs
At the end of Phase 2, these files MUST exist FOR EACH planned sprint:
| File |
Description |
docs/sprint-N/plan.md |
Sprint plan with tasks, agents, skill bindings, required tests, and model tiers |
docs/sprint-N/progress.md |
Progress tracker with audit checkpoints (created empty, updated during Phase 3) |
docs/sprint-N/deferred.md |
Deferred items tracker (created empty, updated when scope is cut) |
docs/deferred/backlog.md |
Cumulative deferred backlog (created once, updated every sprint) |
docs/qa/sprint-N-signoff.md |
QA sign-off stub (created empty, filled during Phase 3+4) |
docs/security/sprint-N-audit.md |
Security audit stub (created empty, filled during Phase 3+4) |
docs/seo/sprint-N-audit.md |
SEO audit stub (created empty if public pages, filled during Phase 3+4) |
If any file is missing, Phase 2 is NOT complete. Do NOT proceed to Phase 3.
Critical Rules for Plans
- No placeholders: Do not write "implement backend". Write "Create
UserController.php with store and index methods."
- TDD focus: Always sequence tests before implementation in the task list.
- Clear boundaries: Ensure Karar and Tariq aren't trying to modify the same file in parallel.
- Skills column is mandatory: Every task MUST list which skills the assigned agent will use.
- Required Tests column is mandatory: Every code-producing task MUST specify what tests are expected.
- Model Tier column is mandatory: Every task MUST have a complexity tier for intelligent model routing.
- Sprint 0 for SaaS: Always start with a foundation sprint for SaaS projects.
- Deferred.md is mandatory: Even if nothing is deferred, create the file with "No items deferred."
- Audit doc stubs are mandatory: Pre-create empty audit docs so incremental audits can append to them during Phase 3.
1---2name: zeoel-sprint-planner3description: Phase 2: Use this after a PROJECT_BRIEF.md is approved. Gohar decomposes the brief into sprints and assigns tasks to specialized Zeoel agents with their skill bindings.4---56# Zeoel Phase 2: Sprint Planning78## Overview910Translate the `PROJECT_BRIEF.md` into actionable sprints. Gohar (CEO) breaks down the work into bite-sized tasks and assigns each task to the most appropriate Zeoel sub-agent **with their skill bindings explicitly listed**.1112<HARD-GATE>13REFUSE to plan unless ALL of the following are true:141. `PROJECT_BRIEF.md` exists in the project root152. The user has explicitly approved the PROJECT_BRIEF.md163. `docs/brainstorm/summary.md` exists (Phase 1 was completed properly)1718If any are missing, tell the user: "Phase 1 is incomplete. I need to run the brainstorm first."19Then invoke `zeoel-brainstorm`.20</HARD-GATE>2122## References2324Read these before planning:25- **Sprint plan template**: `.agents/skills/zeoel/references/sprint-plan-template.md`26- **Skill mapping**: `.agents/skills/zeoel/references/skill-mapping-reference.md` — maps all 116 skills to agents27- **SaaS architect** (if SaaS): `.agents/skills/zeoel/skills/zeoel-saas-architect/SKILL.md`2829## The Process (Follow in Order)3031### Step 1: Read PROJECT_BRIEF.md32Understand the scope, architecture, tech stack, and team assignments.3334### Step 2: Decompose into Sprints35Break the project into 1-5 sprints. Rules:36- Each sprint MUST deliver working, testable software.37- Sprint 0 is MANDATORY for SaaS projects (scaffold, auth, base DB, SEO infrastructure).38- Keep sprints focused: 5-10 tasks max per sprint.3940### Step 3: Task Breakdown41Within each sprint, define tasks. Rules:42- Tasks MUST be small (15-30 mins of work each).43- **No placeholders**: Do not write "implement backend". Write "Create `UserController.php` with `store` and `index` methods."44- **TDD focus**: Sequence tests BEFORE implementation in the task list.45- **Clear boundaries**: Ensure two agents aren't modifying the same file.46- **Required Tests column is MANDATORY**: Every code-producing task must specify what tests are expected (e.g., "Component test + accessibility test", "Feature test + auth bypass test"). Design/coordination tasks can use "—".47- **Model Tier column is MANDATORY**: Gohar MUST assign a complexity tier (🟢 Light / 🟡 Standard / 🔴 Complex) to each task for intelligent model routing. See `.agents/skills/zeoel/skills/zeoel-dispatch/SKILL.md` Step 3.5 for the tier definitions.4849### Step 4: Agent Assignment with Skill Bindings50For EVERY task, explicitly assign an agent AND list the skills they will use:5152| Task Type | Assign To | Primary Skills (⭐) to Load |53|-----------|-----------|----------------------------|54| UI/UX Design, wireframes | **Mahdi** (Designer) | `frontend-design`, `seo` |55| CSS, animations, 3D, visual polish | **Mustafa** (Visual) | `frontend-design`, `ui-ux-pro-max`, `threejs-webgl`, `gsap-scrolltrigger` |56| Next.js pages, components, React | **Karar** (Frontend) | `nextjs-turbopack`, `frontend-design`, `seo`, `ui-ux-pro-max`, `threejs-webgl`, `gsap-scrolltrigger` |57| Laravel API, auth, billing, backend | **Tariq** (Backend) | `laravel-patterns`, `laravel-security`, `postgres-patterns`, `api-design` |58| SEO strategy, keywords, meta, content | **Zara** (SEO) | `seo` |59| Flutter mobile app | **Abdullah** (Mobile) | `dart-flutter-patterns`, `flutter-dart-code-review`, `mobile-app-design` |60| React Native mobile app | **Zayd** (React Native) | `react-native-best-practices`, `react-native-brownfield-migration`, `upgrading-react-native` |61| Data analytics, ML, DB optimization | **Fatima** (Data) | `postgres-patterns`, `python-patterns`, `mle-workflow` |62| Python scripts, FastAPI, automation | **Abbas** (Python) | `python-patterns`, `python-testing`, `mle-workflow` |63| Debugging, performance profiling | **Sajjad** (Debugger) | `agent-introspection-debugging`, `error-handling`, `benchmark` |64| Documentation, API specs | **Baqir** (Docs) | `zeoel-codebase-knowledge`, `codebase-onboarding`, `api-design` |65| Testing, QA, E2E | **Muhammad** (QA) | `e2e-testing`, `webapp-testing` |66| Docker, CI/CD, security, deployment | **Ali** (DevOps) | `deployment-patterns`, `docker-patterns`, `security-review`, `zeoel-security` |6768**The plan.md MUST include the "Skills to Load" column AND the "Model Tier" column in the task table.**6970### Step 5: Team Consilium (Mandatory)71Before finalizing the plan, run a team consilium where each relevant agent reviews from their perspective:72- **Gohar**: Timeline realistic? What to cut?73- **Karar**: Technically feasible? Scope risks?74- **Tariq**: Security concerns? API design issues?75- **Zara**: SEO coverage? Missing pages or meta?76- **Muhammad**: Testable? Edge cases?77- **Ali**: Deployment feasibility? Infrastructure needs?7879Flag issues and revise the plan before presenting to the user.8081### Step 6: Write Sprint Documents82Create ALL of these files:8384**`docs/sprint-N/plan.md`** — Using the template from `references/sprint-plan-template.md`:85- Sprint goal and branch name86- Prioritized task list with Agent + Skills + **Required Tests** + **Model Tier** columns87- Work schedule with phases88- Success criteria (testable checkboxes)89- What's NOT in this sprint90- Execution dispatch instructions9192**`docs/sprint-N/progress.md`** — Using the template from `references/sprint-plan-template.md` (Progress Tracker section):93- Task status table (all tasks start as ⬜ Not started)94- Audit Checkpoints section (empty, filled during Phase 3)95- Bugs Found section (empty)96- Notes section (empty)9798**`docs/sprint-N/deferred.md`** — Using the template from `references/sprint-plan-template.md` (Deferred Items Tracker section):99- Deferred Items table (empty or pre-populated from plan's "What's NOT in This Sprint")100- Simplifications Made table (empty)101102**`docs/deferred/backlog.md`** — Using the template from `references/sprint-plan-template.md` (Cumulative Deferred Backlog section):103- Create once (first sprint), then update for subsequent sprints104- Review any pending items from previous sprints105106**Pre-create audit doc stubs** (empty, to be filled during Phase 3 incremental audits):107- `docs/qa/sprint-N-signoff.md` — empty with header108- `docs/security/sprint-N-audit.md` — empty with header109- `docs/seo/sprint-N-audit.md` — empty with header (if sprint has public pages)110111### Step 6.5: Verify ALL Mandatory Documents Were Created (BLOCKING)112113<HARD-GATE>114STOP. Before presenting the plan to the user, verify that ALL of these files have been created. Check EACH file — do NOT assume they exist.115116Print this verification:117118```119═══════════════════════════════════════════120 SPRINT N PLANNING — DOCUMENT VERIFICATION121═══════════════════════════════════════════122 [ ] docs/sprint-N/plan.md — Created123 [ ] docs/sprint-N/progress.md — Created (empty template)124 [ ] docs/sprint-N/deferred.md — Created (empty template)125 [ ] docs/deferred/backlog.md — Created or Updated126 [ ] docs/qa/sprint-N-signoff.md — Created (empty stub)127 [ ] docs/security/sprint-N-audit.md — Created (empty stub)128 [ ] docs/seo/sprint-N-audit.md — Created (empty stub, if public pages)129═══════════════════════════════════════════130```131132If ANY item is ❌, go back and create it NOW.133Do NOT present the plan to the user until ALL items are ✅.134</HARD-GATE>135136### Step 7: User Review137Present the sprint plan to the user. They MUST approve before execution begins.138139### Step 8: Transition to Phase 3140Once approved, invoke `zeoel-dispatch` for Phase 3 (Execution).141- Read `.agents/skills/zeoel/skills/zeoel-dispatch/SKILL.md`.142143## Mandatory Outputs144145At the end of Phase 2, these files MUST exist FOR EACH planned sprint:146147| File | Description |148|------|-------------|149| `docs/sprint-N/plan.md` | Sprint plan with tasks, agents, skill bindings, **required tests**, and **model tiers** |150| `docs/sprint-N/progress.md` | Progress tracker with audit checkpoints (created empty, updated during Phase 3) |151| `docs/sprint-N/deferred.md` | Deferred items tracker (created empty, updated when scope is cut) |152| `docs/deferred/backlog.md` | Cumulative deferred backlog (created once, updated every sprint) |153| `docs/qa/sprint-N-signoff.md` | QA sign-off stub (created empty, filled during Phase 3+4) |154| `docs/security/sprint-N-audit.md` | Security audit stub (created empty, filled during Phase 3+4) |155| `docs/seo/sprint-N-audit.md` | SEO audit stub (created empty if public pages, filled during Phase 3+4) |156157**If any file is missing, Phase 2 is NOT complete. Do NOT proceed to Phase 3.**158159## Critical Rules for Plans160161- **No placeholders**: Do not write "implement backend". Write "Create `UserController.php` with `store` and `index` methods."162- **TDD focus**: Always sequence tests *before* implementation in the task list.163- **Clear boundaries**: Ensure Karar and Tariq aren't trying to modify the same file in parallel.164- **Skills column is mandatory**: Every task MUST list which skills the assigned agent will use.165- **Required Tests column is mandatory**: Every code-producing task MUST specify what tests are expected.166- **Model Tier column is mandatory**: Every task MUST have a complexity tier for intelligent model routing.167- **Sprint 0 for SaaS**: Always start with a foundation sprint for SaaS projects.168- **Deferred.md is mandatory**: Even if nothing is deferred, create the file with "No items deferred."169- **Audit doc stubs are mandatory**: Pre-create empty audit docs so incremental audits can append to them during Phase 3.