Skip to main content
Reading progress: 0%

Lesson 2.2: Creating a Development Plan and Breaking Down Tasks

Lesson Quick-Jump (10 Sections)

1. What Are We Learning?​

In this lesson, you will learn how to:

  • Turn your PRD into an ordered development plan.
  • Break large features into small, sequential, verifiable tasks.
  • Understand why ordering tasks properly keeps AI agents from breaking your app.

2. Why Does It Matter?​

info

AI coding agents perform dramatically better on small, focused tasks than on huge requests. If you hand an AI agent an entire PRD and say "Implement everything," it will generate dozens of files at once, leave subtle bugs hidden everywhere, and overwhelm you during review.

Breaking work into bite-sized milestones means you can build, test, and verify one small piece at a time—and if anything goes wrong, you know exactly which step caused it.


3. Simple Explanation for a Complete Beginner​

Imagine building a house. You don't ask a crew to "build the house today" all at once. You follow a sensible sequence:

  1. Clear and prepare the site.
  2. Pour the foundation.
  3. Frame the walls.
  4. Add plumbing and wiring before closing up the drywall.

In software, a development plan sequences work into small milestones and tasks. Each task should:

  • Take roughly 15–45 minutes for you and the AI to implement and verify.
  • Have a clear definition of done (how you will confirm it works before moving on).
  • Depend only on things built in earlier tasks.

4. Practical Example​

Suppose our MVP has 3 user stories (add habit, toggle habit complete, delete habit).

Bad task list (too big):

  • Task 1: Build the backend.
  • Task 2: Build the frontend.
  • Task 3: Test and deploy.

Good task breakdown (incremental, testable milestones):

  • Milestone 1: Project Skeleton & Health Check
    • Task 1.1: Initialize project folder, starter app, and verify it runs locally.
    • Task 1.2: Set up storage/database connection and confirm read/write works.
  • Milestone 2: Create & View Habits (First Vertical Slice)
    • Task 2.1: Create habit data model and backend endpoint to list & create habits.
    • Task 2.2: Build basic habit list UI and "Add Habit" form connected to the backend.
    • Task 2.3: Verify empty-title validation and persistence across page refresh.
  • Milestone 3: Complete & Delete Habits
    • Task 3.1: Add toggle-complete endpoint and checkbox UI state.
    • Task 3.2: Add delete habit endpoint, confirmation/undo safety, and UI update.
  • Milestone 4: Polish, Tests & Deployment
    • Task 4.1: Mobile layout check and friendly error states.
    • Task 4.2: Automated tests for core flows and deploy to production.

Notice how Milestone 2 gives you a working mini-app early instead of waiting until the very end!


5. Step-by-Step Instructions​

  1. List your MVP User Stories in order of importance (start with the core creation/display flow).
  2. Group tasks into 3–5 Milestones (Setup -> Core Flow -> Secondary Flows -> Quality & Deployment).
  3. Split any task that mentions multiple screens or multiple backend operations until each task represents a single small capability.
  4. Write a "How to verify" note next to every task.
  5. Save your plan in docs/development-plan.md (you will use it constantly in Phase 6).

6. Ready-to-Use AI Prompt​

Context:
Here is my approved PRD and Acceptance Criteria:
[Paste your PRD / User Stories]

Objective:
Create a step-by-step Development Plan broken into small, ordered Milestones and Tasks so I can implement and test one small piece at a time with an AI coding agent.

Boundaries:
- Keep tasks small enough that each one can be built and verified independently.
- Order tasks by dependency (do not schedule frontend integration before the data/API it needs exists, or use vertical slices feature-by-feature).
- Do NOT write application code yet.

Expected Output:
A Markdown checklist organized into Milestones. For every task include:
- Task name
- Short description of what changes
- Dependencies (which earlier task must finish first)
- Exact "How I will verify this works" check

7. What to Expect from the AI Agent​

Good ResponseWarning Sign
The AI produces a clean, logical sequence starting with a minimal runnable skeleton, then delivering one end-to-end feature at a time, each with a concrete verification step.The AI creates vague mega-tasks like "Build full UI components" or plans 25 tasks for advanced features you already put Out of Scope. Trim those back immediately.

8. What You Must Personally Verify​

  • Is every task small enough to understand? If a task sounds like three jobs combined, split it.
  • Does every task have a verification step? Never accept a task without knowing how you will test it.
  • Are dependencies right? For example, you cannot test saving data to a database before creating the database table.

9. Common Mistakes​

  1. Building all backend code before touching the UI (or vice versa): If you build 10 backend endpoints without connecting them to the UI, you won't discover design mismatches until much later. Prefer vertical slices (one feature end-to-end at a time).
  2. Planning only "happy path" work and forgetting testing: Schedule testing, error handling, and mobile checks as explicit tasks—not afterthoughts.
  3. Ignoring the plan once coding starts: Keep docs/development-plan.md open and check off tasks one by one.

10. Small Practical Exercise​

Using your docs/prd.md:

  1. Run the prompt above to generate a draft Development Plan.
  2. Pick the largest task in that plan and manually split it into two smaller tasks, each with its own "How I will verify this works" check.
  3. Save the result as docs/development-plan.md.

Completed the exercise? Track your progress

Check off this lesson in PROGRESS-CHECKLIST.md once you have verified every step in Section 8.