Personal starter template: Next.js + TypeScript + TailwindCSS + shadcn/ui + Supabase, plus a file-based agent memory system for use with Antigravity 2.0.
antigravity-blueprint/
├── AGENTS.md <- hot memory: project map, read every session
├── app/ <- Next.js App Router pages
├── components/ui/ <- shadcn/ui-style components
├── lib/
│ ├── supabase.ts <- single Supabase client instance
│ └── utils.ts <- cn() helper for shadcn components
├── .env.local.example <- copy to .env.local and fill in
└── .agents/
└── memory-decisions.md <- warm memory: append-only decision log
Session logic (session-start, auto-memory, scope-check) and project
bootstrapping (bootstrap-project) live as real command files in
.agents/commands/, alongside define-concept, research-spike, and
generate-agent-team — see "Daily workflow" below.
pnpm installcp .env.local.example .env.localand fill in your Supabase project URL- anon key (Supabase dashboard → Project Settings → API)
pnpm devand confirm it runs at localhost:3000- Open
AGENTS.mdand fill in the project name/description at the top - Delete the template example entry in
.agents/memory-decisions.md
This template assumes Mem0 is already configured globally in Antigravity at
~/.gemini/config/mcp_config.json with your API key. Nothing project-specific
needs to be added here — the session-start and auto-memory skills will
use it automatically if it's connected. Never commit an API key into this
repo.
- Start of session:
run session-start. ReadsAGENTS.md+.agents/memory-decisions.md, checks git status, prints a stack/decisions summary, and confirms it's ready. - While working: keep threads focused — start a new chat thread per feature/endpoint rather than letting one thread run for hundreds of turns.
- End of session:
run auto-memory. Diffs the session's changes, appends a dated entry tomemory-decisions.md, updatesAGENTS.mdif a project-wide convention changed, and syncs key facts to Mem0. Commit the markdown changes along with your code.
- Make sure this template lives at
~/Templates/antigravity-blueprint/(macOS:/Users/dylanboyle/Templates/antigravity-blueprint/) — this is the path yourbootstrap-projectcommand copies from. - Open your new (empty or existing) project folder in Antigravity.
run bootstrap-project. It copies this template in, detects your actual stack from files likepackage.json/go.mod/Cargo.toml, and rewritesAGENTS.md's placeholders with the real stack, commands, and conventions.run session-startfrom then on, like any other project.
If the new project is genuinely a fresh Next.js + Supabase app with no
existing code to detect, bootstrap-project will just keep this template's
defaults as-is — confirm the .env.local and Supabase keys before you start.