Vibe Stack
Description
29 .mdc architecture rules that prevent AI coding assistants from hallucinating insecure auth, deprecated imports, and broken Next.js 15 patterns. Built for Cursor Agent and Claude Code.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
β‘ Vibe Stack
Stop fixing AI-generated bugs. Start shipping production apps.
A **Next.js 15 + Supabase boilerplate** with **29 `.mdc` architecture rules** that physically prevent AI coding assistants from hallucinating insecure auth, deprecated packages, and broken patterns.
[](https://nextjs.org/) [](https://react.dev/) [](https://supabase.com/) [](https://www.typescriptlang.org/) [](LICENSE)
**The problem:** AI models generate code that compiles perfectly but ships critical vulnerabilities β `getSession()` instead of `getUser()`, synchronous params that crash in Next.js 15, missing RLS policies that expose your database. These bugs are invisible until production.
**The fix:** Architecture rules that override the AI's training data. When a rule says "NEVER use getSession()", the model is constrained to generate the secure pattern. Every time.
π Quick Start
git clone https://github.com/vibestackdev/vibe-stack.git
cd vibe-stack
npm install
cp .env.example .env.local
# Add your Supabase URL + anon key to .env.local
npm run dev
Open in **Cursor** and start building. The rules activate automatically β zero configuration.
π What's Free (This Repo)
This open-source repo includes **5 foundational architecture rules** β the most critical safeguards for any Next.js 15 + Supabase project:
| Free Rule | What It Prevents |
|---|---|
supabase-auth-security.mdc |
Bans getSession(), enforces getUser() for JWT verification |
nextjs15-params.mdc |
Prevents synchronous params access (the #1 Next.js 15 breaking change) |
supabase-ssr-only.mdc |
Blocks deprec |
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
π₯ The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
βAI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.π― εε«δΏ‘ζ―θΏθ½½οΌδ½ η
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI