gabimoncha

Cursor Rules CLI — AI skill for Claude Code

AI community

A CLI for boostrapping Cursor AI rules - before skills.sh was a thing.

How to install Cursor Rules CLI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gabimoncha/cursor-rules-cli and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cursor Rules CLI does

A CLI for boostrapping Cursor AI rules - before skills.sh was a thing.

Alternatives in AI

  • AI Review Local — Run AI code review locally using Codex CLI or OpenAI API before opening a PR 387 ★
  • SoloDawn — Catches and repairs AI hallucinations before delivery: three quality gates, 31 built-in rules, a self-healing 312 ★
  • Real-World Pain Points — Project: https://github.com/Narwhal-Lab/MagicSkills For many teams building multi-agent systems, the first thi 277 ★

README

Cursor Rules CLI

Made with ❤️ in Cursor IDE, dogfooding `cursor-rules`

A command-line tool for managing AI-assisted guidance in your projects through Cursor IDE rules.

What are Cursor Rules?

[YouTube presentation](https://www.youtube.com/watch?v=RphQhNX9xB0)

Cursor rules are markdown files with structured metadata that provide AI with instructions on how to interact with your codebase. These rules enhance the AI's understanding of:

  • Project structure and organization
  • Coding conventions and patterns
  • Task management approaches
  • Best practices specific to your codebase

Features

  • 🚀 Rule Installation: Easily add Cursor rules to any project
  • 📋 Template Rules: Includes default rule templates for common use cases
  • 💬 Interactive Setup: Guided setup process using command-line prompts
  • 🔍 Security Scan: Detect and fix vulnerable rule files with scan command
  • ⌨️ Shell Autocompletion: One-command tab-completion powered by tabtab
  • 📊 Repomix Integration: Packs repository in a single file for AI analysis
  • 📁 Project Structure: Creates standardized rule organization

Installation

# Global install
bun add -g @gabimoncha/cursor-rules

# Project install
bun add -d @gabimoncha/cursor-rules

# (works with npm, pnpm & yarn too)

Usage

cursor-rules -v # show version
cursor-rules -h # show help

# start the setup process
cursor-rules init [options]

Options:
  -f, --force      # overwrites already existing rules if filenames match
  -r, --repomix    # packs entire repository in a single file for AI analysis
  -o, --overwrite  # overwrite existing rules

# packs entire repository in a single file for AI analysis
cursor-rules repomix

# scan and check all files in the specified path
cursor-rules scan [options]

Options:
  -p, --path         # path to scan (default: ".")
  -f, -