xiaohongshu
xiaohongshu
converting-commands-to-skills
Use this skill when converting Claude Code slash commands to Skills format. Handles transformation from ./commands/*.md to ./skills/*/SKILL.md, including YAML frontmatter conversion, name transformation to gerund form, description enhancement for invocation triggers, and batch processing. Invoke ...
Full skill instructions
This skill automates the conversion of Claude Code slash commands (in ./commands/ or ~/.claude/commands/) to the Skills format (in ./skills/ or ~/.claude/skills/).
CRITICAL: Before starting, use AskUserQuestion to ask the user which conversion type they want:
Basic Conversion:
Full Conversion:
Ask the user: "Do you want a basic conversion (frontmatter + directory only) or full conversion (frontmatter + directory + content transformation)?"
First, read the command file to understand its structure:
# Example command file structure
cat ./commands/gsd/add-phase.md
Command files typically have:
description, allowed-tools, argument-hint, model, context, agentCheck if target skill already exists:
# Check if skill directory and SKILL.md exist
ls ./skills/skill-name/SKILL.md
If skill already exists:
Apply these transformations (see ./transformation-rules.md for details):
Name Transformation:
add-phase.md → Skill: adding-phases (gerund form)review.md → Skill: reviewing-codeDirectory Structure:
./commands/category/command-name.md./skills/category-command-name/SKILL.md./commands/kata/add-phase.md → ./skills/kata-adding-phases/SKILL.md./commands/gsd/new-project.md → ./skills/gsd-starting-new-projects/SKILL.md./commands/review.md (no category) → ./skills/reviewing-code/SKILL.mdYAML Frontmatter:
name (transformed), description (enhanced)allowed-tools, argument-hint, model, context, agentDescription Enhancement:
Content Transformation (FULL CONVERSION ONLY):
When converting multiple commands:
# 1. List all commands to convert
find ./commands -name "*.md" -type f
# 2. For each command file, perform conversion
# (Claude will iterate through files)
For each file:
Automatic Validation:
After each skill file is written, a PostToolUse hook automatically runs validate-frontmatter.py to check:
The hook will output validation results. If validation fails, review and fix the issues.
Manual Validation Checklist:
All conversions (basic and full):
Full conversion only:
./ prefixAfter automatic transformation:
Single File Conversion: User: "Convert ./commands/gsd/add-phase.md to a skill"
Batch Conversion: User: "Convert all commands in ./commands/gsd/ to skills"
Project Migration: User: "Migrate all my slash commands to the skills format"
All conversions (basic and full):
Full conversion only:
Basic conversion only:
See ./transformation-rules.md for detailed transformation patterns and ./conversion-examples.md for before/after examples.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience