Skip to content

Add cursor-compose: npx tool that auto-generates .cursorrules from your stack#233

Open
Kabi10 wants to merge 1 commit intoPatrickJS:mainfrom
Kabi10:add-cursor-init
Open

Add cursor-compose: npx tool that auto-generates .cursorrules from your stack#233
Kabi10 wants to merge 1 commit intoPatrickJS:mainfrom
Kabi10:add-cursor-init

Conversation

@Kabi10
Copy link
Copy Markdown

@Kabi10 Kabi10 commented Apr 5, 2026

What is cursor-compose?

cursor-compose auto-detects your project's tech stack and generates a composed .cursorrules file in one command:

npx cursor-compose

Scans your project for package.json, requirements.txt, pubspec.yaml, etc., detects your stack, lets you toggle modules, and writes a composed rules file.

Complementary to awesome-cursorrules: instead of picking a single pre-made file, auto-detect your stack and compose rules from multiple modules.

- cursor-init: npm package that auto-detects project tech stack
- Generates composed .cursorrules files from 12 modular templates
- Supports both legacy .cursorrules and .cursor/rules/project.mdc formats
- Complementary tool for awesome-cursorrules community
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 5, 2026

📝 Walkthrough

Walkthrough

Added a README entry under the Utilities section documenting the cursor-init npm package, which auto-detects project tech stacks and generates Cursor rules, supporting 12 modular templates and both legacy and 2026 formats.

Changes

Cohort / File(s) Summary
Documentation Update
README.md
Added entry for cursor-init utility tool under Utilities section, describing its auto-detection capabilities, template count, and supported rule formats.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

  • Tool for creating cursorrules #80: Both PRs address adding README entries for tools that auto-generate cursorrules from project configurations; this PR documents cursor-init while issue #80 concerns a similar tool.

Suggested reviewers

  • PatrickJS

Poem

🐰 A rabbit hops through README files so bright,
Adding cursor-init to the listing sight!
Tech stacks auto-detected with care,
Twelve templates composed with flair! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title mentions 'cursor-compose' but the actual tool being added is 'cursor-init'. The content added describes cursor-init, not cursor-compose, making the title misleading. Update the PR title to 'Add cursor-init: npm package that auto-generates .cursorrules from your stack' to match the actual tool being added.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Kabi10 Kabi10 changed the title Add cursor-init: npm package that auto-generates .cursorrules from your stack Add cursor-compose: npx tool that auto-generates .cursorrules from your stack Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant