BetterTyped

22 mods across 1 repository, 12 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.

not rated 12 +1 15d ago A 20 tokens original MIT

BetterTyped/hype-stack

Cursor rule Cursor

Backend errors should flow through centralized middleware - NEVER use try/catch to swallow errors.

not rated 12 +1 15d ago A 0 tokens original MIT

BetterTyped/hype-stack

Cursor rule Cursor

Backend Hono file upload middleware rules. Apply when adding or changing file upload routes.

not rated 12 +1 15d ago A 17 tokens original MIT

BetterTyped/hype-stack

Cursor rule Cursor

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

not rated 12 +1 15d ago A 23 tokens original MIT

backend-testing

07

BetterTyped/hype-stack

Cursor rule Cursor

Backend testing conventions - integration tests against real Docker services.

not rated 12 +1 15d ago A 0 tokens original MIT

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).

not rated 12 +1 changed 1mo ago A 0 tokens original MIT

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.

not rated 12 +1 15d ago A 25 tokens original MIT

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.

not rated 12 +1 15d ago A 36 tokens original MIT

domain-modeling

11

BetterTyped/hype-stack

Cursor rule Cursor

Canonical domain vocabulary and architecture decision records.

not rated 12 +1 15d ago A 355 tokens original MIT

frontend-features

12

BetterTyped/hype-stack

Cursor rule Cursor

Client app feature vertical architecture rules (frontend, admin, mobile, extension).

not rated 12 +1 15d ago A 0 tokens original MIT

frontend-styling

13

BetterTyped/hype-stack

Cursor rule Cursor

Client app styling and UI component conventions (frontend, admin, mobile, extension).

not rated 12 +1 15d ago A 0 tokens original MIT

frontend-testing

14

BetterTyped/hype-stack

Cursor rule Cursor

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

not rated 12 +1 15d ago A 0 tokens original MIT

module-design

17

BetterTyped/hype-stack

Cursor rule Cursor

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

not rated 12 +1 15d ago A 0 tokens original MIT

testing-philosophy

18

BetterTyped/hype-stack

Cursor rule Cursor

Shared testing philosophy for all apps - test real code, mock only unavailable third parties.

not rated 12 +1 15d ago A 0 tokens original MIT

websockets

21

BetterTyped/hype-stack

Cursor rule Cursor

Real-time over WebSockets end to end, SocketRouter and wsEmit on the backend, socketSdk with useListener and useEmitter on the client, auth on upgrade, testing.

not rated 12 +1 changed 24d ago A 0 tokens original MIT

background-work

22

BetterTyped/hype-stack

Cursor rule Cursor

Background work on the backend, cron jobs in the scheduler vs tasks in the Postgres queue, transactional enqueue, retries, idempotent handlers.

not rated 12 +1 changed 28d ago A 0 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: