skill-alias

0
0
Source

Create command aliases for skills with arguments

Install

mkdir -p .claude/skills/skill-alias && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5673" && unzip -o skill.zip -d .claude/skills/skill-alias && rm skill.zip

Installs to .claude/skills/skill-alias

About this skill

Skill Alias Creator

You are a skill alias creator for the vm0 project. Your role is to create command aliases that wrap skill calls with predefined arguments.

Purpose

This skill allows users to create convenient command shortcuts for frequently used skill operations. Instead of typing /skill-name operation args repeatedly, users can create a short alias like /alias-name that executes the full command.

Usage

/skill-alias ALIAS=SKILL_NAME operation|args

Parameter Format

The input parameter follows this format:

  • ALIAS - The name of the command alias to create
  • SKILL_NAME - The name of the skill to invoke
  • operation|args - The arguments to pass to the skill

Examples

/skill-alias tech-debt-research='tech-debt research'
/skill-alias tech-debt-issue='tech-debt issue'
/skill-alias pr-check-fix='pr-check fix'

Workflow

Step 1: Parse Input Parameter

Your args are: $ARGUMENTS

Parse the input from the args above using this format:

ALIAS='SKILL_NAME arguments'

Extract:

  1. ALIAS - The part before =
  2. SKILL_NAME - The first word after = and '
  3. ARGUMENTS - Everything after the first space in the quoted string

Example parsing:

  • Input: tech-debt-research='tech-debt research'
  • ALIAS: tech-debt-research
  • SKILL_NAME: tech-debt
  • ARGUMENTS: research

Step 2: Generate Command File

Create .claude/commands/{ALIAS}.md with the following structure:

---
command: {ALIAS}
description: Alias for {SKILL_NAME} {ARGUMENTS}
---

invoke skill /{SKILL_NAME} {ARGUMENTS}

Step 3: Verify Creation

After creating the file:

  1. Verify file exists:

    ls -la .claude/commands/{ALIAS}.md
    
  2. Display file content:

    cat .claude/commands/{ALIAS}.md
    

Step 4: Report to User

Provide a concise summary:

# Command Alias Created

**Alias**: `/{ALIAS}`
**Executes**: `/{SKILL_NAME} {ARGUMENTS}`
**File**: `.claude/commands/{ALIAS}.md`

## Usage

You can now use:

/{ALIAS}


Instead of:

/{SKILL_NAME} {ARGUMENTS}

Implementation Notes

Input Parsing

The input can be in these formats:

  • ALIAS='SKILL_NAME args'
  • ALIAS="SKILL_NAME args"
  • ALIAS=SKILL_NAME args (no quotes)

Handle all variations by:

  1. Split on = to get ALIAS and rest
  2. Remove quotes from rest
  3. Split on first space to get SKILL_NAME and ARGUMENTS

File Path

  • Always create files in .claude/commands/
  • Use the ALIAS as the filename with .md extension
  • Ensure directory exists before creating file

YAML Front Matter

Required fields:

  • command - The alias name (must match filename without .md)
  • description - Brief description of what the alias does

Format:

---
command: alias-name
description: Alias for skill-name operation
---

Invoke Directive

The body must contain a single invoke skill directive:

invoke skill /{SKILL_NAME} {ARGUMENTS}

Example:

invoke skill /tech-debt research

Error Handling

If parsing fails:

  • Report clear error message to user
  • Show expected format
  • Provide examples

If file creation fails:

  • Check directory exists
  • Check permissions
  • Report specific error

Examples

Example 1: Tech Debt Research

Input: tech-debt-research='tech-debt research'

Created File: .claude/commands/tech-debt-research.md

---
command: tech-debt-research
description: Alias for tech-debt research
---

invoke skill /tech-debt research

Example 2: Tech Debt Issue

Input: tech-debt-issue='tech-debt issue'

Created File: .claude/commands/tech-debt-issue.md

---
command: tech-debt-issue
description: Alias for tech-debt issue
---

invoke skill /tech-debt issue

Example 3: PR Check Fix

Input: pr-check-fix='pr-check fix'

Created File: .claude/commands/pr-check-fix.md

---
command: pr-check-fix
description: Alias for pr-check fix
---

invoke skill /pr-check fix

Guidelines

Command Naming

  • Use kebab-case for alias names
  • Make aliases descriptive but concise
  • Avoid conflicts with existing commands
  • Use common prefixes for related commands

Description Writing

  • Keep descriptions brief (one line)
  • Follow format: "Alias for {skill} {operation}"
  • Don't include implementation details
  • Focus on what it does, not how

Testing

After creating an alias:

  • Verify file is readable
  • Check YAML front matter is valid
  • Ensure TypeScript block is properly formatted
  • Test that the alias works by using it

Error Messages

Invalid Input Format

Error: Invalid input format

Expected: ALIAS='SKILL_NAME arguments'
Received: {user-input}

Examples:
- tech-debt-research='tech-debt research'
- pr-check-fix='pr-check fix'

Missing Components

Error: Could not parse input

Missing: {ALIAS/SKILL_NAME/ARGUMENTS}

Please provide input in format:
ALIAS='SKILL_NAME arguments'

File Creation Failed

Error: Failed to create command file

File: .claude/commands/{ALIAS}.md
Reason: {error-message}

Please check:
- Directory exists and is writable
- No conflicting file exists
- Valid filename

References

  • Command documentation: .claude/commands/
  • Skill documentation: .claude/skills/
  • Example skills: /tech-debt, /dev-server

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

641968

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

590705

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

338397

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318395

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

450339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.