If you use Claude Code, Cursor, or GitHub Copilot, you've probably written a CLAUDE.md or .cursorrules file at some point.
You carefully document your stack, conventions, and commands. Then three weeks later your project has changed, you've added Zustand, removed Redux, and your AI tool is still following the old rules.
I kept running into this. So I built CommitScope.
What it does
CommitScope scans your project and auto-generates:
-
CLAUDE.mdfor Claude Code -
.cursor/rules/project.mdcfor Cursor -
AGENTS.mdfor OpenAI Codex -
.github/copilot-instructions.mdfor GitHub Copilot
All four. One command.
How it works
npm install -g commitscope
commitscope init # set your AI provider + API key (stored encrypted locally)
commitscope scan # analyzes your project
commitscope generate # generates all 4 files
The scan detects your framework, language, package manager, naming conventions, dev commands — and the AI generates context files that are actually specific to your project, not generic boilerplate.
Privacy first
Your code never leaves your machine. CommitScope uses your own API key and calls your chosen provider directly. Zero telemetry. No analytics. Nothing phoned home.
This matters if you work at a company where sending code to third-party servers is a concern.
Why I built it
The alternative is copy-pasting your whole project structure into ChatGPT every time something changes. CommitScope makes it a 10-second habit instead.
It's free and open source.
npm: npm install -g commitscope
GitHub: github.com/Harsh-0602/commitscope
Would love feedback — especially if you run into issues with a specific framework or stack.
Top comments (0)