Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.07 KB

File metadata and controls

21 lines (18 loc) · 1.07 KB

AGENTS.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Build/Lint/Test Commands

  • npm run dev: Start development server
  • npm run build: Build for production
  • npm run lint: Run ESLint
  • npm run lint-fix: Run ESLint with auto-fix
  • npm run format: Format code with Prettier
  • npm run playwright:test: Run Playwright tests in headless mode
  • npm run playwright:test:ui: Run Playwright tests in interactive UI mode

Code Style Guidelines

  • TypeScript: Strict mode, ES2022 target, path aliases (@/* for src)
  • Formatting: Double quotes, 2-space indent, semicolons required
  • Imports: Order by 3rd-party → library → CAREUI → UI → components → hooks → utils → relative
  • Types: Use interface for objects, avoid explicit any, proper nullability
  • Naming: PascalCase for components/classes, camelCase for variables/functions
  • Components: Organized by feature, maintain separation of concerns
  • Error Handling: Use dedicated error handlers, TypeScript strict null checks