migrate-to-skills

Convert Cursor rules and slash commands to SKILL.md files under .cursor/skills.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/rkz91/coco --skill migrate-to-skills-rkz91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/rkz91/coco/tree/main/adapters/cursor/skills/migrate-to-skills
Command: npx skills add https://github.com/rkz91/coco --skill migrate-to-skills-rkz91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrates Cursor rules ('.cursor/rules/.mdc') and slash commands ('.cursor/commands/.md') to the Agent Skills format by creating SKILL.md files under the appropriate '.cursor/skills/{skill-name}/' directories.

Core Features & Use Cases

  • Automates migration of project rules that include a description and no globs or alwaysApply.
  • Migrates all plain Markdown slash commands into SKILL.md with proper frontmatter.
  • Preserves the original body content verbatim and organizes skills in the standardized directory structure for reuse.

Quick Start

Run migrate-to-skills to convert eligible Cursor rules and commands to SKILL.md format under .cursor/skills.

Frequently Asked Questions about migrate-to-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Cursor rules to Agent Skills format?

To migrate Cursor rules to Agent Skills format, run a migration command that scans eligible .mdc files and converts them into SKILL.md files. This process creates proper frontmatter and organizes them within the .cursor/skills directory.

Can I convert Cursor slash commands to SKILL.md files automatically?

Yes, you can convert Cursor slash commands to SKILL.md files automatically. The migration process scans plain Markdown command files, generates the required frontmatter for name and description, and preserves the body content verbatim in the new directory structure.

What happens to globs and alwaysApply settings when moving rules to Skills?

When moving rules to Skills, the migration process removes globs and alwaysApply settings from the original configuration. It ensures that valid frontmatter is created for the new SKILL.md file while preserving the body content exactly as it was.

Which Cursor project files are eligible for Agent Skills migration?

Eligible files for Agent Skills migration include project rules that contain a description and have no globs or alwaysApply settings, along with all plain Markdown slash commands stored in the .cursor/commands directory.

Does migrating commands to Skills change the original Markdown content?

No, migrating commands to Skills does not change the original Markdown content. The migration enforces new frontmatter creation and removes obsolete rule configurations, but it preserves the original body content verbatim inside the generated SKILL.md files.