Skip to main content

Unify your AI rules across multiple AI coding agents

Project description

Airulefy (in development)

Tests codecov PyPI version

Unify your AI rules. One source of truth, synced across all major AI coding agents.

Airulefy makes it easy to maintain a single set of rules in .ai/ and automatically generate or link them to each tool-specific format (Cursor, Copilot, Cline, Devin, etc.).
No more copy-pasting. No more inconsistent behavior.


✨ Features

  • Unified .ai/ folder for all your project-wide AI rules (Markdown)
  • Auto-generate:
    • .cursor/rules/*.mdc
    • .cline-rules
    • .github/copilot-instructions.md
    • devin-guidelines.md
  • Symlink or copy mode (auto-detects OS capability)
  • Optional YAML config: .ai-rules.yml
  • Works with CI and pre-commit hooks

⚡ Quickstart

pip install airulefy

# Generate rules for all supported tools
airulefy generate

# Watch for changes in .ai/ and auto-regenerate
airulefy watch

🔧 Configuration

Create a .ai-rules.yml file in your project root to customize Airulefy's behavior:

default_mode: symlink  # or "copy"
tools:
  cursor:
    output: ".cursor/rules/core.mdc"  # custom output path
  cline:
    mode: copy  # override default mode
  copilot: {}  # use defaults
  devin:
    output: "devin-guidelines.md"

🧩 DevContainer Usage

Airulefy works seamlessly with GitHub Codespaces and VS Code DevContainers:

# Open in Codespace
gh codespace create -r airulefy/Airulefy

# Or clone and open locally with VS Code
git clone https://github.com/your-username/your-project.git
cd your-project
code .

🚀 CLI Commands

# Generate rules (default: symlink if supported)
airulefy generate

# Force copy instead of symlink
airulefy generate --copy

# Watch for changes and auto-regenerate
airulefy watch

# Validate configuration and files
airulefy validate

# List supported tools and their status
airulefy list-tools

# Show version
airulefy --version

🧠 Philosophy

Airulefy follows the "single source of truth" principle. Keep all your AI coding assistant rules in one place (.ai/ directory) and let Airulefy handle the synchronization to each tool's specific format.

This ensures:

  1. Consistency across all AI assistants
  2. Version control for your AI instructions
  3. Simplicity in maintaining rules

📄 License

MIT © 2025 Kuu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airulefy-0.1.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airulefy-0.1.2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file airulefy-0.1.2.tar.gz.

File metadata

  • Download URL: airulefy-0.1.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure

File hashes

Hashes for airulefy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b5a95b26b6647c7bcae02e00ae1e02d8fc94fa6b33cd709b86ad3042049b2506
MD5 e0fc0610770b6b2ea3348136e67d2593
BLAKE2b-256 c9a5a82a1ac909520e2e20174ac0ee639dab05f1b8dcb6d1ecfc5f8c94b7f369

See more details on using hashes here.

File details

Details for the file airulefy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: airulefy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure

File hashes

Hashes for airulefy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66c1582ec6e57784200521c706e04069106139ef8c669ffca0c212dc5ce6618d
MD5 30587d2bda76c361e97b7d59790e9038
BLAKE2b-256 6a4d71444201d7bdfcc8c79bc3ba913d63e97a3d7fd4553e77c21063353f6e5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page