migrate-to-skills

Convert Cursor rules and slash commands to Agent Skills format.

Updated Oct 28, 2022
One-click install
npx skills add https://github.com/patrykk21/dotfiles --skill migrate-to-skills-patrykk21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/patrykk21/dotfiles/tree/main/cursor/skills-cursor/migrate-to-skills
Command: npx skills add https://github.com/patrykk21/dotfiles --skill migrate-to-skills-patrykk21

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you migrate your existing Cursor rules and slash commands to the new Agent Skills format, making them more versatile and manageable.

Core Features & Use Cases

  • Rule and Command Conversion: Converts .mdc rules and .md commands to .SKILL.md format, enhancing integration with the new skills system.
  • Consolidation: Simplifies your cursor folder by consolidating all commands into a skills directory, reducing complexity and improving maintainability.
  • Quick Setup: Automatically generates skills directories and manages the conversion process without manual intervention.

Quick Start

Migrate your cursor commands to skills using the migrate-to-skills command.

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 new skills format?

You can convert Cursor rules by migrating .cursor/rules/*.mdc files into .SKILL.md format. This process automatically renames files and modifies content to integrate with the new .cursor/skills/ directory system.

Can I migrate Cursor slash commands to skills automatically?

Yes, you can migrate Cursor slash commands by converting .cursor/commands/*.md files into .SKILL.md format. This consolidates commands into a single skills directory to reduce folder complexity and improve maintainability.

What is the difference between Cursor rules and the skills system?

The skills system consolidates rule-based and command-based workflows into a single .cursor/skills/ directory using .SKILL.md files. This format enhances integration and makes your Cursor setup more versatile and manageable than separate rules and commands.

How do I consolidate Cursor commands and rules into one directory?

You can consolidate Cursor commands and rules by running an automated migration that converts .mdc and .md files into .SKILL.md format. This generates a skills directory and moves all converted files there without manual intervention.

Do I need to manually rename files when migrating to skills?

No, manual file renaming is not required. The migration process automatically handles renaming files and modifying content when converting your existing .mdc rules and .md commands to the new .SKILL.md format.

Are there limitations to migrating Cursor rules and commands?

This migration is intended for users with a mix of rule-based and command-based workflows. It specifically targets .cursor/rules/*.mdc and .cursor/commands/*.md files, converting them to .cursor/skills/ to simplify management and ease of use.