A starter template for the .ai/ folder structure — a simple way to give your AI coding assistant full context at the start of every session.
| File | Purpose |
|---|---|
.ai/agents.md |
Describes your project to the AI: what it does, stack, conventions, and things it should never do |
.ai/todo.md |
Your running task list: in progress, up next, blocked items, done, and a quick last-session handoff |
.ai/session-opener.md |
A ready-to-paste prompt for starting every AI session |
.ai/example-feature.md |
A sample feature doc — copy its shape for each major feature you plan to build |
SETUP.md |
A paste-into-AI prompt that interviews you and fills in the .ai/ files for you |
Option A — let your AI fill it in for you (fastest)
- Copy this template (or just the
.ai/folder andSETUP.md) into your project - Open
SETUP.md, copy everything below the divider, and paste it into your AI assistant - Answer a handful of questions — it writes
agents.md,todo.md, andsession-opener.mdfor you
Option B — fill it in by hand
- Copy the
.ai/folder into the root of your project - Fill in
agents.mdwith your actual stack and conventions - Update
todo.mdas you work - Add a new file for each major feature you plan to build (see
.ai/example-feature.md)
Use todo.md as the working document first and the handoff second:
# Todo
## In progress
- [ ] [What you're working on right now]
## Up next
- [ ] [Next priority]
- [ ] [After that]
## Blocked / Questions
- [ ] [Anything waiting on a decision, dependency, or answer]
## Done
- [x] [Things you've shipped]
---
## Last session
- Changed:
- Next:
- Watch out for:Paste this at the beginning of every AI conversation:
Take a look at the agents.md file and any other markdown files inside the .ai folder.
Once you've reviewed everything, let me know which tasks we have next, prioritized.
Also, let me know what the last change in the git repo was so I can jog my own memory
of where we left off. Then we'll discuss and get started.
Real-world examples of how this looks across different project types:
| Example | Stack | Description |
|---|---|---|
examples/mobile-app |
React Native + Expo + Supabase | Personal expense tracking app |
examples/web-app |
Next.js 15 + Supabase + Vercel | Freelance proposal generator |
examples/ecommerce |
Shopify + Dawn theme | Handmade textile goods store |
examples/marketing-website |
Astro + Netlify | HR consulting firm site |
From Good Code — a practical field guide for non-developers building with AI.