Vibe Coding Rules
54 production architecture rules for vibe coding with Claude Code & Cursor. Drop-in CLAUDE.md, .cursor/rules, and .claude/skills for FastAPI, Next.js 15, and Go 1.22+ — turn…
Install
npx @aimyerdaulet/vibecodex initclaude mcp add vibe-coding-rules -- npx @aimyerdaulet/vibecodex init{
"mcpServers": {
"vibe-coding-rules": {
"command": "npx",
"args": [
"@aimyerdaulet/vibecodex",
"init"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →vibecodex — vibe coding rules for production
54 production architecture principles your AI coding agent (Claude Code, Cursor) follows automatically. Drop-in
CLAUDE.md,.cursor/rules/, and.claude/skills/for FastAPI, Next.js 15, and Go 1.22+. MIT.
npx @aimyerdaulet/vibecodex init
📘 Principles · 🐍 FastAPI example · ⚡ Next.js example · 🐹 Go example · 🤖 Claude skills · 🌐 vibecodex.dev
What is vibecodex?
vibecodex is the clean-code bible for vibe coding — 54 numbered architecture principles (A1–F10) that turn AI coding agents from fast juniors into disciplined seniors. You drop one CLAUDE.md plus a folder of Cursor rules into your repo, and from the next prompt every Claude Code or Cursor session follows production patterns: file size limits, anti-corruption layers, idempotency keys, bulkhead isolation, single-writer invariants, hexagonal boundaries.
It's built for vibe coders, solo devs, and indie hackers who ship fast with AI but don't want their Friday-night SaaS to become an unmaintainable 1,400-line router by Sunday.
Three stacks. One ruleset. Zero dependencies on a specific agent.
📖 Table of Contents
- 🚀 Quick Start
- 🚨 The problem
- 🛠️ 54 Production Principles
- 📂 Directory Structure
- 🚀 Reference Implementations
- 🤖 Claude Code Skills
- 🛠️ Copy-Paste AI Config
- 📊 vs Other Templates
- ❓ FAQ
- 🎯 When to use this blueprint
- 🤝 Contributing
- 📜 Citations
🚀 Quick Start
# Add vibecodex rules to your project (any stack)
git clone https://github.com/yerdaulet-damir/vibe-coding-rules.git /tmp/vibecodex
# 1. Drop CLAUDE.md into your repo root — Claude reads it on every session
cp /tmp/vibecodex/CLAUDE.md ./
# 2. Copy Cursor rules
cp -r /tmp/vibecodex/.cursor/rules/ .cursor/rules/
# 3. Copy Claude Code skills (debug-backend, new-feature, split-monolith, etc.)
cp -r /tmp/vibecodex/.claude/skills/ .claude/skills/
That's it. Your AI agent now follows 54 production principles from line one.
For new projects, start from one of the reference apps:
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…