| name | project-conventions |
| description | Project-specific coding and architecture conventions. Always use when implementing features, writing code, or reviewing pull requests to ensure consistency. |
Project Conventions
Scoped conventions for consistent, maintainable code across the lekhan project:
- Pinia Conventions - Data fetching patterns with $fetch and useAsyncData
- Routing Conventions - Query parameter handling with getFirstQueryValue and useParsedQuery
- Utilities Conventions - Utility placement plus loading wrappers (
createWithLoading, createWithLoadingFor, useWithLoading)
- Frontend Conventions - Type safety, toast/flash messaging, form submit patterns, confirm dialogs, and page decomposition
- Zod Conventions - Schema generation from drizzle tables using drizzle-zod
Navigate to any reference file for detailed guidelines on that convention area.