Your Cursor rules have bugs.
Find them in 10 seconds.

You wrote rules. Cursor still ignores them. Our tools tell you exactly what's wrong — conflicting directives, broken globs, vague instructions — and fix it. Treat your rules like code, not config. Zero dependencies.

npx cursor-doctor scan
See all tools ↓
cursor-doctor scan running in terminal
2,100+ weekly npm downloads
100+ lint rules
242 automated tests
0 dependencies

The toolkit

rule-gen

Free

Generate AI coding rules from your actual source code.

Analyzes your codebase and generates Cursor rules that match how you actually write code. Powered by Gemini. Not just package.json detection — reads your real patterns.

npx rulegen-ai

rule-porter

Free

Port AI rules between Cursor, Windsurf, and CLAUDE.md.

Bidirectional conversion between .mdc, .windsurfrules, CLAUDE.md, AGENTS.md, and legacy .cursorrules. Move your rules wherever you need them.

npx rule-porter

Built to last

Zero dependencies

No supply chain risk. Fast installs. Runs anywhere Node runs.

Security hardened

Input sanitization, path traversal guards, SSRF protection, command injection prevention.

Cross-platform

Full Windows CRLF support. Tested on macOS, Linux, and Windows.

Thoroughly tested

242 automated tests covering every feature, edge case, and regression.

Start free. Upgrade when you need more.

Run the free scan to find problems. Unlock Pro to fix them automatically, track performance, and sync your team.

npx cursor-doctor scan
Get Pro for $9 →