feat: add AGENTS.md for all packages and apps (9 files)

This commit is contained in:
2026-04-06 15:04:15 +02:00
parent 95a46fe7f4
commit 2c110b33e9
9 changed files with 255 additions and 0 deletions

24
apps/storybook/AGENTS.md Normal file
View File

@@ -0,0 +1,24 @@
# apps/storybook — Centralized Storybook
Pulls stories from `packages/ui/src/**/*.stories.tsx`. Uses `@storybook/react-vite` with `@tailwindcss/vite` plugin.
## Development
```bash
pnpm dev --filter @repo/storybook # Starts on port 6006
```
## Configuration
- `.storybook/main.ts` — Framework config, story globs, Tailwind vite plugin
- `.storybook/preview.ts` — Global CSS import, control matchers
## Story Organization
Stories are organized by Atomic Design level via title:
- `"Atoms/Button"`, `"Molecules/FormField"`, `"Organisms/DataTable"`
## MCP
When running, Storybook MCP is available at `http://localhost:6006/mcp`.
Install `@storybook/addon-mcp` to enable.