Getting started

Work with your agent

The rules, skills and commands that keep your agent on track.

01Rules your agent reads

AGENTS.md at the root covers commands, where code goes and the rules that prevent real bugs: workspace scoping, metered AI, money movement, logging and security headers. Folder files in features/ai, features/billing and db add local rules. Claude Code reads it through CLAUDE.md.

02Skills

Step-by-step skills for common jobs live in .agents/skills: rebrand, add-feature, add-ai-feature, add-ai-model, add-plan, add-api-operation, add-marketing-page, add-language, seo, write-blog-post, add-email, billing-change, database-change and verify-changes. Copy them into Claude Code, Cursor and Copilot's folders with:

Terminal
npm run agents:sync

03Commands that prove the work

Terminal
npm run check                       # typecheck, lint, unit tests
npm run db:query -- "select ..."    # read-only data checks
npm run test:e2e:local              # end-to-end, built and served like CI
npm run test:db                     # credit and billing tests on a local database

With AI_MOCK=true every model replies Mock reply: <message>, so AI code runs without a key. GET /api/dev/mailbox?to=<email> returns captured emails with their links and codes, so an agent can finish sign-up and magic-link flows on its own.

04Next.js devtools

.mcp.json adds the next-devtools MCP server, which gives your agent the running app's routes, logs and compile errors instead of guessing.