migrate-to-skills

Convert Cursor .mdc rules and .md commands into SKILL.md format.

Updated Sep 24, 2021
One-click install
npx skills add https://github.com/coolguy1771/dotfiles --skill migrate-to-skills-coolguy1771
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/coolguy1771/dotfiles/tree/main/chezmoi/private_dot_cursor/skills-cursor/migrate-to-skills
Command: npx skills add https://github.com/coolguy1771/dotfiles --skill migrate-to-skills-coolguy1771

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the conversion of existing Cursor rules and slash commands into the new Agent Skills format, streamlining your workflow and ensuring compatibility.

Core Features & Use Cases

  • Rule Conversion: Transforms .cursor/rules/*.mdc files into .cursor/skills/*.md format, preserving essential descriptions and body content.
  • Command Consolidation: Migrates .cursor/commands/*.md files into the skills directory, adding necessary frontmatter for proper integration.
  • Use Case: You have a collection of custom rules and commands in your Cursor setup that you want to update to the latest Skill format. This Skill handles the migration process efficiently, minimizing manual effort.

Quick Start

Use the migrate-to-skills skill to convert all .mdc rules and .md commands in the .cursor directory to the new SKILL.md format.

Frequently Asked Questions about migrate-to-skills

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

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

To convert Cursor rules to Agent Skills, this skill transforms your `.cursor/rules/*.mdc` files into `.cursor/skills/*.md` format. It preserves the original descriptions and body content while adding the necessary frontmatter metadata for the new format.

How do I migrate Cursor slash commands to the skills directory?

To migrate Cursor slash commands, this skill consolidates your `.cursor/commands/*.md` files into the `.cursor/skills/` directory. It automatically adds the required frontmatter metadata to ensure proper integration with the Agent Skills format.

Does migrating to the SKILL.md format preserve my original Cursor rule content?

Yes, migrating to the SKILL.md format carefully preserves your original Cursor rule content. The conversion process targets `.mdc` rule files and `.md` command files, retaining their essential body content while appending new frontmatter.

What is the best way to update .mdc files to the latest Cursor skills format?

The best way to update `.mdc` files is using an automated migration skill that converts them into `SKILL.md` files. This streamlines your workflow by minimizing manual effort and ensuring compatibility with the new Agent Skills structure.

Do I need to manually add frontmatter when converting Cursor commands?

No, you do not need to manually add frontmatter when converting Cursor commands. The migration skill automatically adds the necessary frontmatter metadata to your `.md` command files during the consolidation into the skills directory.