Promptheus/rules53 rule sets · CC0Promptheus hub ↗

Promptheus / rules · Free · CC0 · No sign-up

Rules for your AI coding agent.

Production-grade AGENTS.md, CLAUDE.md and .cursorrules for every stack. Drop one file in your repo and Cursor, Claude Code, Copilot & Windsurf instantly code to your conventions — right versions, right patterns, no legacy. No bullshit.

01

Pick your stack

Next.js, FastAPI, Go, Rust… or a workflow like TDD or security. Every rule set is written by a senior engineer for that exact stack.

02

Choose the format

The same rules as AGENTS.md, CLAUDE.md, .cursor/rules, .windsurfrules or Copilot instructions — copy or download in one click.

03

Drop it in your repo

Commit the file at the root. Cursor, Claude Code, Copilot and Windsurf read it automatically and code to your conventions.

One rule set · five formats

  • AGENTS.mdrepo root
  • CLAUDE.mdrepo root (Claude Code)
  • .cursor/rules/your-stack.mdcCursor
  • .windsurfrulesrepo root (Windsurf)
  • .github/copilot-instructions.mdGitHub Copilot

Frameworks17

Full-stack app conventions — routing, data, rendering, the works.

Next.js 16 · React 19 · TypeScript 6 · Tailwind 4Next.js + TypeScriptApp Router, Server Components and Server Actions — typed, fast, no legacy patterns.nextjsreacttypescriptReact 19.2 · Vite 8.1 · TypeScript 6.0React + Vite + TypeScriptModern SPA — function components, hooks and TanStack Query, no class-era habits.reactvitetypescriptNode.js 24 LTS · Fastify 5.9 · TypeScript 6.0 · Zod 4Node.js APIREST APIs done right — validation, typed errors and a clean layered architecture.nodeapitypescriptPython 3.14 · FastAPI 0.139 · Pydantic 2.13 · SQLAlchemy 2.0Python + FastAPIAsync APIs with Pydantic v2, SQLAlchemy 2.0 and disciplined layering.pythonfastapipydanticPython 3.14 · Django 6.0 · DRF 3.17 · psycopg 3DjangoFat models, thin views, DRF serializers — the Django way, enforced.pythondjangodrfPHP 8.5 · Laravel 13 · EloquentLaravelEloquent, form requests and a service layer — modern, testable Laravel.phplaraveleloquentVue 3.5 · Nuxt 4.4 · TypeScript 6.0 · Pinia 3Vue 3 + NuxtComposition API, script setup and Nuxt 3 — typed, SSR-ready, no Options API.vuenuxttypescriptSvelte 5 · SvelteKit 2 · TypeScript 6 · Vite 8SvelteKitRunes, load functions and form actions — the Svelte 5 way.sveltesveltekittypescriptAstro 7 · Islands · Content LayerAstroZero-JS by default, islands only where needed, typed content.astroislandsssgAngular 22 · Standalone · Signals · ZonelessAngularStandalone components, signals and typed forms — modern Angular.angulartypescriptsignalsReact Router 8 · React 19 · TypeScript 6 · Vite 8Remix / React RouterLoaders, actions and web-standard data flow, no client fetch waterfalls.remixreact-routerssrTypeScript 6 · NestJS 11 · Node 24 LTS · Prisma 7NestJSModules, DI and DTOs — a typed, layered Node backend.nestjstypescriptnodeJava 25 LTS · Spring Boot 4.1 · Spring Data JPA (Hibernate 7.4)Spring BootConstructor injection, layered services and typed JPA — modern Spring.javaspring-bootjpaRuby 4.0 · Rails 8.1 · Hotwire · Solid QueueRuby on RailsFat-model, skinny-controller, Hotwire-first — the Rails way.rubyrailshotwire.NET 10 · C# 14 · ASP.NET Core · EF Core 10ASP.NET CoreMinimal APIs, typed DI and EF Core — modern .NET.csharpdotnetaspnetPython 3.14 · Flask 3.1 · SQLAlchemy 2.0FlaskApp factory, blueprints and typed schemas — Flask done right.pythonflasksqlalchemyElixir 1.20 · Phoenix 1.8 · LiveView 1.2 · Ecto 3.14PhoenixContexts, LiveView and OTP — idiomatic Elixir web.elixirphoenixliveview

Languages13

Idiomatic, safe, fast — the way the language wants to be written.

Go 1.26 · stdlib net/http · database/sql + pgx/v5 · golangci-lint v2.12.2GoIdiomatic Go — small interfaces, explicit errors, standard library over frameworks.gogolangbackendRust 1.96 · edition 2024 · cargo · clippy · tokio 1.52RustSafe, explicit Rust — Result over panic, borrow-checker-friendly, clippy-clean.rustcargoclippyTypeScript 6.0 · Node.js 24 LTS · Vitest 4.1 · Zod 4TypeScriptStrict types, no any, discriminated unions — TS as a real type system.typescripttypesstrictPython 3.14 · type hints · ruff 0.15 · uv 0.11PythonTyped, idiomatic Python — comprehensions, dataclasses, no bare except.pythontype-hintsruffJava 25 LTS · Records · Sealed types · Streams · JUnit 6JavaRecords, sealed types, streams and Optional — modern Java.javarecordsstreamsC# 14 · .NET 10 · nullable enabledC#Nullable refs, records, LINQ and async — idiomatic C#.csharpdotnetlinqKotlin 2.4 · Coroutines 1.11 · JDK 25 LTSKotlinNull-safety, data classes, coroutines and sealed types.kotlincoroutinesjvmSwift 6.3 · Swift 6 language mode · Structured ConcurrencySwiftValue semantics, optionals and structured concurrency.swiftvalue-typesconcurrencyRuby 4.0 · RuboCop 1.88 · RSpec 3.13 · RBS/SorbetRubyBlocks, enumerable, duck typing — expressive, idiomatic Ruby.rubyidiomaticPHP 8.5 · typed · PSR-12 · PHPStan maxPHPStrict types, enums, readonly and constructor promotion.phppsr-12typedC++23 · GCC 16 · Clang 22 · CMake 4.3C++RAII, value semantics and no raw new/delete — modern C++.cppcpp20raiiPostgreSQL 18.4 · sqlfluff 4.2.2 · pgTAP 1.3.4SQLSet-based thinking, real indexes, parameterized — production SQL.sqlpostgresqlindexingBash 5.3 · shellcheck 0.11 · shfmt 3.13 · bats-core 1.12Bash / ShellStrict mode, quoted vars, shellcheck-clean scripts.bashshellscripting

Workflows12

How to work, not what to build — review, tests, commits, a11y, perf.

TDD · Vitest 4.1 · pytest 9.1 · JUnit 6.1 · Go 1.26Test-Driven DevelopmentWrite the failing test first — every behaviour, no exceptions, fast feedback.tddtestingworkflowpnpm 11 · Turborepo 2.10 · TypeScript 6 · Node 24MonorepoShared packages, task caching and clean boundaries — a monorepo that scales.monorepoturborepopnpmOWASP Top 10:2025 · ASVS 5.0 · secure-by-defaultSecurity-FirstValidate every input, never trust the client, keep secrets out of the code.securityowaspvalidationGit 2.55 · Conventional Commits 1.0.0 · commitlint 21 · Lefthook 2.1Commits & Pull RequestsSmall, atomic, conventional commits and PRs a reviewer can actually read.gitcommitsconventional-commitsGitHub Reviews · gh CLI 2.96 · Conventional Comments 1.0Code ReviewCorrectness-first, kind, specific, blocking-vs-nit reviews.code-reviewqualitycollaborationWCAG 2.2 AA · WAI-ARIA 1.2 · axe-core 4.12Accessibility (a11y)Semantic HTML, keyboard, contrast — WCAG by default.accessibilitya11ywcagCore Web Vitals · web-vitals 5 · Lighthouse CI · Next.js 16 / Vite 8Web PerformanceShip less JS, measure first, protect Core Web Vitals.performanceweb-vitalsoptimizationNode.js 24 · TypeScript 6 · Fastify 5.9 · OpenAPI 3.2 · GraphQL Yoga 5API DesignConsistent resources, correct status codes, versioned contracts.api-designrestgraphqlRefactoring · Fowler 2e + Tidy First · ast-grep 0.44 · Stryker/PIT/mutmutRefactoringGreen tests, tiny steps, one reason at a time.refactoringclean-codemaintainabilityNode.js 24 LTS · TypeScript 6 · Chrome DevTools · Pino 10 · OpenTelemetry 2 · Playwright 1.61 · ESLint 10DebuggingReproduce first, bisect, fix the cause not the symptom.debuggingtroubleshootingPlaywright 1.61 · TypeScript 6.0 · Node.js 24 LTSE2E Testing (Playwright)User-facing selectors, auto-waiting, isolated, no flakiness.testinge2eplaywrightTypeScript 6.0 · TypeDoc 0.28 · TSDoc · Docusaurus 3.10 · MADR 4.0DocumentationExplain why, keep docs next to code, current or deleted.documentationreadmeadr

53 rule sets · public domain (CC0) · a Promptheus project