migrate-to-skills

Convert Cursor rules and slash commands into standardized SKILL.md entries.

8|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/kensaurus/cursor-kenji --skill migrate-to-skills-kensaurus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/kensaurus/cursor-kenji/tree/main/skills-cursor/migrate-to-skills
Command: npx skills add https://github.com/kensaurus/cursor-kenji --skill migrate-to-skills-kensaurus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts Cursor rules (.cursor/rules/.mdc) and slash commands (.cursor/commands/.md) into the Agent Skills format (.cursor/skills/), enabling consistent discovery, reuse, and portability across projects and user workspaces.

Core Features & Use Cases

  • Migrate project rules that include a description but lack globs and alwaysApply to SKILL.md, preserving the original body content exactly.
  • Migrate all slash commands to SKILL.md, preserving the body verbatim and adding frontmatter with a name and description, while ensuring safe model invocation settings.
  • Create destination skill directories under the appropriate scope and ignore internal worktrees or reserved paths during migration, ensuring safe, repeatable transforms.

Quick Start

Run the migrate-to-skills workflow to transform eligible .cursor/rules and .cursor/commands files into standardized SKILL.md entries.

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 to the skills format?

To migrate Cursor rules and slash commands, run the migration workflow to convert eligible .cursor/rules/*.mdc and .cursor/commands/*.md files into standardized SKILL.md entries under .cursor/skills, preserving the original body content verbatim while adding frontmatter.

Which Cursor rules are eligible for migration to SKILL.md?

Eligible Cursor rules for migration include those that have a description but lack both globs and alwaysApply settings. All slash commands are eligible for migration regardless of their configuration.

Does migrating slash commands to skills preserve the original content?

Migrating slash commands preserves the original body verbatim while creating frontmatter with name and description. This ensures consistent discovery and reuse across project and user workspaces without altering the original logic.

Does the migration process handle both project and user scopes?

The migration process handles both project and user scopes, creating destination skill directories under the appropriate scope. It safely ignores internal worktrees and reserved paths like ~/.cursor/skills-cursor during the transformation.

What is the best way to convert .mdc rule files for consistent reuse across projects?

Converting .mdc rule files into standardized SKILL.md entries under .cursor/skills enables consistent discovery, reuse, and portability across projects. The migration applies safe model invocation settings and ignores internal worktrees for repeatable transforms.

Are internal worktrees or reserved paths affected during the rules to skills conversion?

Internal worktrees and reserved paths like ~/.cursor/skills-cursor are explicitly ignored during the rules to skills conversion. This ensures safe, repeatable transforms without modifying internal configuration directories.