Skip to content

Commit 5f9dcb3

Browse files
add-ci-safety-agent-rule
Co-authored-by: me <me@kentcdodds.com>
1 parent a1df756 commit 5f9dcb3

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.cursor/rules/ci-safety.mdc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: CI safety checks before shipping
3+
globs: "*"
4+
alwaysApply: true
5+
---
6+
### CI safety checklist
7+
8+
- Run `npm run typecheck` after TypeScript changes.
9+
- Run `npx prisma generate --sql` if Prisma SQL imports fail.
10+
- Run `npm run test:e2e:run` for auth/session/permission changes.
11+
- If a check cannot run due to environment limits, document the reason and
12+
avoid declaring the change ready without CI confirmation.

0 commit comments

Comments
 (0)