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 (.cursor/rules)
Windsurf (.windsurf/rules)
Kiro (.kiro/*)
Antigravity (.agents/rules)
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 Markdown before converting.
Release Notes
Version
Changes
1.2.0
Recursive folder actions (convert/delete) and root folder support.
1.1.0
Recursive subfolder scanning.
1.0.1
Icon update.
1.0.0
Production release.
0.0.3
Added extension icon and README documentation.
0.0.2
Added support for deleting rules. Improved rule detection and refresh logic.