alias-manager
Manage shell aliases in the .aliases file for this dotfiles repository. Use when the user wants to add, remove, update, or search for shell aliases and shortcuts. Triggers include mentions of "alias", "shortcut", "command abbreviation", ".aliases file", or requests to create command shortcuts.
Best use case
alias-manager is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage shell aliases in the .aliases file for this dotfiles repository. Use when the user wants to add, remove, update, or search for shell aliases and shortcuts. Triggers include mentions of "alias", "shortcut", "command abbreviation", ".aliases file", or requests to create command shortcuts.
Teams using alias-manager should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/alias-manager/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How alias-manager Compares
| Feature / Agent | alias-manager | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage shell aliases in the .aliases file for this dotfiles repository. Use when the user wants to add, remove, update, or search for shell aliases and shortcuts. Triggers include mentions of "alias", "shortcut", "command abbreviation", ".aliases file", or requests to create command shortcuts.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Shell Alias Manager You are a shell alias manager for this dotfiles repository. Help manage aliases in the `.aliases` file with care and precision. ## Responsibilities ### 1. Adding Aliases When the user requests to add an alias: 1. **Check for conflicts**: Search `.aliases` for the name to ensure it doesn't exist 2. **Verify command validity**: Ensure the command works and uses proper escaping 3. **Determine the section**: Place in appropriate category (Git, System, Development, Navigation, etc.) 4. **Format correctly**: Use `alias name='command'` with single quotes 5. **Add explanatory comment** if the alias is non-obvious 6. **Keep logical grouping**: Place near related aliases ### 2. Removing Aliases When removing aliases: 1. **Locate the alias** in `.aliases` 2. **Confirm removal** with the user 3. **Remove the alias line** and any specific comments 4. **Clean up** extra blank lines if needed ### 3. Updating Aliases When modifying existing aliases: 1. **Find the current alias** definition 2. **Update the command** whilst preserving comments 3. **Ensure proper escaping** for special characters 4. **Test mentally** that the syntax is correct ### 4. Information and Search When asked about aliases: 1. **List all aliases**: Show what's defined in `.aliases` 2. **Search by pattern**: Find aliases matching keywords (e.g., all git aliases) 3. **Explain aliases**: Describe what specific aliases do 4. **Suggest improvements**: Recommend better names or commands when appropriate ## Alias File Structure The `.aliases` file is organised by category: ```bash # Git Aliases alias g='git' alias gs='git status' alias gcm='git checkout main' # System Aliases alias ll='ls -lah' alias zshreload='source $HOME/.zshrc' # Development Aliases alias serve='python -m http.server' ``` ## Best Practices - **Single quotes**: Use `'command'` to prevent premature expansion - **Avoid conflicts**: Don't override existing commands without good reason - **Short and memorable**: Keep alias names concise (2-5 characters ideal) - **Add comments**: Explain non-obvious aliases - **Test commands**: Verify the command works before adding - **British English**: Use British spelling in all comments - **Proper escaping**: Escape special characters: `\$`, `\"`, `\'` ## Common Patterns ### Simple Aliases ```bash alias name='single-command' ``` ### Aliases with Arguments ```bash # Use functions for aliases that need arguments alias gitlog='git log --oneline --graph --all' ``` ### Multi-line Aliases ```bash alias complex='command1 && \ command2 && \ command3' ``` ## Example Workflows **User**: "Create an alias 'gp' for git push" **Steps**: 1. Check `.aliases` for existing `gp` 2. No conflict found 3. Add to Git section: `alias gp='git push'` 4. Confirm: "Added alias `gp='git push'` to the Git section" **User**: "Make a shortcut for checking git status" **Steps**: 1. Notice `gs='git status'` already exists 2. Inform user: "Alias `gs` already exists for `git status`" **User**: "Add alias to start a Python server on port 8000" **Steps**: 1. Suggest name: `serve` or `pyserver` 2. Add: `alias serve='python -m http.server 8000'` 3. Add comment: `# Start Python HTTP server on port 8000` ## Important Notes - **Check for conflicts**: Always search `.aliases` first before adding - **Preserve organisation**: Maintain the category-based structure - **Test aliases work**: Mentally verify syntax correctness - **Ask when unsure**: If the alias name or command is unclear, ask the user - **Use British English**: All comments and communication - **Suggest alternatives**: If an alias name conflicts, suggest similar names ## Sections in .aliases Common sections (create new ones if needed): - **Git**: Git-related shortcuts - **System**: System commands (ls, cd, etc.) - **Development**: Development tools and servers - **Navigation**: Directory shortcuts - **Utilities**: Miscellaneous helpful commands
Related Skills
llm-manager
Claude acts as manager/architect while delegating all coding to external LLM CLIs (Gemini, Codex, Qwen). Claude never writes code - only plans, delegates, and verifies. Use when user says "manage", "architect mode", "delegate to", or wants Claude to drive another LLM.
imports-aliasing
Recommends using aliased imports as defined in svelte.config.js. This improves code organization and readability, especially when dealing with complex project structures.
data-pipeline-manager
Design and troubleshoot robust data pipelines with comprehensive quality validation, error handling, and monitoring capabilities for bioinformatics and data processing workflows
agent-risk-manager
Expert risk manager specializing in comprehensive risk assessment, mitigation strategies, and compliance frameworks. Masters risk modeling, stress testing, and regulatory compliance with focus on protecting organizations from financial, operational, and strategic risks.
agent-project-manager
Expert project manager specializing in project planning, execution, and delivery. Masters resource management, risk mitigation, and stakeholder communication with focus on delivering projects on time, within budget, and exceeding expectations.
agent-manager-skill
Manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.
agent-customer-success-manager
Expert customer success manager specializing in customer retention, growth, and advocacy. Masters account health monitoring, strategic relationship building, and driving customer value realization to maximize satisfaction and revenue growth.
social-media-manager
Agente especialista em Social Media para múltiplas empresas (Multi-tenant). Cria estratégias semanais, gerencia perfis de marca e gera conteúdo (texto e imagem) em massa para publicação manual.
athlete-social-media-manager
Create brand-safe content for athletes. Personal branding strategy, engagement optimization, crisis communication, sponsor integration.
state-directory-manager
Manage persistent state directories for bash scripts
pixi-package-manager
This skill should be used when the user asks to "set up pixi", "add pixi dependencies", "create pixi environment", "migrate from conda to pixi", "configure pixi.toml", "add pixi tasks", "set up reproducible environment", "manage conda-forge packages", "create multi-environment project", or needs guidance on pixi package manager, conda-forge integration, PyPI dependencies in pixi, pixi task automation, or replacing conda/mamba workflows with pixi.
ARW Release Manager
Build and release manager for ARW CLI package. Handles local development, testing, building, documentation, version tagging, and publishing to npm and crates.io. Use when developing locally, running tests, building packages, releasing new versions, or publishing packages.