query-collections

Installation
SKILL.md

Prerequisite: This skill requires a schema0 template project. Before using, ensure CLAUDE.md exists in the project root and read it for project rules and conventions.

Query Collections Generator

Web only. This skill generates files into apps/web/. Do NOT use if apps/web/ does not exist.

Create frontend query collections with form schema imported from @template/db/schema, Dialog, Form components, and toast error handling.

Files to Create

File Location
Collection apps/web/src/query-collections/custom/{entity}.ts
Dialog apps/web/src/components/ui/data-table/custom/{entity}/{Entity}Dialog.tsx
Form apps/web/src/components/ui/data-table/custom/{entity}/{Entity}Form.tsx
Index apps/web/src/components/ui/data-table/custom/{entity}/index.ts

Dependencies

Related skills
Installs
2
First Seen
Mar 30, 2026