diff --git a/AGENTS.md b/AGENTS.md index 57ad8ef..daddebf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -150,6 +150,7 @@ learning_ai_clock/ | **Backend** | Platform-service (Fastify 5, port 4003) in sibling repo `learning_ai_common_plat` | | **Database** | Azure Cosmos DB via `@bytelyst/cosmos` (`productId: "chronomind"`) | | **Tests** | Vitest (web, 373 tests), XCTest (iOS, 129 tests), JUnit5 (Android, 30 tests) | +| **Design system** | `@bytelyst/design-tokens` (CSS custom properties), `@bytelyst/ui` (shared React components) | ## 4. Coding Conventions @@ -162,6 +163,9 @@ learning_ai_clock/ - Android engine in `android/app/.../engine/` — pure Kotlin, no Android framework deps - Theme tokens use `--cm-*` CSS custom properties (web) or `ChronoMindTheme` (native) - Commit messages: `type(scope): description` — types: `feat`, `fix`, `docs`, `refactor`, `test`, `chore` +- Use `@bytelyst/ui` components (Button, Card, Badge, Toast, etc.) — never build custom equivalents +- All web colors via `--cm-*` CSS custom properties from `@bytelyst/design-tokens` — never hardcode hex values +- Every interactive element must have `aria-label` or visible text label ### MUST NOT do