# StyleKit Agent Rules Rules for any AI assistant working in this repository. Checked into version control on purpose: `CLAUDE.md` is a local, gitignored file, so anything that should reach every contributor and every assistant belongs here. If instructions conflict, follow this order: 1. `AGENTS.md` (this file) 2. `docs/CONTRIBUTING.md` 3. `docs/STYLE_ADDITION_CHECKLIST.md` ## Branch Workflow - `dev` is the development branch. All feature, fix and experiment work goes here. - `main` is the release branch. Do not commit, rebase or force-push `main` unless the owner asks for a release. - The owner decides when dev is ready. Only then merge `dev` into `main` (or open a PR from `dev`) and deploy the merged `main`. - Deploy from a clean, committed branch. Never rsync an uncommitted working tree, and never push dev work to main early. ## Tech Stack - Next.js 16 (App Router, NOT Pages Router) - React 19 - TypeScript strict mode - Tailwind CSS v4 (CSS-based config, NO `tailwind.config.js`) - pnpm (NOT npm or yarn) - Vitest for unit tests, Playwright for E2E - Radix UI primitives for accessible components ## Interface Rules - **Never use a native `