Skip to content
STACK IT FAST
AI coding agent rules and skills

Cursor rules, AGENTS.md & agent skills.

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

Not sure which file your tool reads? AGENTS.md vs CLAUDE.md vs .cursorrules, with data from 113 repos

Rule and skill sets
32
Technologies covered
76
Free, copy-paste ready
100%

Every rule set

Showing 32 of 32

astro-tailwind-cloudflare/AGENTS.md · 73 linesAstro SSR + Tailwind CSS + CloudflareArchitecture rules for Astro server-side rendering, React client islands, Tailwind CSS, and Cloudflare Pages/Workers edge deployment. intermediate AstroTailwind CSSCloudflareTypeScriptastro-static-content/AGENTS.md · 72 linesAstro Static Site + Content Collections + TailwindRules for a fully static Astro 7 site: content collections with Zod schemas, zero-JS pages with rare islands, build-time sitemap and OG images, and static hosting on Cloudflare. starter AstroTailwind CSSTypeScriptMDXbun-hono-sqlite/AGENTS.md · 73 linesBun + 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. intermediate BunHonoSQLiteDrizzledjango-postgres-redis/AGENTS.md · 111 linesDjango + PostgreSQL + Redis + CeleryProduction guidelines for Django 6 enterprise applications, PostgreSQL connection pooling, Redis caching, and Celery async workers. intermediate DjangoPythonPostgreSQLRedisphoenix-liveview-postgres/AGENTS.md · 75 linesElixir + Phoenix LiveView + PostgreSQLReal-time reactive web architecture for Elixir 1.20, Phoenix 1.8+, LiveView HTML-over-WebSockets, OTP supervision trees, and Ecto. advanced ElixirPhoenixLiveViewPostgreSQLexpo-sqlite-local-first/AGENTS.md · 71 linesExpo + SQLite + Drizzle (Local-First Mobile App)Rules for an offline-first Expo SDK 57 app: expo-sqlite with Drizzle migrations bundled in the app, no backend by default, sync as an optional module, EAS Build and Update. starter ExpoReact NativeExpo RouterSQLiteexpo-react-native-tailwind/AGENTS.md · 78 linesExpo Router + React Native + NativeWindModern cross-platform mobile architecture for Expo SDK 57, Expo Router file-based routing, React Native, NativeWind v4, and TanStack Query. intermediate ExpoReact NativeNativeWindTailwind CSSfastapi-jev-decision-service/AGENTS.md · 73 linesFastAPI + Jev Decision Service (Python)Python rules for a Jev decision service: FastAPI, the async typesafe-sdk client, a typed question registry, confidence thresholds, decision logs and replay tests. intermediate PythonFastAPIJevPydanticfastapi-python-postgres/AGENTS.md · 96 linesFastAPI + Python + PostgreSQL (Async SQLAlchemy & Pydantic v2)Production guidelines for FastAPI, Pydantic v2 validation, Async SQLAlchemy 2.0 (asyncpg), Alembic migrations, and PostgreSQL/Redis. intermediate FastAPIPythonPostgreSQLSQLAlchemygo-echo-sqlite/AGENTS.md · 67 linesGo + 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. intermediate GoEchoSQLiteDockergo-postgres-react/AGENTS.md · 90 linesGo + PostgreSQL (pgx & sqlc) + ReactHigh-throughput systems architecture rules for Go (Golang), pgxpool connection management, sqlc type-safe query generation, and React web dashboards. advanced GoPostgreSQLReactDockerhono-jsx-internal-tools/AGENTS.md · 69 linesHono JSX + Bun + SQLite (Server-Rendered Internal Tools)Rules for internal tools rendered on the server with Hono JSX on Bun: forms over fetch, htmx where needed, an OAuth allow-list, Drizzle over SQLite or a read replica, and cron in the same process. starter HonoBunSQLiteDrizzlejev-browser-agent/AGENTS.md · 73 linesJev Browser Agent (Playwright + TypeSafe System One)Rules for a browser agent where Jev picks the action and target from an indexed element table, Noul checks goal and stuck, and a small LLM types only text. advanced JevPlaywrightTypeScriptPythonlanggraph-python-fastapi/AGENTS.md · 75 linesLangGraph + 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. advanced LangGraphLangChainFastAPIPythonlaravel-livewire-postgres/AGENTS.md · 69 linesLaravel + Livewire + PostgreSQLProduction guidelines for Laravel 13 monoliths, Livewire reactive components, Eloquent ORM query discipline, and queued job workers. intermediate LaravelLivewirePHPPostgreSQLrust-leptos-fullstack/AGENTS.md · 82 linesLeptos Full-Stack Rust (SSR + Hydration on Axum)Full-stack Rust web app rules: Leptos 0.8 SSR with hydration, server functions on Axum, sqlx + PostgreSQL, cargo-leptos and Tailwind, written for AI agents. advanced RustLeptosAxumWebAssemblyrust-loco-saas/AGENTS.md · 76 linesLoco + SeaORM + PostgreSQL (Rails-Style Rust SaaS)Rails-style Rust SaaS rules for Loco: generators, SeaORM models and migrations, Tera views or htmx scaffolds, JWT auth, background workers and mailers. intermediate RustLocoAxumSeaORMswiftui-compose-native/AGENTS.md · 67 linesNative iOS + Android (SwiftUI + Jetpack Compose, Shared Schema)Rules for native apps per platform: SwiftUI with SwiftData on iOS, Jetpack Compose with Room on Android, one shared OpenAPI or protobuf schema with codegen, and real-device CI per platform. advanced SwiftSwiftUIKotlinJetpack Composenestjs-postgres-redis/AGENTS.md · 89 linesNestJS + PostgreSQL + Redis + BullMQEnterprise backend architecture guidelines for NestJS modular design, PostgreSQL connection pooling, Redis BullMQ background jobs, and DTO validation. intermediate NestJSNode.jsTypeScriptPostgreSQLnextjs-clickhouse-analytics/AGENTS.md · 66 linesNext.js + ClickHouse + Prisma (Analytics & Observability)Architecture guidelines for high-volume event ingestion and analytical queries using ClickHouse alongside a PostgreSQL/Prisma control plane. advanced Next.jsClickHousePrismaPostgreSQLnextjs-ai-sdk-jev/AGENTS.md · 81 linesNext.js + Vercel AI SDK + Jev (System One + LLM)Next.js rules for Jev: typed TypeSafe decisions route, classify and gate on the server, the Vercel AI SDK streams LLM text, and confidence decides what runs. intermediate Next.jsReactTypeScriptJevnextjs-drizzle-supabase/AGENTS.md · 91 linesNext.js 16 + Drizzle ORM + SupabaseProduction guidelines for Next.js App Router, Drizzle ORM with postgres-js, Supabase Transaction Pooler (prepare: false), and RLS security. starter Next.jsDrizzleSupabaseTypeScriptnextjs-prisma-postgres/AGENTS.md · 89 linesNext.js 16 + Prisma ORM + PostgreSQLProduction guidelines for Next.js App Router, Server Actions, Prisma connection pooling, PgBouncer/Neon tuning, and Zod schema validation. starter Next.jsPrismaPostgreSQLTypeScriptnode-express-mongodb/AGENTS.md · 66 linesNode.js + Express + MongoDBProduction guidelines for Express REST APIs, Mongoose schema design, and MongoDB indexing/transaction discipline. intermediate Node.jsExpressMongoDBTypeScriptnuxt-vue-postgres/AGENTS.md · 69 linesNuxt 4 + Vue + PostgreSQLProduction guidelines for Nuxt 4 server routes and universal rendering, Vue 3 Composition API, and PostgreSQL via a typed query layer. starter NuxtVuePostgreSQLSupabasereact-native-new-architecture/AGENTS.md · 68 linesReact Native New Architecture + Native Modules (Scale)Rules for a large React Native app on the New Architecture: Expo dev client or bare, Expo Modules API and Turbo Modules for native code, a generated API client, performance budgets and staged releases. advanced React NativeExpoTypeScriptSwiftrails-postgres-redis/AGENTS.md · 82 linesRuby on Rails + PostgreSQL + Redis + SidekiqProduction guidelines for Ruby on Rails monoliths, ActiveRecord pool tuning, Redis Sidekiq background jobs, and modern Hotwire or React UI architecture. intermediate RailsRubyPostgreSQLRedisrust-axum-htmx-askama/AGENTS.md · 90 linesRust + Axum + htmx + Askama (Server-Rendered Web App)Server-rendered Rust web app rules: Axum 0.8, compile-time Askama templates, htmx partials, sqlx 0.9 + PostgreSQL, and a cargo check loop for AI agents. intermediate RustAxumHTMXAskamarust-axum-postgres/AGENTS.md · 84 linesRust + Axum + PostgreSQL API (sqlx & Tokio)Rust API and backend rules: Axum 0.8 on Tokio, compile-time SQL checks with sqlx 0.9, Tower middleware, typed errors and a cargo check loop for AI agents. advanced RustAxumPostgreSQLsqlxsveltekit-postgres-drizzle/AGENTS.md · 78 linesSvelteKit + PostgreSQL + Drizzle ORMProduction guidelines for SvelteKit form actions and load functions, Drizzle ORM over PostgreSQL, and Svelte 5 runes-based reactivity. starter SvelteKitSveltePostgreSQLSupabasetauri-react-desktop/AGENTS.md · 77 linesTauri 2 + React + Vite (Rust Desktop App)Desktop app rules for Tauri 2: React + Vite + TypeScript UI, typed Rust commands, least-privilege capabilities, SQLite in Rust, updater and signed CI builds. intermediate TauriRustReactVitevite-react-hono-edge/AGENTS.md · 66 linesVite + 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. starter ViteReactHonoTypeScript

Questions about rules and skills

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 directory, including Cal.com, PostHog, Supabase Studio, Sentry, Grafana, and Dub.

Need rules for your own constraints?

Take the two-minute survey for a stack matched to real architectures and a scaffolding prompt to start from.