STACK IT FAST
AI CODING AGENT RULES, SKILLS & ARCHITECTURE STANDARDS

Cursor Rules, AGENTS.md & Agent Skills Directory

Stop rewriting system prompts from scratch. Copy battle-tested AGENTS.md, Cursor rules, CLAUDE.md, and Claude Code skills (SKILL.md) configured for real production architectures.

Curated Rules & Skills: 20
Supported Techs: 59
Status: 100% Free · Copy-Paste Ready
Showing 20 of 20 verified rule & skill sets
4 FILE FORMATS intermediate
71 lines

Astro SSR + Tailwind CSS + Cloudflare

Architecture rules for Astro server-side rendering, React client islands, Tailwind CSS, and Cloudflare Pages/Workers edge deployment.

Astro Tailwind CSS Cloudflare TypeScript React
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
71 lines

Bun + Hono + SQLite (libSQL & Drizzle ORM)

Ultra-fast edge API architecture using Bun.serve(), Hono v4, Drizzle ORM with embedded SQLite / Turso libSQL, and Zod OpenAPI validation.

Bun Hono SQLite Drizzle TypeScript Zod
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
109 lines

Django + PostgreSQL + Redis + Celery

Production guidelines for Django 5 enterprise applications, PostgreSQL connection pooling, Redis caching, and Celery async workers.

Django Python PostgreSQL Redis Celery React
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS advanced
73 lines

Elixir + Phoenix LiveView + PostgreSQL

Real-time reactive web architecture for Elixir 1.17, Phoenix 1.7+, LiveView HTML-over-WebSockets, OTP supervision trees, and Ecto.

Elixir Phoenix LiveView PostgreSQL Ecto Tailwind CSS
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
76 lines

Expo Router + React Native + NativeWind

Modern cross-platform mobile architecture for Expo SDK 52, Expo Router v4 file-based routing, React Native, NativeWind v4, and TanStack Query.

Expo React Native NativeWind Tailwind CSS TypeScript iOS Android
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
94 lines

FastAPI + Python + PostgreSQL (Async SQLAlchemy & Pydantic v2)

Production guidelines for FastAPI, Pydantic v2 validation, Async SQLAlchemy 2.0 (asyncpg), Alembic migrations, and PostgreSQL/Redis.

FastAPI Python PostgreSQL SQLAlchemy Alembic Pydantic Redis
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
65 lines

Go + Echo + SQLite (Embedded, Self-Hosted Tools)

Architecture guidelines for single-binary Go services using the Echo framework, embedded SQLite, and minimal-JS server-rendered UI.

Go Echo SQLite Docker
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS advanced
88 lines

Go + PostgreSQL (pgx & sqlc) + React

High-throughput systems architecture rules for Go (Golang), pgxpool connection management, sqlc type-safe query generation, and React web dashboards.

Go PostgreSQL React Docker TypeScript
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS advanced
73 lines

LangGraph + Python + FastAPI (Agentic AI Workflows)

Production architecture for autonomous multi-agent systems, LangGraph cyclic state graphs, Pydantic v2 structured tool calling, and Chroma/Qdrant vector stores.

LangGraph LangChain FastAPI Python Pydantic Vector DB
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
67 lines

Laravel + Livewire + PostgreSQL

Production guidelines for Laravel 11 monoliths, Livewire reactive components, Eloquent ORM query discipline, and queued job workers.

Laravel Livewire PHP PostgreSQL Alpine.js Tailwind CSS
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
87 lines

NestJS + PostgreSQL + Redis + BullMQ

Enterprise backend architecture guidelines for NestJS modular design, PostgreSQL connection pooling, Redis BullMQ background jobs, and DTO validation.

NestJS Node.js TypeScript PostgreSQL Redis BullMQ
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS advanced
64 lines

Next.js + ClickHouse + Prisma (Analytics & Observability)

Architecture guidelines for high-volume event ingestion and analytical queries using ClickHouse alongside a PostgreSQL/Prisma control plane.

Next.js ClickHouse Prisma PostgreSQL TypeScript
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS starter
88 lines

Next.js 15 + Drizzle ORM + Supabase

Production guidelines for Next.js App Router, Drizzle ORM with postgres-js, Supabase Transaction Pooler (prepare: false), and RLS security.

Next.js Drizzle Supabase TypeScript Tailwind CSS PostgreSQL
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS starter
86 lines

Next.js 15 + Prisma ORM + PostgreSQL

Production guidelines for Next.js App Router, Server Actions, Prisma connection pooling, PgBouncer/Neon tuning, and Zod schema validation.

Next.js Prisma PostgreSQL TypeScript Tailwind CSS
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
64 lines

