| Crates.io | cursor-rules |
| lib.rs | cursor-rules |
| version | 0.1.2 |
| created_at | 2025-06-11 21:55:21.51837+00 |
| updated_at | 2025-06-15 02:57:32.730262+00 |
| description | A CLI tool for managing Cursor rules from GitHub repositories |
| homepage | https://github.com/tkozzer/cursor-rules-cli |
| repository | https://github.com/tkozzer/cursor-rules-cli |
| max_upload_size | |
| id | 1709161 |
| size | 94,771 |
A CLI tool for managing Cursor rules from GitHub repositories.
cursor-rules is an interactive, cross-platform Rust CLI that allows developers to browse GitHub repositories named cursor-rules and copy selected .mdc rule files into their projects. It provides an easy way to share and manage Cursor IDE configuration rules across different projects.
cargo install cursor-rules
git clone https://github.com/tkozzer/cursor-rules-cli.git
cd cursor-rules-cli
cargo install --path .
# Interactive browse mode (default)
cursor-rules
# Browse a specific owner's repository
cursor-rules --owner myorg
# Quick-add a specific manifest
cursor-rules quick-add QUICK_ADD_ALL.txt --owner myorg
# List available rules
cursor-rules list --owner myorg
browse - Interactive browser (default)quick-add <ID> - Apply a manifest (ID = filename or friendly slug)list - Print repo tree in JSON/YAMLconfig - Show or modify saved configcache - Manage offline cache (list|clear)completions - Generate shell completions--owner, -o - GitHub owner to fetch rules from--repo, -r - Repository name (defaults to 'cursor-rules')--branch, -b - Branch to fetch from (defaults to 'main')--out, -o - Output directory (defaults to './.cursor/rules')--dry-run - Show what would be done without making changes--force - Force overwrite without prompting--verbose, -v - Verbose outputYour cursor-rules repository should follow this structure:
cursor-rules/
├── frontend/
│ ├── react/
│ │ ├── react-core.mdc
│ │ └── tailwind.mdc
│ └── vue/
│ └── vue-core.mdc
├── backend/
│ └── rust/
│ └── actix.mdc
├── quick-add/
│ └── fullstack.txt
└── QUICK_ADD_ALL.txt
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This is currently a barebones implementation. Full functionality is coming soon!
Current Version: 0.1.1 - Basic CLI structure only
Stay tuned for updates!