Define One User Journey
Define StudyBoard's find-and-save journey before requesting generated code. Use a fixed five-resource dataset, observable acceptance cases and a clear first-version scope.
What You Will Learn
- Describe one learner, one need and one complete journey.
- Write observable acceptance cases before asking an assistant for code.
- Keep the first version small enough to explain and verify.
Understand the Idea
AI assistance becomes easier to evaluate when you know what the application is supposed to do. StudyBoard will help a beginner find one resource and save it for later. That is a user journey: start with a question, narrow the list, inspect a result, save it and return. Each feature should help one of those actions rather than merely make the project look sophisticated.
Write behavior in terms a person can observe. 'Search is good' is difficult to test. 'Searching MDN with the web topic selected shows the MDN resource and excludes security resources' gives you inputs and expected output. Include no results, an unknown saved ID and a storage failure as separate situations. These cases keep optimistic generated code from defining the requirements for you.
Distinguish first-version scope from future ideas. Use five fixed resources, two topics and local bookmarks. Do not add accounts, a remote API, analytics or an AI API integration to this learning project. The assistant helps you build and reason, but visitors do not need an AI account just to use the resulting resource board.
Ask an assistant to challenge the brief before generating code. Give it the learner's need, the fixed dataset and your acceptance cases. Request missing states and contradictions rather than a finished application. You remain responsible for deciding which suggestions belong in scope. Save decisions so another conversation cannot silently replace them with a different product. Give the assistant a small visual brief as well as the behavior brief. Describe three qualities you want the interface to express, list the colors or components you intend to preserve, and explain one useful detail from a reference page. Separate an observation such as 'the labels are easy to scan' from an instruction to copy the entire layout. A reference is evidence for a design choice, not a replacement for StudyBoard's own purpose.
WORKED EXAMPLE
Acceptance Cases before Implementation
Save this valid JSON as acceptance-cases.json in StudyBoard. These are planning cases, not an automated test suite yet. They describe inputs and visible outcomes that later checks will exercise.
[
{ "case": "Find a web resource", "query": "mdn", "topic": "web", "expectedIds": ["mdn"] },
{ "case": "Combine both controls", "query": "mdn", "topic": "security", "expectedIds": [] },
{ "case": "Recover from no results", "query": "unknown-topic", "topic": "all", "expectedMessage": "No resources match. Clear the filters to try again." },
{ "case": "Remember a bookmark", "action": "Save mdn, then reload", "expectedSavedIds": ["mdn"] },
{ "case": "Storage unavailable", "action": "Attempt to save when storage throws", "expectedMessage": "Could not save on this device. Your saved list was not changed." }
]- The fixed mdn ID links expected outcomes to a stable record rather than its current position.
- The wrong-topic case states that search and category conditions must both match.
- Storage failure has its own expected message and must not pretend that a bookmark was persisted.
Expected Result
The project has a reviewable definition of success before any AI-generated feature code is accepted.
PROJECT STAGE 01 / 7
Define StudyBoard's First Version
Builds on: A copy of the plain HTML/CSS/JavaScript resource prototype completed in the first four web-development lessons.
- Create a separate StudyBoard folder and copy the understood prototype files into it. Change the visible project name without adding new features; keep the five stable resource IDs.
- Write BRIEF.md naming the learner, the find-and-save journey, the two supported topics and the explicit first-version scope.
- Save acceptance-cases.json from the example and adjust resource IDs only to match your actual fixed collection. Keep a case where text matches but the category does not.
- Ask an assistant: 'Review this brief for missing states and contradictions. Suggest questions before code. Separate necessary journey behavior from optional features.' Evaluate each suggestion yourself.
- Add a decisions section to BRIEF.md explaining what you accepted or rejected and why. Commit the brief and baseline locally.
- Extend BRIEF.md with audience, primary action, preserved behavior, constraints and three visual qualities. Add a two-row reference table recording the useful detail and how you will adapt it. Keep the existing five acceptance cases as the definition of functional success.
Keep This Deliverable
A small product brief, five concrete acceptance cases and a baseline commit for StudyBoard.
Check Your Build
- Every feature supports the chosen journey.
- Each case names an observable result.
- No generated code is accepted merely because it looks polished.
- You can explain why each reference detail helps the find-and-save journey, and no sample business facts or unrelated pages enter the brief.
Common Mistakes and Fixes
- The assistant adds accounts or a backend without a learning need.
- Point back to the first-version scope and require a reason tied to the chosen journey.
- The expected result uses a record index such as item 2.
- Use stable resource IDs so filtering or reordering does not change what the test means.
Check Your Understanding
How does an acceptance case help you reject a plausible AI suggestion?
Reveal the explanation
It defines the required behavior independently of the generated implementation. You can ask whether the suggestion advances that behavior, preserves the other cases and stays within the agreed scope.
Ready to Move On?
Every feature supports the journey and each acceptance case describes an observable result.
Open the learning resource
