migrate-to-skills

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

4|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/LiuHarry1/ai_coding_agent_intro --skill migrate-to-skills-liuharry1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/LiuHarry1/ai_coding_agent_intro/tree/main/.ai-agent/skills/migrate-to-skills
Command: npx skills add https://github.com/LiuHarry1/ai_coding_agent_intro --skill migrate-to-skills-liuharry1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts Cursor rules and slash commands into standardized Skill units by migrating them into the Skill format, enabling easier maintenance and reuse.

Core Features & Use Cases

  • Migrate project rules from .cursor/rules/*.mdc into .cursor/skills/{name}/SKILL.md with the original body preserved.
  • Migrate slash commands from .cursor/commands/*.md (and user-level commands) into the corresponding SKILL.md under .cursor/skills/{name}/ with frontmatter including name and description.
  • Consolidate disparate local command definitions into a unified skills directory for consistent discovery and invocation.

Quick Start

Run the migrate-to-skills workflow to convert eligible Cursor rules and commands into SKILL.md frontmatters 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 skills format?

To migrate Cursor rules to skills format, this automation converts .mdc files from .cursor/rules into SKILL.md files under .cursor/skills/{name}/, preserving the original body content exactly while adding name and description frontmatter.

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

Yes, you can convert slash commands to SKILL.md files by migrating project and user-level commands from .cursor/commands/*.md into corresponding per-skill directories containing SKILL.md with standardized frontmatter.

Which Cursor rules are eligible for migration to skills?

Cursor rules eligible for migration to skills are those that have a description but lack globs and alwaysApply properties, ensuring only standalone rules are converted into the standardized Agent Skills format.

What is the best way to consolidate Cursor commands for consistent discovery?

The best way to consolidate Cursor commands for consistent discovery is migrating disparate local command definitions from project and user locations into a unified .cursor/skills directory for standardized invocation.

Does migrating to skills format preserve the original rule body content?

Yes, migrating to skills format preserves the original rule body content exactly, placing it inside SKILL.md alongside newly generated frontmatter containing the name and description fields.