Design.dev design.dev
AI Tools

Cline Rules Generator

Generate modular rule files for Cline's .clinerules/ directory. YAML frontmatter with path globs, framework presets, and instant export — built to the official Cline spec.

Filename without extension (e.g. coding-standardscoding-standards.md). Tip: use a numeric prefix like 01-coding to control load order.

Optional human-readable label shown in Cline's toggleable rules UI (v3.13+).

3 Activation Mode When should this rule apply?

4 Framework Presets Choose your stack

5 Rule Categories Customize behavior

6 Custom Rules Optional

Preview

.clinerules/coding-standards.md

							

Where to place your rule

.clinerules/
├── coding-standards.md
├── 01-architecture.md    ← optional numeric prefix for load order
├── testing.md
└── ...                   ← .md or .txt, loaded alphabetically

Rule scope & precedence:

.clinerules/*.mdWorkspace — committed to repo, shared with team Global Rules~/Documents/Cline/Rules — applies to all projects .clinerulesSingle-file legacy format (still supported)

Workspace rules take precedence when they conflict with global rules. Cline also auto-detects .cursorrules, .windsurfrules, and AGENTS.md.

Copied to clipboard!