Prompt (à donner à l'agent) :
Analyze this codebase and create an AGENTS.md file at the project root.
AGENTS.md is loaded into every agent session, so it must stay short and high-value. Include ONLY:
1. **Project overview**: One sentence describing what this project is.
2. **Tech stack**: Languages, frameworks, key dependencies.
3. **Essential commands**: Build, test, lint, dev server — the commands a developer runs daily.
4. **Critical project conventions**: Only rules that apply to EVERY task on this project.
5. **Critical general conventions**: see instructions below
Guidelines:
- Write in French
- Keep it under 50 lines
- No generic best practices — only project-specific information
- When in doubt, leave it out — we'll put detailed docs in skills
Add subagents rules:
- Proactively use **subagents** (Task tool) to keep exploration, research and verbose operations out of the main conversation
- Default to spawning agents for: codebase exploration, research tasks, code review or analysis, any investigation where only the summary matters
Add Critical General Conventions:
- **CSS**: No inline styles (blocked by CSP). Use only native CSS (no Tailwind/Bootstrap).
- **Custom Properties**: Use the custom properties defined in `assets/css/theme.css`. Prefer semantic CSS variables (`tokens`) over primitives.
- **Layouts**: **Bretzel** system via `data-layout` attributes (`duo`, `boxed`, `stack`, `cluster`, `stack`, `autogrid`, etc.). Prefer these attributes over utility classes and custom styles (e.g. `flex`, `grid`, etc.)
- **Media Query Syntax**: Use exclusively the Custom Media and Breakpoints listed in `assets/css/theme.css` (e.g. `@media (--md)`, `@media (--lg)`, etc.).
- **Commits**: Conventional Commits, type in English, description in French — e.g.: `feat(contact): ajoute captcha`
- **Comments**: in French
Present a draft and discuss with me before writing the file.