Three open-source CLI tools that generate rules from your code, find and fix problems in your setup, and convert rules between formats. Zero dependencies.
npx cursor-doctor scan
The diagnostic and repair toolkit for your Cursor AI setup.
Run one command to find broken YAML frontmatter, conflicting rules, token waste, dead rules, and 60+ other problems. Auto-fix what's broken. Track rule performance over time.
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.
No supply chain risk. Fast installs. Runs anywhere Node runs.
Input sanitization, path traversal guards, SSRF protection, command injection prevention.
Full Windows CRLF support. Tested on macOS, Linux, and Windows.
80+ automated tests covering every feature, edge case, and regression.
Run the free scan to find problems. Unlock Pro to fix them automatically, track performance, and sync your team.