Skip to content
Back to skills

Collection

ASecurity

Convert Cursor custom commands (.cursor/commands/*.md) to Claude Code skills (.claude/skills/*/SKILL.md). Use when the user says "import command to skill", "convert command to skill", or "migrate cursor command".

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agents

Works with

  • claude code
  • cursor

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add mattnigh/skills_collection --skill collection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattnigh-collection-5e91b56f/badge)](https://www.skillsdirectory.com/skills/mattnigh-collection-5e91b56f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: import-command
description: Convert Cursor custom commands (.cursor/commands/*.md) to Claude Code skills (.claude/skills/*/SKILL.md). Use when the user says "import command to skill", "convert command to skill", or "migrate cursor command".
---

# import-command

Convert Cursor custom commands to Claude Code skills.

## Trigger Examples

- "Import command to skill"
- "Convert command to skill"
- "Migrate cursor command to skill"
- "Turn this command into a skill"

## Format Differences

### Cursor Command Format

```markdown
# /command-name

## Overview
[Description]

## Usage
[Usage pattern]

## Prerequisites
[Prerequisites]

## Execution Flow (steps)
[Steps]

## AI considerations
[AI guidance]

## Notes
[Notes]

## Examples
[Examples]
```

### Claude Code Skill Format

```markdown
---
name: skill-name
description: [What it does and when to use it. Include trigger phrases.]
---

# skill-name

[One-line overview]

## Trigger Examples

- "Trigger phrase 1"
- "Trigger phrase 2"

## Prerequisites (optional)

- [Prerequisite]

## Execution Flow

### 1. [Step name]

- [Details]

## Notes

- [Note]
```

## Conversion Rules

### 1. Command Name → Skill Name

- Remove leading `/`
- Keep kebab-case: `/commit-push-pr` → `commit-push-pr`

### 2. Overview → Description (Frontmatter)

- Combine "Overview" and "Usage" into a concise description
- Add trigger phrases based on the command name and purpose
- This is the most important part: description determines when the skill triggers

### 3. Usage → Trigger Examples

- Convert usage patterns to natural language trigger phrases
- Example: `/check-secrets [--strict]` → "Check for secrets", "Scan for leaks"

### 4. Execution Flow (steps) → Execution Flow

- Keep the step structure
- Simplify verbose explanations
- Remove redundant context (Claude is smart)

### 5. AI considerations → Merge into Execution Flow or Notes

- If actionable: merge into Execution Flow
- If general guidance: move to Notes

### 6. Examples → Omit or Simplify

- Skills prefer concise instructions over verbose examples
- Keep only if essential for understanding

## Execution Flow

### 1. Read Source Command

Read the Cursor command file from `.cursor/commands/<command-name>.md`

### 2. Extract Key Information

- Command name
- Overview/description
- Usage patterns
- Prerequisites
- Execution steps
- Notes and caveats

### 3. Generate Skill Structure

Create skill directory and SKILL.md:

```
.claude/skills/<skill-name>/
└── SKILL.md
```

### 4. Write Frontmatter

```yaml
---
name: <skill-name>
description: <comprehensive description with trigger phrases>
---
```

### 5. Write Body

- Concise trigger examples
- Simplified execution flow
- Essential notes only

### 6. Present for Approval

Show the generated skill and ask for approval before creating.

### 7. Update CLAUDE.md

Add the new skill to the skills list in CLAUDE.md.

## Notes

- Skills should be more concise than commands
- Focus on trigger phrases in description
- Remove redundant explanations
- Deprecated commands should not be converted

Files in this skill

  • 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md15.1 KB
  • 17hz__nextjs-template__claude__skills__example-skill__SKILL.md316 B
  • 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md3.5 KB
  • 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md5.4 KB
  • 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md7.7 KB
  • 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md26.1 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md15.7 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md17.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md9.4 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md12.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md16.6 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md11.2 KB
  • 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md14.8 KB
  • 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md16.2 KB
  • 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md11.8 KB
  • 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md17.5 KB
  • 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md19.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md6.2 KB
  • 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md18.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md24.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.