Socket
Book a DemoInstallSign in
Socket

airule

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airule

CLI tool for generating AI rules from project documentation

0.1.4
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

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

  • Getting Started Guide
  • Writing Effective Rules

Example

Create .airulerc.json:

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

Run:

npm run rules

License

MIT

Keywords

ai

FAQs

Package last updated on 10 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.