home/coding/ruler-windsurf-instructions

Ruler Windsurf Instructions

GPTClaudeDeepSeek··1,257 copies·updated 2026-07-14
ruler-windsurf-instructions.prompt
---
trigger: always_on
---
<!-- Source: .ruler/bts.md -->

# Better-T-Stack Project Rules

This is a better-auth-jwt project created with Better-T-Stack CLI.

## Project Structure

This is a monorepo with the following structure:


- **`apps/server/`** - Backend server (Hono)


## Available Scripts

- `bun run dev` - Start all apps in development mode
- `bun run dev:server` - Start only the server

## Database Commands

All database operations should be run from the server workspace:

- `bun run db:push` - Push schema changes to database
- `bun run db:studio` - Open database studio
- `bun run db:generate` - Generate Drizzle files
- `bun run db:migrate` - Run database migrations

Database schema files are located in `apps/server/src/db/schema/`

## API Structure

- tRPC routers are in `apps/server/src/routers/`
- Client-side tRPC utils are in `apps/web/src/utils/trpc.ts`

## Authentication

Authentication is enabled in this project:
- Server auth logic is in `apps/server/src/lib/auth.ts`

## Adding More Features

You can add additional addons or deployment options to your project using:

when to use it

Community prompt sourced from the open-source GitHub repo yeasin2002/promptsu (no explicit license). A "Ruler Windsurf Instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

yeasin2002/promptsu · no explicit license