docs(agents): add @bytelyst/ui and @bytelyst/design-tokens to AGENTS.md
This commit is contained in:
parent
547031531b
commit
a75c22b5c0
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user