Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cline RulesNew to Visual Studio Code? Get it now.
Cline Rules

Cline Rules

Henryalps

|
815 installs
| (0) | Free
Cline/Roo rules plugin. Automatically create .clinerules file for cline / roo etc.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • Provides a variety of preset Cline AI rule configurations, including:

    • Local Development
      • python: Python development rules
    • Website Development
      • HTML: HTML/CSS/JavaScript
      • React: React development rules
      • Vue: Vue.js development rules
    • Mobile Development
      • App Development - iOS: iOS application development
      • App Development - Android: Android development
    • Mini Program Development
      • WeChat Mini Program: Mini program development rules
    • Browser Extension
      • Chrome Extension: Browser extension development
    • General Rules
      • General: Basic rules applicable to all projects
  • Convenient rule management:

    • Rule Merging: Supports merging with existing rules
    • Rule Overwriting: Option to overwrite existing rules

Usage

Method 1: Command Palette

  1. Open your project folder in VSCode
  2. Open the command palette using Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac)
  3. Enter "Cline" or "Roo"
  4. Select the desired rule type from the list
  5. Confirm adding the rule

Method 2: Right-Click Menu

  1. In the VSCode Explorer
  2. Right-click on any folder
  3. Select "Clinerules: Add Cline/Roo .clinerules file"
  4. 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

  1. Rule file cannot be added?

    • Make sure you have opened a project folder
    • Check if you have file write permissions
  2. Rule preview failed to display?

    • Try reinstalling the plugin
    • Ensure your VSCode version meets the requirements
  3. 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

  • Initial version released

Contribution Guide

Welcome to submit Issues and Pull Requests to help improve this plugin.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft