feat: add AGENTS.md for all packages and apps (9 files)
This commit is contained in:
24
apps/storybook/AGENTS.md
Normal file
24
apps/storybook/AGENTS.md
Normal 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.
|
||||
Reference in New Issue
Block a user