infra:alias-add

Create slash command aliases that delegate to existing commands with validation.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill infra-alias-add
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra:alias-add
Source: https://github.com/atournayre/claude-personas/tree/main/infra/skills/alias-add
Command: npx skills add https://github.com/atournayre/claude-personas --skill infra-alias-add

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of command aliases, simplifying complex commands into short, memorable shortcuts and improving workflow efficiency.

Core Features & Use Cases

  • Alias Creation: Define new slash commands that act as shortcuts to existing commands.
  • Argument Validation: Ensures that both the alias name and the target command are correctly formatted and exist.
  • Documentation Update: Automatically adds the new alias to the relevant documentation for discoverability.
  • Use Case: You frequently use the /git:status command. You can create an alias /gs that points to /git:status for quicker access.

Quick Start

Create an alias named 'status' that points to the '/git:status' command.

Frequently Asked Questions about infra:alias-add

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a slash command alias to shorten a frequently used command?

To create a slash command alias, you define a new shortcut command that delegates to an existing slash command. The Skill validates both the alias name and target command format before creation.

Can I set up command shortcuts that automatically update my project documentation?

Yes, creating command aliases automatically updates the relevant documentation. This ensures newly defined shortcuts remain discoverable without requiring you to manually edit your docs.

What is command aliasing and when do I need it for developer automation?

Command aliasing maps a short, memorable slash command to a longer existing command. You need it to streamline complex command invocations and improve workflow efficiency when automating tasks.

Does the alias creation process validate if the target command exists?

Yes, the alias creation process requires validation of the target command's existence and format. It checks that both the alias name and the original command are correctly formatted before proceeding.

What happens if I try to create a command alias with an invalid format?

Creating a command alias with an invalid format will fail the validation checks. The Skill ensures both the alias name and the target command are correctly formatted and exist before delegating execution.

What's the best way to streamline complex slash command invocations?

The best way to streamline complex invocations is to create command aliases. This delegates the execution to a short, memorable shortcut, reducing the effort needed to trigger frequent commands.