ai-rules-cli
Installation
SKILL.md
AI Rules CLI
Use ai-rules CLI to manage and synchronize AI coding rules across multiple AI assistants, maintaining a single source of truth for coding guidelines that works with Cursor, Claude Code, GitHub Copilot, Opencode, Gemini, and other AI coding agents.
Prerequisites
- ai-rules CLI installed:
curl -fsSL https://raw.githubusercontent.com/block/ai-rules/main/scripts/install.sh | bash - Git repository: ai-rules works best in a git repository context
- Repository root access: Run commands from the repository root where
ai-rules/directory should exist
Quick Start
Check if ai-rules is installed:
ai-rules --version