Skip to content

About

Free AGENTS.md, Cursor rule, GitHub Copilot instruction and audit-prompt templates for AI coding agents (CC BY 4.0). AI-assisted starting points.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

91 Commits

Folders and files

Repository files navigation

Agent config templates

Forty-six free, copy-paste starting points for telling AI coding agents how your project works: two short AGENTS.md templates, thirty-eight polished stack starters, one Cursor rule, two GitHub Copilot files, and three prompts that draft, audit and test an instruction file.

File What it is
templates/AGENTS.nextjs-typescript.md AGENTS.md for a Next.js (App Router) + TypeScript app
templates/AGENTS.python-package.md AGENTS.md for a Python package or script collection with pytest
stack-starters/AGENTS.nextjs-typescript.md Polished Next.js App Router + TypeScript AGENTS.md (commands, review habits, soft CTA)
stack-starters/AGENTS.python-fastapi.md Polished Python FastAPI AGENTS.md (routers, pydantic, review habits, soft CTA)
stack-starters/AGENTS.go-service.md Polished Go service/CLI AGENTS.md (modules, context, review habits, soft CTA)
stack-starters/AGENTS.rust-axum.md Polished Rust Axum HTTP service/CLI AGENTS.md (Cargo, clippy, review habits, soft CTA)
stack-starters/AGENTS.nestjs.md Polished NestJS (Node.js + TypeScript) AGENTS.md (modules, DTOs, review habits, soft CTA)
stack-starters/AGENTS.django.md Polished Django (Python) AGENTS.md (apps, migrations, ORM, review habits, soft CTA)
stack-starters/AGENTS.rails.md Polished Ruby on Rails AGENTS.md (migrations, strong params, N+1, review habits, soft CTA)
stack-starters/AGENTS.laravel.md Polished Laravel (PHP) AGENTS.md (Eloquent, Form Requests, migrations, review habits, soft CTA)
stack-starters/AGENTS.spring-boot.md Polished Spring Boot (Java) AGENTS.md (Maven/Gradle, DTOs, transactions, Flyway, review habits, soft CTA)
stack-starters/AGENTS.aspnet-core.md Polished ASP.NET Core (C# / .NET) AGENTS.md (dotnet CLI, EF Core migrations, DI lifetimes, async, review habits, soft CTA)
stack-starters/AGENTS.nuxt.md Polished Nuxt (Vue 3) AGENTS.md (app/pages, Nitro server/api, useFetch, review habits, soft CTA)
stack-starters/AGENTS.sveltekit.md Polished SvelteKit (Svelte 5) AGENTS.md (routes, load/actions, runes, $lib/server, review habits, soft CTA)
stack-starters/AGENTS.express-typescript.md Polished Express (Node.js + TypeScript) AGENTS.md (thin handlers, zod validation, async errors, middleware order, supertest, review habits, soft CTA)
stack-starters/AGENTS.flask.md Polished Flask (Python) AGENTS.md (app factory, blueprints, Flask-Migrate, CSRF, Jinja escaping, pytest, review habits, soft CTA)
stack-starters/AGENTS.hono.md Polished Hono (TypeScript) AGENTS.md (Workers/Node/Deno/Bun, zValidator, Bindings, app.request tests, review habits, soft CTA)
stack-starters/AGENTS.astro.md Polished Astro (TypeScript) AGENTS.md (zero-JS islands, content collections, astro:assets, astro check/build, review habits, soft CTA)
stack-starters/AGENTS.phoenix.md Polished Phoenix (Elixir) AGENTS.md (contexts, changesets, Ecto migrations, LiveView streams, verified routes, ExUnit, review habits, soft CTA)
stack-starters/AGENTS.vite-react.md Polished Vite + React (TypeScript) SPA AGENTS.md (strict TS, hooks rules, no effects for derived data, public VITE_ env vars, Vitest + Testing Library, review habits, soft CTA)
stack-starters/AGENTS.angular.md Polished Angular (TypeScript) AGENTS.md (standalone components, signals, takeUntilDestroyed, @for track, OnPush, interceptors, typed forms, TestBed, review habits, soft CTA)
stack-starters/AGENTS.expo-react-native.md Polished Expo (React Native + TypeScript) AGENTS.md (Expo Router, npx expo install, CNG native folders, secure-store tokens, public EXPO_PUBLIC_ vars, permissions, RN Testing Library, EAS ask-first, review habits, soft CTA)
stack-starters/AGENTS.flutter.md Polished Flutter (Dart) AGENTS.md (dart format/analyze, const widgets, dispose controllers, context.mounted after await, repositories, generated-file rules, secure storage, widget tests, release ask-first, review habits, soft CTA)
stack-starters/AGENTS.android-kotlin.md Polished Android (Kotlin + Jetpack Compose) AGENTS.md (Gradle version catalog, ViewModel + StateFlow, lifecycle-aware collection, stateless composables, injected dispatchers, string resources, Keystore-backed tokens, Compose UI tests, manifest/SDK changes ask-first, review habits, soft CTA)
stack-starters/AGENTS.ios-swiftui.md Polished iOS (Swift + SwiftUI) AGENTS.md (xcodebuild with a real simulator, one owner per state, .task and @MainActor, no force unwraps, injected services, string catalogs and Dynamic Type, Keychain tokens, .pbxproj care, Info.plist/entitlements/privacy manifest ask-first, review habits, soft CTA)
stack-starters/AGENTS.electron.md Polished Electron (TypeScript desktop) AGENTS.md (main/preload/renderer split, contextIsolation and sandbox kept on, narrow typed IPC with validation and sender checks, CSP and navigation lock-down, no blocking the main process, safeStorage tokens, Playwright _electron E2E, signing/publish ask-first, review habits, soft CTA)
stack-starters/AGENTS.terraform.md Polished Terraform / OpenTofu (infrastructure as code) AGENTS.md (fmt/validate/tflint/scan gates, plan-diff explanations, destroys and replaces called out, no state commands or agent applies, moved {}/import {} blocks, prevent_destroy kept, pinned providers, typed and sensitive variables, least-privilege IAM, for_each over count, terraform test, review habits, soft CTA)
stack-starters/AGENTS.dbt.md Polished dbt (analytics engineering, SQL) AGENTS.md (staging/intermediate/marts layers, ref()/source() only, stated grain with unique + not_null, documented columns, import CTEs, join fan-out checks, careful incremental models, breaking mart changes called out, dev-target --select builds, prod and --full-refresh ask-first, review habits, soft CTA)
stack-starters/AGENTS.kubernetes-helm.md Polished Kubernetes manifests + Helm charts AGENTS.md (render-then-reason diffs per environment, helm lint/kubeconform/policy gates, no secrets in Git, requests/limits and meaningful probes, restricted securityContext, pinned images, immutable selectors left alone, least-privilege RBAC and NetworkPolicy, no agent applies or syncs, StatefulSet storage ask-first, review habits, soft CTA)
stack-starters/AGENTS.chrome-extension.md Polished Chrome / browser extension (Manifest V3 + TypeScript) AGENTS.md (permissions as a product decision with activeTab and optional permissions first, restart-safe service worker with chrome.alarms and persisted state, no remote code or eval, typed and validated messaging, guest-mannered content scripts with no unsanitized innerHTML, versioned storage migrations, no secrets in the bundle, Playwright load-unpacked E2E, store publishing ask-first, review habits, soft CTA)
stack-starters/AGENTS.godot.md Polished Godot 4 game (GDScript) AGENTS.md (static typing, scenes as components with signals up and calls down, _physics_process + delta, Input Map actions, tunables in @export/Resources, careful .tscn/uid:// edits, .godot/ never committed, versioned user:// saves, GUT/gdUnit4 headless tests, version upgrades/exports/store publishing ask-first, review habits, soft CTA)
stack-starters/AGENTS.unity.md Polished Unity game (C#) AGENTS.md (.meta files kept with every asset, [SerializeField] + [FormerlySerializedAs], cached components with no per-frame Find, deltaTime/FixedUpdate physics, Input System actions, ScriptableObject data not runtime saves, Unity-safe null checks, low-GC hot paths and pooling, careful scene/prefab YAML, versioned saves without BinaryFormatter, batch-mode Edit/Play Mode tests, editor/package upgrades and builds ask-first, review habits, soft CTA)
stack-starters/AGENTS.bevy.md Polished Bevy game (Rust) AGENTS.md (pin-the-version warning for Bevy's breaking releases, one plugin per feature, data-only components, narrow queries with With/Without/Changed filters, no panicking single-entity lookups, explicit system ordering and run_if(in_state), Time-scaled and FixedUpdate simulation, deferred Commands, events over globals, AssetServer loading that works on web, versioned saves, headless App tests, clippy/fmt gates, engine/crate upgrades and releases ask-first, review habits, soft CTA)
stack-starters/AGENTS.unreal.md Polished Unreal Engine 5 game (C++ + Blueprints) AGENTS.md (C++ for systems and Blueprints for content, Epic naming prefixes, reflected UPROPERTY/TObjectPtr members so GC keeps objects alive, IsValid() and ensure over crashes, sparing Tick, server-authoritative replication with validated RPCs, core redirects when renaming reflected members, deliberate .Build.cs dependencies, Enhanced Input and Data Assets, versioned USaveGame, headless automation tests, binary assets left to humans, engine/plugin upgrades and packaging ask-first, review habits, soft CTA)
stack-starters/AGENTS.roblox.md Polished Roblox experience (Luau + Rojo) AGENTS.md (server-authoritative state, validated and rate-limited remotes, no InvokeClient, --!strict types, task library over deprecated wait/spawn, connection cleanup, WaitForChild on the client, pcall-wrapped session-locked DataStores with migrations, idempotent ProcessReceipt purchases, Rojo/Wally/Selene/StyLua/luau-lsp gates, multi-client Studio play tests, publishing/data/monetization ask-first, review habits, soft CTA)
stack-starters/AGENTS.tauri.md Polished Tauri 2 desktop app (Rust + TypeScript) AGENTS.md (least-privilege capabilities and narrow scopes, webview treated as untrusted with Rust-side argument validation, CSP kept, no secrets in the bundle, Result commands with serializable errors, async/spawn_blocking for heavy work, managed state without locks across awaits, typed invoke wrappers, mocked-IPC frontend tests, fmt/clippy/test gates, signing/updater/plugin and capability changes ask-first, review habits, soft CTA)
stack-starters/AGENTS.pytorch-ml.md Polished PyTorch machine learning project (Python) AGENTS.md (leak-free fixed splits, no tuning on test, raw data never modified, device-agnostic CPU-testable code, seeded runs, explicit train/eval modes and inference_mode, no hot-loop GPU syncs, full checkpoints loaded with weights_only=True, rank-0-only logging under DDP/FSDP, no invented metrics, overfit-one-batch and shape tests, smoke-train gate, GPU jobs/data/split changes ask-first, review habits, soft CTA)
stack-starters/AGENTS.turborepo-monorepo.md Polished TypeScript monorepo (pnpm workspaces + Turborepo) AGENTS.md (one package manager and lockfile, deps declared in the package that imports them, workspace:* imports through exports only, aligned shared versions, one-way dependency direction, turbo.json inputs/outputs/env declared so the cache never serves stale builds, --affected and --filter gates, strict shared tsconfig, per-app env with public-prefix warnings, Changesets for published packages, package/upgrade/CI changes ask-first, review habits, soft CTA)
stack-starters/AGENTS.wordpress-plugin.md Polished WordPress plugin (PHP) AGENTS.md (sanitize early and escape late, nonce plus capability checks on every write, real REST permission_callbacks, $wpdb->prepare() only, prefixed globals and handles, hooked bootstrap, versioned enqueues, block.json blocks with deprecations, translatable strings, versioned idempotent upgrades, data deletion only in uninstall.php, phpcs/PHPStan/PHPUnit gates, release/WordPress.org deploy and phone-home ask-first, review habits, soft CTA)
stack-starters/AGENTS.shopify-theme.md Polished Shopify theme (Liquid, Online Store 2.0) AGENTS.md (never push to or publish the live theme, merchant JSON and settings_data.json left alone, stable section/block/setting ids, no secrets in public theme code, complete section schemas with presets and @app blocks, locale t keys instead of hard-coded text, responsive image_url/image_tag, vanilla per-section JS, Ajax Cart API with Shopify.routes.root, theme editor events, accessibility, Theme Check gate, scripts/checkout/pricing ask-first, review habits, soft CTA)
cursor-rules/project-baseline.mdc Always-on Cursor project rule (.cursor/rules/)
copilot/copilot-instructions.md Repository-wide GitHub Copilot instructions (.github/copilot-instructions.md), including code review rules
copilot/tests.instructions.md Path-specific Copilot instructions with an applyTo glob (.github/instructions/)
prompts/draft-agents-md-from-repo.md Prompt: have an agent propose an AGENTS.md from your repo
prompts/audit-and-trim-instruction-file.md Prompt: audit and trim an instruction file that has grown noisy
prompts/test-with-five-probe-tasks.md Prompt: test whether the file actually works

How to use

  1. Copy a template into your repo (for example AGENTS.md at the root, .cursor/rules/project-baseline.mdc, or .github/copilot-instructions.md).
  2. Replace every [BRACKETED] value with your real commands, paths and versions. The defaults are common commands and may be wrong for your project.
  3. If you also use Claude Code, a short CLAUDE.md containing @AGENTS.md imports the same file (see Anthropic's Claude Code memory docs). Check each tool's current documentation, since formats change.

If the agent ignores your file

Free troubleshooting guides and examples from AgentKit Co:

Honest notes

  • These templates were written with AI assistance. They are starting points, not tested guarantees. Review them and try them on your own project.
  • Instruction files are guidance for an agent, not enforcement. Keep real checks in CI.
  • AgentKit Co is not affiliated with or endorsed by Anthropic, Cursor, GitHub, Microsoft or OpenAI.

Free stack AGENTS.md

Ready-to-drop starters (longer than the short bracket templates above). Copy a file to your repo root as AGENTS.md, fill the [BRACKETED] bits, and trim what you do not need.

Stack File
Next.js App Router + TypeScript stack-starters/AGENTS.nextjs-typescript.md
Python FastAPI + pydantic v2 stack-starters/AGENTS.python-fastapi.md
Go service / CLI (modules) stack-starters/AGENTS.go-service.md
Rust Axum HTTP service / CLI stack-starters/AGENTS.rust-axum.md
NestJS (Node.js + TypeScript) stack-starters/AGENTS.nestjs.md
Django (Python, optional DRF) stack-starters/AGENTS.django.md
Ruby on Rails (7.x / 8.x) stack-starters/AGENTS.rails.md
Laravel (PHP 8.2+, 11.x / 12.x) stack-starters/AGENTS.laravel.md
Spring Boot 3.x (Java 17 / 21) stack-starters/AGENTS.spring-boot.md
ASP.NET Core (.NET 8 / 9, C#) stack-starters/AGENTS.aspnet-core.md
Nuxt 4 / 3 (Vue 3, Nitro) stack-starters/AGENTS.nuxt.md
SvelteKit 2 (Svelte 5 runes) stack-starters/AGENTS.sveltekit.md
Express (Node.js + TypeScript) stack-starters/AGENTS.express-typescript.md
Flask (Python, app factory) stack-starters/AGENTS.flask.md
Hono 4 (TypeScript, Workers / Node / Deno / Bun) stack-starters/AGENTS.hono.md
Astro 5 (TypeScript, static or server) stack-starters/AGENTS.astro.md
Phoenix 1.7 / 1.8 (Elixir, Ecto, LiveView) stack-starters/AGENTS.phoenix.md
Vite + React (TypeScript SPA) stack-starters/AGENTS.vite-react.md
Angular (TypeScript) stack-starters/AGENTS.angular.md
Expo (React Native + TypeScript) stack-starters/AGENTS.expo-react-native.md
Flutter (Dart) stack-starters/AGENTS.flutter.md
Android (Kotlin + Jetpack Compose) stack-starters/AGENTS.android-kotlin.md
iOS (Swift + SwiftUI) stack-starters/AGENTS.ios-swiftui.md
Electron (TypeScript desktop) stack-starters/AGENTS.electron.md
Terraform / OpenTofu (infrastructure as code) stack-starters/AGENTS.terraform.md
dbt (analytics engineering, SQL) stack-starters/AGENTS.dbt.md
Kubernetes manifests + Helm charts stack-starters/AGENTS.kubernetes-helm.md
Chrome / browser extension (Manifest V3 + TypeScript) stack-starters/AGENTS.chrome-extension.md
Godot 4 game (GDScript) stack-starters/AGENTS.godot.md
Unity game (C#) stack-starters/AGENTS.unity.md
Bevy game (Rust) stack-starters/AGENTS.bevy.md
Unreal Engine 5 game (C++ + Blueprints) stack-starters/AGENTS.unreal.md
Roblox experience (Luau + Rojo) stack-starters/AGENTS.roblox.md
Tauri 2 desktop app (Rust + TypeScript) stack-starters/AGENTS.tauri.md
PyTorch machine learning project (Python) stack-starters/AGENTS.pytorch-ml.md
TypeScript monorepo (pnpm workspaces + Turborepo) stack-starters/AGENTS.turborepo-monorepo.md
WordPress plugin (PHP) stack-starters/AGENTS.wordpress-plugin.md
Shopify theme (Liquid, Online Store 2.0) stack-starters/AGENTS.shopify-theme.md

Need a blockers-first review after the agent opens a PR? The AI PR Review Kit ($17) pairs with these starters. More stacks and Cursor/Copilot files: AI Coding Agent Config Kit ($14). Site: https://agentkitco.com/.

More

License

CC BY 4.0. Use, share and adapt with attribution to AgentKit Co.

About

Free AGENTS.md, Cursor rule, GitHub Copilot instruction and audit-prompt templates for AI coding agents (CC BY 4.0). AI-assisted starting points.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors