migrate-to-skills

Migrate Cursor rules and slash commands into Agent Skills format.

1|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/YanxiChen-gh/Dotfiles --skill migrate-to-skills-yanxichen-gh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/YanxiChen-gh/Dotfiles/tree/main/cursor/skills/migrate-to-skills
Command: npx skills add https://github.com/YanxiChen-gh/Dotfiles --skill migrate-to-skills-yanxichen-gh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes the migration of Cursor rules and slash commands into the Agent Skills format, enabling consistent discovery, portability, and reuse across projects and users.

Core Features & Use Cases

  • Migrate project and user rules that contain a description but no globs or alwaysApply to SKILL.md
  • Migrate plain Markdown commands into SKILL.md with standardized frontmatter and disabled model invocation
  • Consolidate multiple rules and commands into a single, organized skills directory for easier maintenance

Quick Start

Run the migrate-to-skills workflow to convert Cursor rules and commands into Skill entries under the Skills directory.

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 and slash commands into Agent Skills?

To migrate Cursor rules and slash commands into Agent Skills, run the migration workflow to convert them into SKILL.md files with standardized frontmatter. This preserves the exact body text while enriching metadata for discovery and reuse.

What is the process for converting plain Markdown commands to SKILL.md?

Converting plain Markdown commands to SKILL.md involves extracting frontmatter, preserving the exact body content, and disabling any automatic model invocation. This standardizes the commands into a centralized skills directory for easier maintenance.

Which Cursor rules can be migrated into the Skills format?

Cursor rules that contain a description but have no globs or alwaysApply settings can be migrated into the Skills format. This ensures only manually triggered, descriptive rules are converted into SKILL.md entries.

Does the migration process execute the original Cursor rules or commands?

The migration process does not execute the original Cursor rules or commands. It purely transforms the content into SKILL.md files, maintaining the exact body text without triggering any automatic model invocation during the conversion.

Can I consolidate multiple project and user rules into a single Skills directory?

You can consolidate multiple project and user rules into a single organized Skills directory. The migration workflow applies transformations to both project and user locations, centralizing the output for consistent portability and reuse.