Free tool

Rules file converter

Write a rule once and use it in every coding agent your team runs. Paste a rule in any agent's format and get the file path and frontmatter for 11 targets, keeping when the rule applies. Formats checked against each vendor's docs on 2026-10-19. Nothing leaves your browser.

Scope: Only for matching files (**/*.vue)

Detected from: globs

Convert to

Save as: .cursor/rules/vue.mdc

---
globs: **/*.vue
alwaysApply: false
---

- Write single-file components with <script setup lang="ts">. Do not use the Options API or defineComponent with a setup() function.
- Declare props and emits with type-based defineProps<...>() and defineEmits<...>().
- Use defineModel() for v-model on a component instead of a modelValue prop plus an update:modelValue emit.
- Prefer ref() over reactive(). Do not destructure a reactive() object; that breaks reactivity.
- Use computed() for derived values and watch() only for side effects; never copy a prop into local state just to read it.
- Use useTemplateRef() for template refs.
- Give every v-for a stable :key from the data, and never put v-if and v-for on the same element.
- Do not mutate props; emit an event or update the model instead.
- Move reusable stateful logic into composables named useSomething in the composables folder.

Format source: Cursor docs.

How scope maps between agents

When it appliesCursor .mdcClaude CodeGitHub CopilotKiroAntigravity / Devin
Always onalwaysApply: trueno pathsapplyTo: "**"inclusion: alwaystrigger: always_on
Matching filesglobspathsapplyToinclusion: fileMatchtrigger: glob
Agent decidesdescription(use a Skill)description (VS Code)inclusion: autotrigger: model_decision
Manualno description, no globs(use a Skill)neither (VS Code)inclusion: manualtrigger: manual

AGENTS.md, GEMINI.md and Codex have no frontmatter: put the file in the folder it applies to. Zed reads only the first instruction file it finds, so a .cursorrules file wins over AGENTS.md there.

Related

Rules formats keep changing

Get one email a week when a coding agent changes where it reads rules or how it scopes them.