Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mirzaaghazadehv1.0.0MITIn 2 marketplaces
Import and use rules from other AI coding assistants (Cursor, Windsurf, Copilot, Aider) in Claude Code
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Import and reuse your existing AI coding rules from Cursor, Windsurf, GitHub Copilot, and Aider in Claude Code.
Stop maintaining duplicate rule files for different AI tools. External Rules automatically imports your existing coding guidelines and conventions into every Claude Code conversation.
Modern development teams often use multiple AI coding assistants. Each tool has its own configuration format for coding rules and guidelines:
.cursor/rules/*.mdc files.windsurfrules.github/copilot-instructions.mdCONVENTIONS.mdMaintaining separate files with the same content is tedious and error-prone. This plugin solves that problem by allowing Claude Code to read rules from any of these sources automatically.
| Source | File Location | Format |
|---|---|---|
| Cursor | .cursor/rules/*.mdc | MDC (Markdown + frontmatter) |
| Windsurf | .windsurfrules | Plain text or Markdown |
| GitHub Copilot | .github/copilot-instructions.md | Markdown |
| Aider | CONVENTIONS.md | Markdown |
Add this marketplace to Claude Code, then install the plugin:
# Add the marketplace
/plugin marketplace add https://gitlab.com/mirzaaghazadeh/claude-code-external-rules.git
# Install the plugin
/plugin install external-rules
Install directly from this repository:
/plugin install https://github.com/mirzaaghazadeh/claude-code-external-rules.git
Clone the repository to your Claude Code plugins directory:
# Navigate to your Claude Code plugins directory
cd ~/.claude/plugins
# Clone the plugin
git clone https://github.com/mirzaaghazadeh/claude-code-external-rules.git external-rules
Restart Claude Code or reload plugins.
To auto-install for all team members, add to your project's .claude/settings.json:
{
"plugins": {
"marketplaces": [
"mirzaaghazadeh/claude-code-external-rules"
]
}
}
Configure the plugin by running the configuration command:
/external-rules
Select your sources: Choose which AI IDE rules to import when prompted.
Start coding: Your rules are now automatically included in every Claude Code conversation.
That's it! The plugin handles everything else automatically.
Configuration is stored in .claude/external-rules.local.md in your project root:
---
enabled: true
cursor: true
windsurf: false
copilot: true
aider: false
---
# External Rules Configuration
Enabled sources will be imported into Claude Code context.
Run `/external-rules` to change settings.
| Option | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Master switch for the plugin |
cursor | boolean | false | Import rules from .cursor/rules/ |
windsurf | boolean | false | Import rules from .windsurfrules |
copilot | boolean | false | Import rules from .github/copilot-instructions.md |
aider | boolean | false | Import rules from CONVENTIONS.md |
Add the settings file to your .gitignore to keep configuration local:
# Claude Code local settings
.claude/*.local.md
/external-rulesConfigure which external AI IDE rules to import.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mirzaaghazadeh/claude-code-external-rules --plugin external-rulesPlugins from other owners that cover similar ground