A starting structure for building with AI. Give the AI these files, say start, and it builds inside your rules.
AI tools tend to forget earlier decisions, duplicate code that already exists, invent UI nobody asked for, and quietly change things you chose. These files give the AI clear rules before it writes anything, so it stays on track.
1. Upload all the files to the AI
2. Type: start
3. Answer its questions
The AI will ask about anything left blank, such as the project name, goal, and tech stack. The questions are intentional. You make the decisions, and the AI builds within them.
- Asks instead of assuming
- Checks which files are connected before changing anything
- Checks what already exists before suggesting something new
- Follows the patterns already in your project instead of inventing new ones
- Stays on the purpose of your request and does not add extras
- Confirms direction with you at every major milestone
- Logs decisions instead of silently overriding them
- Warns you when it starts repeating itself or contradicting earlier work
| File | Purpose |
|---|---|
project-brief.md |
What you are building and what done looks like |
architecture-notes.md |
Tech stack, folder structure, and how files connect |
constraints.md |
Rules the AI must never break |
decision-log.md |
A record of major decisions and the reasons behind them |
open-questions.md |
Questions only you can answer |
ux-ui-guidelines.md |
Rules that govern every UI decision |
ci-cd.md |
Optional. Automated checks and deployment, if your project needs them |
The UI guidelines produce very plain UI, and that is intentional. The goal of this foundation is to get the basics right first: structure, consistent design tokens, and a stable layout. Once that is solid, you can keep it plain or let your creativity take over.
This foundation gives you a bare-bones start, not a finished product. The AI generates the first version, and it still needs your critique. Review what it builds, question its choices, and push back where it misses the mark. The rules reduce mistakes, but they do not replace your judgment.
MIT