Project Conventions

Project-specific coding and architecture conventions. Always use when implementing features, writing code, or reviewing pull requests to ensure consistency.

jd-solanki 6dae37c 6 files · 15.6 KB Updated

File contents

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.

jd-solanki/lekhan-internal-sync/tree/main/.agents/skills/project-conventions commit 6dae37c866

Frequently asked questions

npx skillmds@latest add jd-solanki/project-conventions