This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm install- Install dependenciesnpm run build- Build the projectnpm run test- Run all testsnpm run test -- -t "test name"- Run a specific testnpm run lint- Run linting checksnpm run typecheck- Check TypeScript types
- Use TypeScript for all source files
- Format code with Prettier (2 space indentation)
- Import order: node modules, then project modules (alphabetically)
- Use camelCase for variables/functions, PascalCase for classes/types
- Error handling: use typed errors and Promise rejection patterns
- SQL template literals should use tagged template syntax
- Document public APIs with JSDoc comments
- Use strong typing for SQL parameters with runtime validation
- Follow functional programming patterns where appropriate