Project conventions
Updated 2026-02-13
Generic project conventions for AI: coding standards, naming, and structure. Use in Cursor, Windsurf, Codeium, or any AI-assisted editor.
Use in Cursor, Windsurf, Codeium, or any AI-assisted editor.
Rule
# Project conventions
When editing this codebase, follow the project's established conventions.
- **Coding standards:** Use the defined file naming (PascalCase components, camelCase utils, kebab-case routes), import order, and path aliases.
- **UI components:** Prefer shared components from the design system over raw elements.
- **Theme and styling:** Use theme tokens and Tailwind classes; avoid arbitrary colors or inline styles.
- **Accessibility:** Ensure focus-visible states, semantic HTML, and WCAG AA contrast.
- **TypeScript:** No `any`; define interfaces for props; place shared types in a dedicated types directory.