Skip to content

Cursor Handbook

Open-source rules engine for Cursor IDE, 110 rules, agents, skills, commands that give AI permanent memory of your standards. Demo: 30%+ token savings, blocks hardcoded…

Install: git clone https://github.com/girijashankarj/cursor-handbook

Works with Claude Code, Cursor · 33 GitHub stars

Install

$git clone https://github.com/girijashankarj/cursor-handbook

Install command taken from the project's README or registry entry. Always review code before running it.

cursor-handbook

The open-source rules engine for Cursor IDE — 110 rules, agents, and skills that turn your AI into a senior engineer who follows your standards, knows your codebase, and never wastes a token.

Stop teaching your AI the same things every session. cursor-handbook gives Cursor permanent memory of your standards, security policies, and workflows — across every project, every team member, every prompt.

If cursor-handbook helps you, consider giving it a ⭐ — it helps others discover it.


Table of Contents


Ways to use cursor-handbook

Pick the option that fits your workflow:

Option Best for
1. Clone & copy Use the full rules engine in your repo. Clone this repo, copy the .cursor folder into your project, then edit project.json and tailor rules/agents/skills to your stack.
2. Add from GitHub (Cursor UI) Use rules, skills, or agents without cloning. In Cursor IDE go to Settings → Rules / Skills / Agents, click Add new → Add from GitHub, and paste this repo’s clone URL. Add only what you need.

| 3. Fork & customize | Maintain your own version. Fork this repo, adapt the .cursor files for your team or product, then use that fork across your projects or share it internally. | | 4. Pick and choose | Use individual components. Download only the production-ready, generic rules, skills, agents, commands, or hooks you need from this repo and drop them into your existing .cursor setup. |

Improvements welcome. If you want to add or improve rules, skills, hooks, agents, or commands, see CONTRIBUTING.md and open an issue or PR.

Forking? Replace girijashankarj with your GitHub org/username in badges, clone URLs, scripts/setup-cursor.sh, .github/CODEOWNERS, and docs before pushing.


The Problem

Every time you open Cursor IDE, your AI assistant starts from zero. It doesn't know your:

  • Code conventions and architecture patterns
  • Security policies (and happily hardcodes your API keys)
  • Testing thresholds (and runs the full 100K-token test suite when you just wanted a type check)
  • Handler patterns, naming conventions, or folder structure

You end up repeating yourself, burning tokens, and fixing the same mistakes. cursor-handbook fixes this permanently.


Before vs After

Before cursor-handbook After cursor-handbook
AI hardcodes API keys Security rules block it
AI runs full test suite (~100K tokens) Uses type-check (~10K) or single-file tests
You repeat conventions every session Rules remember them — always on
Inconsistent code across team One rules engine, one standard
No guardrails on expensive ops Hooks warn or block dangerous commands

Who is this for?

Audience Benefit
Solo developers Consistent AI behavior without repeating yourself every session
Teams Shared standards; everyone gets the same guardrails and conventions
Enterprises Security, compliance, and token efficiency built in from day one

How It Works

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex…

Open-source AI job search agent and job finder: scan job boards, score each job 1-5 against your CV before you apply, tailor an ATS-friendly resume and cover letter, get…

Agent skillSearch & web+1,899 this week

Explore related