AGENTS.md
AGENTS.md defines the implementation contract for this repository.
Key guidance encoded in AGENTS.md
- Tech stack expectations (React 19, strict TypeScript, TanStack Query, RHF + Zod, Chakra UI v3, Router v7, Ky, i18next).
- Feature file pattern and naming conventions.
- Import rules (
~/alias and centralized API imports). - Routing composition rules (PrivateRoute/PublicRoute + layout structure).
- i18n expectations (avoid hardcoded strings for user-facing copy).
- Verification commands (
pnpm type-check,pnpm buildwhen relevant).
Practical impact
When adding or refactoring a feature:
- Keep UI and logic separate.
- Keep API access in
data-access. - Use shared components from
~/common/ui. - Update locale keys when introducing user-facing text.
- Validate with type-check/build before handoff.