~ / rigs / girijashankarj / cursor-handbook

girijashankarj/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 secrets, type-check instead of 100K-token test runs, consistent code a

↗ GitHub ★ 28 mit updated 6mo ago project Claude CodeCodexCursor
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~9.2k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details

Copy this rig

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

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(.env)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(~/.aws/**)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(git rebase *)",
      "Bash(wget *)",
      "Bash(npm publish:*)",
      "Bash(git commit *)",
      "Bash(gh pr merge *)"
    ]
  }
}

Cursor rules (29)

architecture/core-principles · alwaysarchitecture/dependency-management · alwaysarchitecture/token-efficiency · alwaysbackend/api-designbackend/code-organizationbackend/error-handlingbackend/handler-patternsbackend/nodejsbackend/typescriptcloud/containerization · alwayscloud/infrastructure · alwayscloud/serverless · alwaysdatabase/migration-rulesdatabase/query-patternsdatabase/schema-designdevops/ci-cd · alwaysdevops/documentation-standards · alwaysdevops/monitoring · alwaysfrontend/accessibilityfrontend/component-patternsfrontend/performancefrontend/state-managementmain-rules · alwayssecurity/guardrails · alwayssecurity/secrets-rules · alwayssecurity/security-compliance · alwaystesting/integration-testing · alwaystesting/mock-patterns · alwaystesting/testing-standards · always

Similar rigs

copied ✓