Node.js + Express + MongoDB

Production guidelines for Express REST APIs, Mongoose schema design, and MongoDB indexing/transaction discipline.

Node.js Express MongoDB TypeScript Redis
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS starter
66 lines

Nuxt 3 + Vue + PostgreSQL

Production guidelines for Nuxt 3 server routes and universal rendering, Vue 3 Composition API, and PostgreSQL via a typed query layer.

Nuxt Vue PostgreSQL Supabase TypeScript Tailwind CSS
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS intermediate
80 lines

Ruby on Rails + PostgreSQL + Redis + Sidekiq

Production guidelines for Ruby on Rails monoliths, ActiveRecord pool tuning, Redis Sidekiq background jobs, and modern Hotwire or React UI architecture.

Rails Ruby PostgreSQL Redis Sidekiq
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS advanced
73 lines

Rust + Axum + PostgreSQL (sqlx & Tokio)

High-concurrency systems architecture for Rust 2024, Axum 0.8, Tokio async runtime, compile-time SQL verification with sqlx, and Tower middleware.

Rust Axum PostgreSQL sqlx Tokio Docker
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS starter
76 lines

SvelteKit + PostgreSQL + Drizzle ORM

Production guidelines for SvelteKit form actions and load functions, Drizzle ORM over PostgreSQL, and Svelte 5 runes-based reactivity.

SvelteKit Svelte PostgreSQL Supabase Drizzle TypeScript Tailwind CSS
Cursor · Claude Code · Windsurf · AGY View Rules & Skill
4 FILE FORMATS starter
64 lines

Vite + React SPA + Hono (Edge API)

Architecture guidelines for zero-server-lag single-page apps built with Vite and React, backed by a Hono API on Cloudflare Workers.

Vite React Hono TypeScript Cloudflare
Cursor · Claude Code · Windsurf · AGY View Rules & Skill

Frequently Asked Questions on AI Architecture Rules & Skills

Everything you need to know about setting up AGENTS.md, CLAUDE.md, Cursor .mdc, SKILL.md, and context boundaries.

What is the purpose of AGENTS.md and CLAUDE.md files?

AGENTS.md and CLAUDE.md are specialized system prompt guideline files placed in repository roots. They supply AI coding assistants (like Cursor, Claude Code, Windsurf, and AGY) with non-negotiable architectural boundaries, connection pooling rules, framework idioms, and forbidden anti-patterns to prevent hallucinations and maintain codebase consistency.

How do I use these rules in my local development environment?

Copy the generated AGENTS.md into your project root, or drop the .mdc file into .cursor/rules/ for Cursor — both are automatically indexed. Claude Code directly reads CLAUDE.md for project conventions and CLI commands.

What's the difference between AGENTS.md, CLAUDE.md, and the .mdc file?

AGENTS.md is the open, cross-tool standard read by 30+ agents (Codex, Cursor, Copilot, Jules, and more). CLAUDE.md adds Claude Code-specific CLI commands and conventions. The .mdc file is the modern Cursor Rules format with YAML frontmatter (description, globs, alwaysApply) that replaces the legacy single .cursorrules file.

What is the difference between a rule and an agent skill (SKILL.md)?

Rules (AGENTS.md, CLAUDE.md, .mdc) are always-on project instructions loaded from the repository root. An agent skill is a SKILL.md file with YAML frontmatter (name, description) that agents like Claude Code, Codex, and Cursor load on demand when a task matches its description. Every stack on this page ships in both forms, so you can pin the guidelines globally or let the agent pull them in only when it touches that stack.

How do I install one of these as a Claude Code skill?

Open any rule set and copy the SKILL.md cURL command, or run: curl -s --create-dirs -o .claude/skills/<slug>/SKILL.md https://stackitfast.com/rules/<slug>/SKILL.md. Claude Code discovers project skills under .claude/skills/ automatically; the same file works in any Agent Skills-compatible tool.

Why are stack-specific rules necessary over generic prompts?

Generic system prompts fail on crucial framework-specific edge cases—such as disabling prepared statements in Supabase transaction poolers (prepare: false), configuring Redis noeviction policies for BullMQ, or enforcing asyncpg pool pre-ping in FastAPI. Stack-specific rules provide verified, battle-tested solutions to real integration gotchas.

Are these rules based on real open-source architectures?

Yes. Every rule set in STACK IT FAST is derived directly from verified production repositories benchmarked in our open-source directory, including Cal.com, PostHog, Supabase Studio, Sentry, Grafana, and Dub.

Need rules & skills tailored to your custom project constraints?

Take the 2-minute architecture survey to receive custom stack recommendations and instant AI repository scaffolding prompts.