AI SummaryFairArena Windsurf Rules is a context prompt for the Windsurf IDE that provides architectural guidance and code standards for a production-grade skill assessment platform, helping developers maintain consistency across a complex full-stack application.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "FairArena — Windsurf Rules" prompt rules to my project. Repository: https://github.com/FairArena/FairArena Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
This is the FairArena
Project Overview
FairArena is a production-grade full-stack skill assessment platform with enterprise architecture. Live: https://www.fairarena.app API: https://fairarena.app/api/v1 License: Proprietary Author: Saksham Goel
Stack
Frontend: React 19.2 + TypeScript 5.9 + Vite 7.3 + TailwindCSS 4.1 Backend: Node.js 20 + Express 5.2 + Prisma 7.2 + PostgreSQL 15+ Cache: Redis 7 (Upstash) Jobs: Inngest (34+ background functions) Auth: Clerk (JWT-based) Email: Resend (19 React templates) AI: Google Gemini + LangChain Payments: Razorpay Security: Arcjet + Helmet Observability: OpenTelemetry + SigNoz Infra: Docker + Caddy + Cloudflare
Why These Technologies?
• Prisma ORM: Type-safe queries, migration management, 30+ models • Inngest: Event-driven architecture for 34+ async jobs (email, payments, notifications) • Redis (Upstash): Serverless caching with global edge network • Clerk: Comprehensive auth with webhooks, OAuth, MFA • OpenTelemetry: Distributed tracing to SigNoz for production debugging • Arcjet: Production-ready rate limiting and bot detection • pnpm: Fast, efficient package manager (disk space optimization)
Database Schema Highlights
30+ Models including: • User, Profile, Settings • Organization → Team → Project (RBAC hierarchy) • Payment, CreditTransaction, Plan • Notification, Support, Feedback • Audit logs for all entities • Soft deletes everywhere Key patterns: • Role-based permissions (JSON field) • Invite codes with expiry • Comprehensive indexing • Read replicas for scaling
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts