vibestackdev/vibe-stack

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.

7Stars on the repository
31Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

api-validation

03

vibestackdev/vibe-stack

Cursor rule Cursor

API route validation — enforces Zod validation on all route handlers and server actions.

7 2d ago A 0 tokens original MIT

database-design

06

vibestackdev/vibe-stack

Cursor rule Cursor

Database schema design patterns for Supabase with proper types and relationships.

7 2d ago A 0 tokens original MIT

file-uploads

10

vibestackdev/vibe-stack

Cursor rule Cursor

Image and file upload patterns — prevents insecure client-side uploads and missing file validation.

7 2d ago A 0 tokens original MIT

middleware-auth

13

vibestackdev/vibe-stack

Cursor rule Cursor

Next.js middleware auth — prevents auth logic being placed in middleware instead of route handlers.

7 2d ago A 0 tokens original MIT

performance

15

vibestackdev/vibe-stack

Cursor rule Cursor

Next.js performance optimization — caching, bundle size, and Core Web Vitals.

7 2d ago A 0 tokens original MIT

project-context

16

vibestackdev/vibe-stack

Cursor rule Cursor

Core project context — tech stack, folder structure, and global conventions.

7 2d ago A 508 tokens original MIT

security

18

vibestackdev/vibe-stack

Cursor rule Cursor

Security rules and OWASP Top 10 enforcement for AI-generated code.

7 2d ago A 0 tokens original MIT

server-actions

19

vibestackdev/vibe-stack

Cursor rule Cursor

Guidelines for Server Actions — validation, error handling, and when to use Route Handlers instead.

7 2d ago A 0 tokens original MIT