0.1.4 • Published 6 months ago

airule v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

AIRule

Generate rules from your documentation for Cursor, Windsurf, and other AI-powered IDEs.

Quick Start

# Install globally (recommended for init)
npm install -g airule

# Initialize project (this will add airule as a dev dependency)
airule init

# Or start with an AI task
airule init "Create a React component"

# Generate rules using local installation
npm run rules

Features

  • 🎯 Automatically generate rules (.windsurfrules and .cursorrules) from your docs
  • 📝 Works with any text files (markdown, txt, etc.)
  • ⚙️ Simple output configuration

Documentation

Example

Create .airulerc.json:

{
  "sources": ["README.md", "docs/*.md", "*.txt"],
  "output": {
    "windsurf": true,
    "cursor": true
  }
}

Run:

npm run rules

License

MIT

0.1.4

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago