BetterTyped

20 mods across 1 repository, 4 stars between them.

BetterTyped/hype-stack

Cursor rule Cursor

Backend deletion mutations must remove owned dependencies in a single transaction. Apply when writing or changing delete mutations.

4 yesterday A 20 tokens

BetterTyped/hype-stack

Cursor rule Cursor

Use the typed frontendUrl() helper when building links to the frontend from backend code (email links, OAuth redirects).

4 yesterday A 23 tokens

data-fetching

08

BetterTyped/hype-stack

Cursor rule Cursor

Use HyperFetch SDK for all API and WebSocket communication in client apps (frontend, admin, mobile, extension).

4 yesterday A 0 tokens

database-migrations

09

BetterTyped/hype-stack

Cursor rule Cursor

Database schema change workflow - Prisma migrations, client regeneration, test DB sync. Apply whenever changing schema.prisma or database structure.

4 yesterday A 25 tokens

debugging

10

BetterTyped/hype-stack

Cursor rule Cursor

Bug-fixing discipline - build a red feedback loop before hypothesizing, ship every fix with a regression test. Apply whenever diagnosing or fixing a bug, failure, or regression.

4 yesterday A 36 tokens

frontend-testing

14

BetterTyped/hype-stack

Cursor rule Cursor

Client app testing conventions - real hooks and SDK with HyperFetch setMock at the network boundary.

4 yesterday A 0 tokens

module-design

17

BetterTyped/hype-stack

Cursor rule Cursor

Module design principles - deep modules, no speculative generality, vertical slices, self-review smells.

4 yesterday A 0 tokens