Vibe Coder · Unit 13: Testing and Security · Project
Milestone 13 of 16
A tested, locked-down app
Every flow checked, and each person able to see only their own data.
One product, built in sixteen steps
Vibe Coder has one project. You pick an idea in Unit 1 and every unit adds a piece to it, until Unit 16 launches it. Working on your computer for you is not the same as working for strangers. This milestone tests every flow as a user would, tries to break the login and the AI feature, and closes what it finds.
- 1Your builder’s kitA one-line product idea, your role, and five working accounts.
- 2A fact-checked product briefOne page on your idea, tested against how the models really behave.
- 3Your product project in ClaudeA project with instructions and files, and your first real piece of work from it.
- 4A brand kit and research fileA name, images and market research for your product, with a second opinion.
- 5Your prompt libraryThe prompts you will reuse to build the product, each one tested.
- 6Your product specThe problem, the people, the first version and how you will measure it.
- 7A clickable prototypeA version people can click through, shown to three of them.
- 8The first working versionYour app running on your computer, built with Claude Code.
- 9Your Claude Code setupProject instructions, a custom command and a skill made for your app.
- 10One AI featureA feature in your app that calls a model, with its key kept safe.
- 11An automated workflowYour app connected to a tool you already use.
- 12Sign-in and saved dataAccounts and a database behind your app.
- 13A tested, locked-down appEvery flow checked, and each person able to see only their own data.
- 14A launch videoThirty to sixty seconds, with voice, music and sound.
- 15Your app, liveOnline at its own address, updating every time you save.
- 16Your launched productThe finished product, in front of people, with a page that shows your work.
Your product gains
Tests passed and data locked down
That makes 13 of 16 pieces in place.
Your role
The steps change with your role. Choose yours to see your version of this milestone.
Start with this prompt
Paste it into Claude or ChatGPT, or into Claude Code once you are building. Fill in the parts in square brackets with your own product.
Here is my app and its spec. I want a test plan before I launch. List every flow a person can take, and for each one the steps, what should happen, and one way it could go wrong. Include signing in as a second account and trying to see the first account's data, and trying to make the AI feature ignore its instructions. Do not fix anything yet. I will run the tests myself and bring back what failed.
Build it step by step
9 steps, one from each lesson of the unit. Do each step after its lesson. A box you tick here is ticked in the lesson too.
Step 1 of 9 · from the lesson A test plan
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Write your test plan
Create "Test plan" with one test per must-have and at least five unhappy paths. Run it once and log every failure as a bug.
Done when
You will add to this list in every lesson of the unit.
Step 2 of 9 · from the lesson Testing like a user
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Break your own app
Run a user-style session on your phone and log what you find. Then have Claude Code click through the app with a browser tool and compare its report with yours.
Done when
Fix what both of you found first.
Step 3 of 9 · from the lesson Accessibility checks
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Run the four checks
Do the keyboard test on every screen, zoom to 200%, and ask Claude Code for an accessibility audit. Fix everything that blocks use, and add the checks to your test plan.
Done when
Keep the four checks in your test plan permanently.
Step 4 of 9 · from the lesson Testing AI features
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Make a test set for your feature
Collect twenty inputs for your AI feature, write the standard for each, run them and record the score. Improve the prompt once and run again.
Done when
Run the set before every release from now on.
Step 5 of 9 · from the lesson Secrets
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Audit your secrets
List every secret, have Claude Code scan the code, history and client bundle, and rotate anything that was ever exposed. Add "secrets scan" to your test plan.
Done when
Turn on secret scanning in GitHub as well.
Step 6 of 9 · from the lesson Try to break login
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Attack your own access rules
Run all four attempts with two accounts and with Claude Code querying the database directly. Fix every hole at the rule level and add each case to your test plan.
Done when
Repeat after any change to tables or sign-in.
Step 7 of 9 · from the lesson Prompt injection
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Attack your AI feature
Add five injection attempts to your AI test set and run them. Confirm the feature can only reach the signed-in user’s data and that any action needs confirmation.
Done when
Re-run these whenever the feature gains a new tool.
Step 8 of 9 · from the lesson Abuse and cost caps
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Add limits and caps
Have Claude Code add rate limits to sign-up, forms and the AI feature, a per-user daily limit, and an off switch. Set budget caps and alerts with every provider.
Done when
Test the limits by exceeding one on purpose.
Step 9 of 9 · from the lesson Privacy
Read the short notes and pictures.Do everything inside a blue frame.
ActivityBuild stepA tested, locked-down app Write your data map
List the personal data your product collects with a reason and destination for each. Remove anything without a reason, add a delete-account option, and draft a plain-words privacy policy from the map.
Done when
Have the policy reviewed before you launch publicly.
When it is done
Every box above is ticked, and you can show the result to someone who has not seen it before. Then move on: milestone 14 is a launch video.