Each output feeds the next
Part 7 is the hands-on session. Its three activities run in order, and each output becomes context for the next prompt. That chaining is what keeps AI-assisted development coherent instead of random.
- Part AReviewed user storiesDrafted by AI, corrected by you
- Part BOne-paragraph ADROptions from AI, decision by you
- Part CRunning FastAPI skeleton/health returns 200, /docs opens
- AfterReflection logRight, corrected, assumed
| Part | Activity | Output |
|---|---|---|
| A | AI-assisted requirements | 6–8 reviewed user stories with acceptance criteria. |
| B | AI-assisted architecture and tech stack | One-paragraph ADR in your own words. |
| C | Scaffold project skeleton | Running FastAPI skeleton with /health returning 200 and Swagger at /docs. |
A project idea is not a specification
“Build a task tracker” hides unanswered questions: which statuses are allowed, what makes a title valid, what happens when a task is missing, and whether status transitions are restricted. AI is useful here because it removes the blank page and drafts stories quickly. But the draft is not the deliverable. Your job is to review, correct and own the requirements.
Key ideaThe AI draft is not the deliverable. You review, correct and own the requirements.
The story areas to expect
The notes list the areas a reviewed story set should cover, and what to check in each.
| Expected story area | What to check |
|---|---|
| Create task | Title is required; description can be optional; created task appears in the list. |
| View tasks | All tasks are returned in a predictable shape. |
| Filter tasks | Filtering by status and priority behaves clearly and rejects invalid filter values. |
| Update task details | Allowed fields are clear; invalid input is handled. |
| Move through statuses | Allowed transitions are explicit. The lecture correction highlights that Done should not move back to ToDo or InProgress. |
| Delete task | Missing task behavior and status code are defined. |
| Validate task data | Empty or whitespace-only title, invalid status, and invalid priority are rejected. |
Read with careDone-cannot-move-back is the only transition rule the documents give. Whether a task may jump straight from ToDo to Done, or what a repeated update should do, is left open: decide it and write it down, or label it as an assumption.
Review focus
Before anything moves to architecture, ask these of the draft.
- Is each story buildable?
- Is each acceptance criterion testable?
- Did AI add auth, users, admin roles or other out-of-scope assumptions?
- Did it miss edge cases such as a whitespace-only title or an invalid status transition?
The A1–A4 prompt chain
The library splits Part A into four prompts. Each one is a different step of the loop applied to requirements, and A4’s follow-up produces the short summary you paste into the architecture prompt.
- A1 · Ask: generate 6–8 stories with scope, exclusions, target user, story format and 2–3 testable criteria each.
- A2 · Inspect for scope: find every story or criterion that assumes login, accounts, admins or notifications, and rewrite only those.
- A3 · Harden: encode the real rules, title required after trimming, exact status and priority values, Done cannot move back, each with HTTP 422.
- A4 · Review for testability: pass or needs revision per story, flag vague words like “works” or “properly,” minimal edits only.
Reading for this activity
The core reading for Part A is Atlassian’s guide to user stories: the “As a [user], I want [goal] so that [reason]” format, the 3 Cs, and why acceptance criteria make a story testable. If you want the research behind AI-drafted requirements, the optional papers are listed in a suggested order.
Key takeaways
- Requirements feed architecture; architecture feeds the scaffold.
- AI removes the blank page; you own the stories.
- Check every story for buildability, testability, scope and edge cases.
- A1 drafts, A2 de-scopes, A3 hardens, A4 reviews.