Create Rule
Scaffolds Cursor .mdc rule files in .cursor/rules/ with correct frontmatter and scope.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 16, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 9a7d391
Ran a real baseline-vs-skill comparison for a Zod-validation rule request: unguided output defaulted to a legacy freeform `.cursorrules`-style file, the skill correctly produced a proper `.cursor/rules/zod-api-validation.mdc` with frontmatter. But the doc itself contradicts its own line-count guidance ('Under 50 lines' vs the checklist's 'under 500 lines') and the trigger description advertises RULE.md/AGENTS.md support the body never actually covers.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 7/10
- Docs & honesty 2/5
What Create Rule does
A Cursor-IDE adapter skill that turns a plain-language request for a coding standard or convention into a properly formatted `.cursor/rules/*.mdc` file (description/globs/alwaysApply frontmatter), asking for scope and file-pattern only when the conversation hasn't already supplied them. Self-contained, single file, no external dependencies.
How to install Create Rule
git clone https://github.com/coco-research/coco.git
cd coco
mkdir -p ~/.claude/skills
cp -r adapters/cursor/skills/create-rule ~/.claude/skills/create-rule
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Create Rule
-
/create-ruleScaffolds Cursor .mdc rule files in .cursor/rules/ with correct frontmatter and scope.
It also activates on plain-language prompts like these:
-
Turn our Zod validation convention into a proper Cursor rule file -
Scaffold a new .cursor/rules file for our API error-handling standard -
I want a Cursor rule that always applies to files in src/components
Frequently asked questions
- Is the Create Rule skill free?
- Yes. The skill itself is free from coco-research/coco. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Create Rule work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 16, 2026. Verdict: Tested · Works. Ran a real baseline-vs-skill comparison for a Zod-validation rule request: unguided output defaulted to a legacy freeform `.cursorrules`-style file, the skill correctly produced a proper `.cursor/rules/zod-api-validation.mdc` with frontmatter. But the doc itself contradicts its own line-count guidance ('Under 50 lines' vs the checklist's 'under 500 lines') and the trigger description advertises RULE.md/AGENTS.md support the body never actually covers.
- What is the Create Rule SkillProof Score?
- 7.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 2/5.
- How do I install Create Rule?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Create Rule with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.