Overview Version History Q & A Rating & Review
Cline Rules
This is a VSCode plugin to help you quickly configure rules for the Cline / Roo AI programming assistant. With this plugin, you can easily add preset AI assistant rule files to your projects.
中文文档
Features
Usage
Method 1: Command Palette
Open your project folder in VSCode
Open the command palette using Ctrl+Shift+P
(Windows) or Cmd+Shift+P
(Mac)
Enter "Cline" or "Roo"
Select the desired rule type from the list
Confirm adding the rule
In the VSCode Explorer
Right-click on any folder
Select "Clinerules: Add Cline/Roo .clinerules file"
Select the rule type and confirm
If a .clinerules
file already exists at the target location, the plugin will provide the following options:
Overwrite: Replace existing rules with new rules
Merge: Merge new rules with existing rules
Cancel: Keep existing rules unchanged
Rule Descriptions
Each type of rule is carefully designed to provide the best AI-assisted programming experience:
Local Development Rules
Python : Complies with PEP 8 specifications and includes best practice guidelines
Website Development Rules
HTML/CSS/JavaScript : Modern website development standards and best practices
React : Development specifications and recommendations for the React ecosystem
Vue : Development specifications and best practices for Vue.js projects
Next.js : Server-side rendering and modern React development guidelines
Mobile Development Rules
iOS : Swift and SwiftUI development specifications, compliant with Apple Design Guidelines
Android : Kotlin development specifications and Material Design guidelines
Mini Program Development Rules
WeChat Mini Program : Complies with WeChat Mini Program development specifications and best practices
Browser Extension Rules
Chrome Extension : Chrome extension development specifications and best practices
General Rules
Basic development specifications and AI collaboration guidelines applicable to all projects
Installation Requirements
VSCode version 1.93.0 or higher
Cline editor needs to be used in the project
Plugin Settings
Currently, the plugin does not require special configuration and can be used after installation.
Common Issues
Rule file cannot be added?
Make sure you have opened a project folder
Check if you have file write permissions
Rule preview failed to display?
Try reinstalling the plugin
Ensure your VSCode version meets the requirements
Cannot find the option to add rules?
Make sure to open the command palette using Cmd/Ctrl+Shift+P
Enter "Cline" to quickly find commands
Or find commands by right-clicking on a folder
Changelog
0.0.2
Published to vscode and open-vsx
0.0.1
Contribution Guide
Welcome to submit Issues and Pull Requests to help improve this plugin.
License
MIT