AI coding rules by stack

The AI-First Coding & Rules Template Pack has a rules folder for each of 17 stacks, every one shipped as a Cursor .mdc rule, a CLAUDE.md and an AGENTS.md, all sitting on a shared base layer. Each page below shows what that stack's rules actually tell an agent, the mistakes they are written to prevent, the checks the agent runs before it says done, and one worked example from the pack's 40 before/after prompt cards.

Pick the stack you work in. If you want to read a full prompt card before buying, the free anti-slop sample PDF includes the FastAPI card in full.

Choose a stack

How the rules are layered

Every stack sits on the same base layer, which covers git hygiene, verifying before saying done, small diffs and not inventing APIs. Use the order base, stack, project: the base and stack files come from the pack, and your project layer adds the exact commands, versions and conventions of your repository. The pack's monorepo example shows a repo with a Next.js app, a FastAPI service and Terraform, and where each file goes for each tool.