Skip to content

Repository files navigation

fnrules

All your AI rules. One sidebar.

License: MIT


Every AI coding assistant has its own config file. Claude Code wants CLAUDE.md. Cursor wants .cursorrules. Copilot wants copilot-instructions.md. Windsurf, Codex -- they all have their own format, in their own location, and you forget half of them exist.

fnrules puts them all in one sidebar panel so you can see what's configured, create what's missing, and open any rule file in one click.

Supported tools

ToolFiles detected
Claude CodeCLAUDE.md, .claude/CLAUDE.md, .claude/rules/*.md
Cursor.cursorrules, .cursor/rules/*.mdc
GitHub Copilot.github/copilot-instructions.md
Windsurf.windsurfrules
CodexAGENTS.md

Features

  • Sidebar tree view -- see every AI rule file in your workspace, grouped by tool
  • One-click file creation -- create any missing config file with a sensible starter template
  • Status bar indicator -- AI Rules: 2/5 shows how many tools are configured at a glance
  • Auto-refresh -- file watchers detect when rule files are added or removed
  • Context menus -- right-click unconfigured tools to create their files

Commands

All commands are available from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) under the AI Rules category:

CommandDescription
AI Rules: Create CLAUDE.mdCreate a Claude Code rules file
AI Rules: Create .cursorrulesCreate a Cursor rules file
AI Rules: Create Copilot InstructionsCreate a GitHub Copilot instructions file
AI Rules: Create .windsurfrulesCreate a Windsurf rules file
AI Rules: Create AGENTS.mdCreate a Codex agents file
AI Rules: RefreshForce-refresh the tree view

Why not "AI Rules" extension?

The existing "AI Rules" extension (291 installs) doesn't support Claude Code or Codex, and lacks file creation and status bar features.

FeaturefnrulesAI Rules
Claude Code (CLAUDE.md)YesNo
Cursor (.cursorrules)YesYes
GitHub CopilotYesYes
WindsurfYesYes
Codex (AGENTS.md)YesNo
File creation with templatesYesNo
Status bar indicatorYesNo
File watching / auto-refreshYesPartial

Installation

Install from the VS Code Marketplace or search for "AI Rules Manager" in the Extensions tab.

Support

If you find this useful, consider supporting development:

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from fntemplate/npm