Skip to content

Commit b05f236

Browse files
committed
agents
1 parent 5b1bda8 commit b05f236

3 files changed

Lines changed: 24 additions & 12 deletions

File tree

.cursor/rules/agents.mdc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.cursor/rules/full-gate.mdc

Lines changed: 0 additions & 7 deletions
This file was deleted.

AGENTS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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.

0 commit comments

Comments
 (0)