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.3.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.3-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: airulefy-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 dd8d916138ec09ad1cdb5b7fa9ccf991c93e40f67b8e102a323dfaed7469ad90
MD5 83c000681dee24dfbcd327b01af012ce
BLAKE2b-256 7c37f6e4dffe81f5128c77bbb0f20607097e8027b4d44014d3cea59a637c1312

See more details on using hashes here.

File details

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

File metadata

  • Download URL: airulefy-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8451493f9c9ba77352c0feb6ac123df4ad8e80cdc150636409f38beb30e922fd
MD5 14ac86472ed45f478847de650011c953
BLAKE2b-256 4e252897c24c803431ca049d8429d5c35463cdcdcd8aa3b68a49d2099604ba95

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