Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.07 KB

File metadata and controls

23 lines (20 loc) · 1.07 KB

AGENTS.md

Build & Test Commands

  • Start development: npm run dev (runs on port 3000)
  • Build: npm run build
  • Tests: npm test (currently no test framework configured)
  • Storybook: npx storybook dev (configured for React/Vite)
  • Docker: Use .devcontainer/docker-compose.yml for containerized development

Code Style Guidelines

  • Framework: React with TypeScript + Vite
  • Import style: ES6 imports with type annotations
  • File structure: Components in app/ directory, stories alongside components
  • Naming: kebab-case for files, PascalCase for components
  • Linting: ESLint + Prettier (configured via Husky pre-commit)
  • Branch naming: fix/bug-title, feature/new-feature-name, docs/update-docs-section
  • Stories: .stories.@(js|jsx|mjs|ts|tsx) pattern for Storybook files
  • Testing: Vitest with Storybook integration (see .storybook/vitest.setup.ts)

Key Configuration

  • Storybook configured for React/Vite with essential addons
  • Development container with Node 23 Alpine on port 3000
  • Husky pre-commit hooks enabled