Repo map
| Looking for | Path |
|---|---|
| Database schema | packages/db/src/schema.ts |
| Migrations | packages/db/migrations/ |
| tRPC routers | packages/core/src/server/trpc/routers/ |
| RBAC roles, permissions, page access | packages/core/src/lib/rbac.ts |
| Auth config (Better Auth) | packages/core/src/lib/auth.ts |
| Stripe + payment intent handler | packages/core/src/http/create-payment-intent.ts |
| Webhook / cron / upload handlers | packages/core/src/http/ |
| Email sending and templates | packages/core/src/lib/ (see the email-template skill) |
| API server, mounts | apps/api/src/index.ts |
| Mobile REST surface | apps/api/src/v1/ |
| Web → API proxy rules | apps/web/src/proxy.ts |
| Public pages | apps/web/src/app/(main)/ |
| Admin pages | apps/web/src/app/(main)/admin/ |
| Admin sidebar | apps/web/src/app/(main)/admin/AdminLayoutClient.tsx |
| Design tokens | apps/web/src/styles/design-tokens.json, DESIGN.md |
| Deploy workflows | .github/workflows/build.yml, deploy-coolify.yml, ci.yml |
| Compose files | docker/web/, docker/api/, docker/docs/ |
| These docs | apps/docs/src/content/docs/ |
| Reservation / bidding / rally / event-setup internals | Logic flows |
Deep references in the repo
Section titled “Deep references in the repo”Written next to the code they describe, and kept current by the people who change it:
docs/booking-payments/architecture.md— the booking and payment system.docs/booking-payments/decisions.md— append-only decision log for that path.docs/api-split/implementation.md— theapps/apisplit, phase by phase.docs/deployment-strategy.md— deploy mechanics and why the deploy verifies.CLAUDE.md— the condensed rules file.
Skills
Section titled “Skills”Recipes for recurring work, invoked rather than improvised: trpc-router, drizzle-schema, admin-crud, rbac-permissions, signing-queue, booking-stripe, email-template, autosend.
