Home › AI Coding Rules Pack
AI Coding Rules Pack
Battle-tested rules for security, testing, review and git across TypeScript, React/Next.js, Python/FastAPI and Node.
$19 one-time · v1.0.0 · zip, 71 KB
Buy AI Coding Rules Pack: $19Placeholder: checkout is not connected yet.
Or get it in the Complete Vibe Coding Toolkit (all four kits for $99).
What's inside
- Always-on core, security and agent-workflow rules, plus file-scoped rules for TypeScript, React/Next.js, Python/FastAPI and Node that load only when relevant.
- Skills / slash commands: /plan-feature, /fix-bug, /review-changes, /commit-work, /security-audit, /write-tests.
- A PLAN.md template and copy-paste session prompts for long agent sessions.
Rules (10)
| Rule | When it applies |
|---|---|
agent-workflow | How the AI agent plans, executes and verifies work in this repository |
code-review | Checklist the agent applies when reviewing or self-reviewing changes before commit |
core | Always-on engineering rules for any language or stack in this repository |
git-workflow | Branching, commit message and safety rules for git operations |
node | Node.js 20+ server conventions (ESM, errors, config, HTTP, processes) |
python-fastapi | Python 3.11+ typing, FastAPI routing, pydantic validation and pytest conventions |
react-next | React 19 and Next.js App Router conventions for components, routes and server actions |
security | Secrets handling, input validation, authentication/authorization and dependency hygiene rules |
testing | How to write and run tests (Vitest/Jest for TS, pytest for Python) |
typescript | Strict TypeScript conventions for .ts/.tsx files |
Skills and slash commands (6)
| Command | What it does |
|---|---|
/commit-work | Run all checks, then stage and create a Conventional Commits commit for the current work. Only when the user explicitly asks to commit. |
/fix-bug | Diagnose and fix one bug with a regression test, smallest possible change. Use when the user reports a bug, error message, failing test or unexpected behaviour. |
/plan-feature | Plan a single feature before writing code. Writes or updates PLAN.md with goal, files, small steps and done-criteria. Use when starting a new feature or when the user asks for a plan. |
/review-changes | Review the current uncommitted diff or branch for bugs, security issues, missing tests and rule violations before committing. Use when asked to review, check or audit changes. |
/security-audit | Audit the codebase or a diff for secrets, missing input validation, missing authorization, injection, unsafe dependencies and insecure config. Use when asked for a security review or before a release. |
/write-tests | Write focused, deterministic tests for a given module or behaviour following the project's test framework. Use when asked to add tests or increase coverage for specific code. |
Every tool, native format
- Cursor:
.cursor/rules/*.mdcwith description/globs/alwaysApply frontmatter. Workflows ship as manual @rules. - Claude Code:
CLAUDE.md(under 200 lines), path-scoped.claude/rulesand.claude/skills/*/SKILL.mdslash commands. - Codex:
AGENTS.md(well under the 32 KiB default cap) and.agents/skills. - Windsurf:
.windsurf/ruleswith trigger frontmatter (each file under 12,000 characters) and.windsurf/workflows. - GitHub Copilot:
.github/copilot-instructions.md,.github/instructions/*.instructions.mdwith applyTo, and.github/prompts/*.prompt.md.
Every file is generated from one master source and checked by a format validator, so the five versions never drift apart.
Install
Unzip, then copy your tool's folder to the project root. See the docs for your tool.