From a75c22b5c0e62189fe7114d51694a7ba018d5129 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Sun, 29 Mar 2026 01:44:00 -0700 Subject: [PATCH] docs(agents): add @bytelyst/ui and @bytelyst/design-tokens to AGENTS.md --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 063d89a..3d1278e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -142,6 +142,7 @@ learning_ai_notes/ | **Web** | Next.js 16 (App Router), React 19, TailwindCSS v4, Zustand, Vitest | | **Mobile** | React Native (Expo), TypeScript, expo-router, Zustand, MMKV | | **Shared packages** | `@bytelyst/fastify-core`, `@bytelyst/config`, `@bytelyst/cosmos`, `@bytelyst/errors`, `@bytelyst/datastore`, `@bytelyst/api-client`, `@bytelyst/react-auth`, `@bytelyst/auth-client`, `@bytelyst/telemetry-client`, `@bytelyst/diagnostics-client`, `@bytelyst/feature-flag-client`, `@bytelyst/kill-switch-client`, `@bytelyst/platform-client`, `@bytelyst/blob-client` | +| **Design system** | `@bytelyst/design-tokens` (CSS custom properties), `@bytelyst/ui` (shared React components) | | **Platform** | platform-service (port 4003) for auth, flags, telemetry, billing, blob | | **Extraction** | extraction-service (port 4005) for AI-powered task extraction | | **Database** | Azure Cosmos DB via `@bytelyst/datastore` — `productId: "notelett"` | @@ -159,6 +160,9 @@ learning_ai_notes/ - Mobile API clients in `mobile/src/api/` — pure TS - Theme tokens use `--nl-*` CSS custom properties (web) or `NoteLettTheme` (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 colors via `--nl-*` 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