# Frontend — Local rules

## Stack

Next.js 14, TypeScript, TailwindCSS

## Key directories

- `/app` — App router pages
- `/components` — Reusable UI components
- `/lib` — Utilities and helpers

## Conventions

- Components: PascalCase, one per file
- Hooks: camelCase, prefix with `use`
- Server components by default; add 'use client' when needed

## Testing

- Run: pnpm test:frontend
- Write tests alongside components (\*.test.tsx)
```

## Constraints

- Use the Explore subagent (Task tool) for analysis
- Keep CLAUDE.md files concise and actionable
- Only create nested files where they add value
- Link to existing docs rather than duplicating content

## Example usage

```bash