Agentic AI Rules Generator

Configure your project stack once. Instantly generate optimized rules and guidelines for Cursor, Cline, Windsurf, Roo, and more.

100% Client-Side — Private & Offline

Quick-Start Stack Presets

Next.js App TypeScript • pnpm
React Vite TS • npm • Hooks
FastAPI Py Python • Ruff
Go Micro Golang • Clean

Export Rules Files

Active Live Sync
.cursorrules Save to root directory /
Generating rules...

Frequently Asked Questions — Agentic AI Rules

What are .cursorrules and MDC files?

They are configuration instructions that guide how Cursor's AI (Composer and Chat) reads, writes, and modifies code. Traditional .cursorrules sits at the root, while newer MDC files reside in .cursor/rules/*.mdc and offer specific triggers using standard frontmatter (globs and descriptions) to apply selectively.

How do I use .clinerules, .windsurfrules and .roo/rules/?

Simply download the generated files and place them in your workspace root. AI Agents like Cline and Windsurf, or Roo Code, instantly parse these standard system instructions at boot. This aligns their file modification behaviors, forbidden actions, and tool usage with your design standards.

What is AGENTS.md?

AGENTS.md is a documentation spec for developer runtimes (like Google AI Studio or OpenAI custom environments). It declares your tech stack, system capabilities, build scripts, test paths, and general instructions in an easily discoverable location at your project root, ensuring that any AI coding assistant starting in that workspace understands the sandbox limits.

Is my data uploaded or shared?

Never. ToolShelf values code privacy above all. This tool works 100% locally in your browser. All AST modifications, templated evaluations, and ZIP compression algorithms run using client-side JavaScript. No tracking, no external API calls, and zero uploads.

AI Coding Agents Rules Configuration Matrix

Use this comparison matrix to determine which rules config files are compatible with your current AI coding IDE, editor extension, or custom workspace agent sandbox.

AI IDE / Coding Agent Supported Rules File Auto-Discovery Path Best Use Cases
Cursor AI .cursorrules, .cursor/rules/*.mdc Workspace Root & subfolders Surgical code generations, autocomplete, multiline inline edits, composer mode
Cline .clinerules Workspace Root Full-stack autonomous agents, shell task execution, terminal testing integrations
Windsurf .windsurfrules Workspace Root Collaborative real-time coding flows, deep multi-file system edits, terminal syncs
Roo Code (Roo Cline) .clinerules, .roo/rules/* Workspace Root & rules folder Highly custom LLM instructions, prompt system overrides, custom system triggers
Google AI Studio AGENTS.md Workspace Root Browser sandbox configurations, persistent context memory across sessions
GitHub Copilot Chat .github/copilot-instructions.md System folder In-editor contextual chat prompts, quick scaffolding explanations, inline help
Copied to clipboard!