Plan Agent
What This Demonstrates
Section titled “What This Demonstrates”Copilot’s Plan Agent / Planning Mode generates structured implementation plans, migration strategies, and execution-ready TODO lists — grounded in the actual codebase.
Prerequisites
Section titled “Prerequisites”- VS Code with Copilot Chat open
- Repository loaded (Codespaces or local clone)
Prompts
Section titled “Prompts”Prompt A — Feature Planning
Section titled “Prompt A — Feature Planning”Create an implementation plan for adding a `wishlist-service` to this monorepo.Keep it consistent with existing patterns in `services/*` (Express + TypeScript),include API endpoints, database schema ideas, events, tests, Docker, Helm, and CIupdates. Output phased steps with clear acceptance criteria.What to look for:
- Phased approach matching existing services (controllers → services → repositories)
- Database schema following Prisma conventions
- Events for inter-service communication (e.g.,
wishlist.item.added) - Helm chart and CI workflow updates
Prompt B — Migration Planning
Section titled “Prompt B — Migration Planning”Build a phased plan to introduce API gateway rate limiting and request tracingacross all backend services. Include risk areas, rollout strategy, and rollbacksteps.What to look for:
- Per-service impact analysis
- Rollout phases (dev → staging → production)
- Rollback procedures tied to Helm and Kubernetes
Prompt C — Execution-Ready Plan
Section titled “Prompt C — Execution-Ready Plan”Turn the wishlist plan into an actionable TODO list with dependencies and thefirst 3 tasks I should implement now in this repo.What to look for:
- Dependency graph between tasks
- Specific file paths and commands
- Clear “done” criteria for each task
Follow-Up Prompts
Section titled “Follow-Up Prompts”- “Estimate complexity for each task using T-shirt sizes.”
- “Which of these tasks could be parallelized across two developers?”
- “Generate the Prisma schema for the wishlist-service database.”