migrate-to-skills

Convert Cursor rules and slash commands into Agent Skills format.

1|Updated Jul 8, 2022
One-click install
npx skills add https://github.com/jiito/dotfiles --skill migrate-to-skills-jiito
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/jiito/dotfiles/tree/main/.agents/skills/migrate-to-skills
Command: npx skills add https://github.com/jiito/dotfiles --skill migrate-to-skills-jiito

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 the migration process and ensuring consistency.

Core Features & Use Cases

  • Rule Conversion: Transforms .mdc rules into SKILL.md format, preserving frontmatter and body content.
  • Command Conversion: Converts .md slash commands into SKILL.md format, adding necessary frontmatter for skill discovery and invocation control.
  • Use Case: You have a collection of custom rules and commands in your .cursor directory. Use this Skill to migrate them to the standardized Agent Skills structure, making them manageable and discoverable within the new system.

Quick Start

Use the migrate-to-skills skill to convert all project rules and commands to the new skills 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 the Agent Skills format?

To convert Cursor rules to the Agent Skills format, you transform `.mdc` files from the `.cursor/rules` directory into `SKILL.md` files. This migration preserves the exact body content while adding specific frontmatter fields required for skill discovery and invocation control.

Can I migrate slash commands to skills without losing content?

Yes, you can migrate slash commands to skills without losing content by converting `.md` files from `.cursor/commands` into `SKILL.md` format. The conversion process requires preserving the exact body content of the original command files and appending the necessary frontmatter fields.

What is the Agent Skills format for Cursor configurations?

The Agent Skills format is a standardized structure utilizing `SKILL.md` files located in the `.cursor/skills` directory. It organizes previously disparate rules and slash commands into a unified format, using specific frontmatter fields to manage how skills are discovered and invoked within the system.

Does migrating commands to skills change the invocation behavior?

Migrating commands to skills changes invocation behavior by utilizing specific frontmatter fields for invocation control. While the functional body content remains exactly preserved during the conversion, the new frontmatter dictates how the newly formed skills are discovered and triggered within the Agent Skills system.

What's the best way to bulk convert .mdc rules to skills?

The best way to bulk convert `.mdc` rules to skills is by automating the migration from the `.cursor/rules` directory to `.cursor/skills`. This ensures all rules are systematically transformed into the `SKILL.md` format with consistent frontmatter addition and exact body content preservation.