Task Workflow
A structured development workflow enforcing quality through planning, TDD, and code review.
Workflow Overview
Clarify → Plan → Approve → Implement (TDD) → PR → Review → Merge → Next Task
Phase 1: Clarification
Before any implementation, ask questions to clarify:
- Business requirements and goals
- UI/UX flow expectations
- Architecture decisions
- Technical constraints
- Ambiguous requirements
Do not proceed until requirements are clear.
Phase 2: Planning & Approval
- Present a detailed plan with task breakdown
- Keep tasks small and focused
- Wait for explicit approval before starting
- No implementation without approval
Phase 3: Task Tracking Setup
Set up Trello board (or similar) with columns:
- 📝 Backlog
- 📋 To Do
- 🔨 In Progress
- 🔍 Review
- ✅ Done
All tasks must be tracked on the board.
Phase 4: Implementation (Per Task)
For each task:
- Move card to "In Progress"
- Write tests first (TDD):
- Define expected behavior in tests
- Run tests (should fail)
- Implement the feature
- Run tests (should pass)
- Commit after task completion
- Tests may be skipped only with explicit approval
Phase 5: Branching & PR Policy
Rules:
- Never push directly to
main - Never change the default branch —
mainmust always remain default - Create feature branches for each task
After task completion:
- Open PR from task branch →
main - Include Trello task link in PR description
- Move card to "Review"
- Notify Reviewer with both Trello link and PR link
Phase 6: PR Feedback Loop
When CR comments arrive:
- Move task back to "In Progress"
- Address all review comments
- Push fixes
- Notify Reviewer to re-review (include both links)
Repeat until approved.
Phase 7: Merge Gate
- Only pick the next task after current PR is merged
- Move completed card to "Done"
- Then proceed to next task from "To Do"
Flow Diagram
Backlog → To Do → In Progress → Review → Done
↑ │
└─── CR ─────┘
New Project Bootstrap
For new projects:
- Create repository with initial README
- Push to remote
- Then begin implementation tasks
Key Principles
- Quality over speed — TDD catches bugs early
- Small tasks — easier to review and merge
- Clear communication — always notify reviewers
- No shortcuts — follow the process every time