Agent files
AGENTS.md and CLAUDE.md are written for the exact modules you generated, so your agent starts with the right context. Each module adds a block to both files that points to its guide in .tailar/agent/<module>/MODULE.md.
- What each module does and where its code lives
- Rules to follow: server components by default, access to the database only through its singleton, user-facing text in
messages/*.json, design tokens instead of raw colours - Which files depend on what is installed, and when to run
tailar sync - Rules only for the modules you actually installed
Text between the tailar:begin and tailar:end markers is owned by Tailar and rewritten by tailar add and tailar sync. Anything you write outside the markers is never touched.
Rules and skills
Rules keep your agent on convention. Skills teach it a repeatable change. Skills ship with the module they belong to:
| Skill | Module | What it does |
|---|---|---|
| add-billing-provider | payments | Adds a billing provider adapter and its webhook route for a vendor other than Stripe, Lemon Squeezy or Paddle |
| migrate-legacy-payments | payments | Moves an app generated with the earlier Stripe-shaped payments module to the provider-neutral schema, before running tailar sync payments |
| add-storage-scope | storage | Adds a named upload area with its own size limit, allowed types and access rule |
Write your own: add a folder with a SKILL.md under .claude/skills. Claude Code picks it up on its next run. The other modules, database, email, auth, AI and i18n, have rules but no skills yet.
Prompt recipes
Copy a prompt, paste it into your agent and review the diff. The rules in your repo tell it where things live.