AI Rules Converter is a VS Code extension designed to streamline the management of AI coding rules. It allows you to easily convert rule definitions between various AI-assisted IDE formats, ensuring your coding standards are consistent across different tools.
Features
Multi-Format Support: Convert rules between popular AI IDE formats:
Cursor (.cursorrules)
Windsurf (.windsurfrules)
Kiro
Antigravity
Automatic Detection: Automatically detects rule files in your workspace.
One-Click Conversion: Convert rules directly from the "Detected Rules" side panel.
Rule Management: Delete obsolete or incorrect rules directly from the extension view.
Live Updates: The view automatically refreshes when changes are made.
Usage
Open the Rules Converter View: Click on the ruler icon in the Activity Bar to open the "Rules Converter" side panel.
View Detected Rules: The extension will scan your workspace and list all detected rule files.
Convert a Rule:
Hover over a rule in the list.
Click the "Convert Rule" icon (or right-click and select "Convert Rule").
Follow the prompts to select the target format.
Delete a Rule:
Hover over a rule in the list.
Click the trash icon (or right-click and select "Delete Rule") to remove it.
Extension Settings
This extension contributes the following settings:
rulesConverter.refresh: Manually refresh the list of detected rules.
Known Issues
Ensure your rule files are valid YAML/JSON before converting.