A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A scaffold demonstrating how to use a turbo, mono repo, trpc, better auth, react, postgres and cursor ai rules.
This is a scaffold for a modern web application using a monorepo architecture. It's designed to provide a solid foundation for new projects, with a focus on type-safety, developer experience, and scalability.
This monorepo includes:
apps/web: An Astro application for the frontend.packages/api: A tRPC API for type-safe client-server communication.packages/db: Database schemas, migrations, and query utilities using Kysely.packages/utils: Shared utilities used across the monorepo.This scaffold is specifically designed to excel with AI coding assistants and "vibe coding" workflows:
.cursor/rules/ directory with detailed guidelines for:
Whether you're pair programming with Claude, GitHub Copilot, or Cursor's AI, this scaffold gives your AI assistant the context and examples it needs to generate high-quality, consistent code that follows your project's patterns.
Clone the repository:
git clone https://github.com/your-repo/monorepo-scaffold.git
cd monorepo-scaffold
Install dependencies:
pnpm install
Set up environment variables:
Create a .env file in apps/web and add the following variables:
# Generate a secret with `openssl rand -base64 32`
AUTH_SECRET="your_auth_secret"
# From your GitHub OAuth application
GITHUB_CLIENT_ID="your_github_client_id"
GITHUB_CLIENT_SECRET="your_github_client_secret"
# Your local PostgreSQL connection string
DATABASE_URL="postgres://user:password@localhost:5432/monorepo-scaffold"
Set up the database:
Make sure you have a PostgreSQL server running. Then, run the migrations:
DATABASE_URL="postgres://user:password@localhost:5432/monorepo-scaffold" pnpm --filter @app/db db:migrate
Run the development server:
pnpm dev
The web application will be available at http://localhost:3001.
pnpm build: Build all apps and packages.pnpm lint: Lint all code.pnpm typecheck: Run TypeScript to check for type errors.pnpm test: Run tests.This project is licensed under the MIT License - see the LICENSE file for details.
A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundarie
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
Cursor AI 编程规则精选集 | 132+ 规则,覆盖前端/后端/AI/DevOps 等 32 个领域