npm.io
2.3.2 • Published 1 year agoCLI

airules

Licence
MIT
Version
2.3.2
Deps
4
Size
48 kB
Vulns
0
Weekly
0

AI Rules

AI Rules is a CLI tool for managing AI-powered development rules in Cursor IDE. It helps teams maintain consistent code structure and follow best practices through AI-assisted guidelines.

Features

  • AI-powered development rules
  • Project structure guidelines
  • Framework-specific patterns (Next.js, etc.)
  • Easy installation and setup
  • Cursor IDE integration

Usage

Initialize AI rules in your project:

npx airules init

This will:

  1. Show available rulesets
  2. Let you select the appropriate ruleset
  3. Install the rules in your project's .cursor/rules directory
Available Commands
npx airules init      # Initialize and install rules
npx airules help      # Show help information
npx airules version   # Show version information

Available Rulesets

Next.js Rules
  • Project Structure Guidelines
  • Component Patterns
  • Data Fetching Patterns
  • Best Practices

More frameworks and rulesets coming soon!

Requirements

  • Node.js >= 14.0.0
  • Cursor IDE

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Ogulcan Turk (@ogulcanturk)

Support

If you encounter any problems or have suggestions, please open an issue.