File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Agent instructions
2+
3+ ## Data access
4+
5+ - Use typed SQL (generated ` sql ` helpers with ` prisma.$queryRawTyped ` ).
6+ - Do not use ` prisma.$queryRaw ` or ` Prisma.sql ` .
7+ - Exception: Prisma typed SQL filenames must be valid JS identifiers (no
8+ dashes), so the lower-kebab-case rule does not apply under ` prisma/sql/ ` .
9+
10+ ## Full gate before push
11+
12+ You can push when you feel confident things are working, but immediately after
13+ pushing, run the full gate to ensure everything is working (with the exception
14+ of formatting, these can be run simultaneously with ` npm run validate ` ).
15+
16+ - Run formatting (` npm run format ` ).
17+ - Run type checking (` npm run typecheck ` ).
18+ - Run linting (` npm run lint -- --fix ` ).
19+ - Run tests (` npm run test ` , plus any relevant e2e suites).
20+ - Only push after all checks pass.
21+
22+ If anything changes as a result of running the full gate, commit and push that.
23+ If you need to make changes to the codebase, do so in a separate commit and push
24+ that as well.
You can’t perform that action at this time.
0 commit comments