github / github/copilot-cli

Configure custom aliases

未关闭
#3,844 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

Allow to create aliases and custom /commands

### Proposed solution

Let users define their own slash command aliases, mapped to specific models and prompts.
Why it helps:
- Faster model switching, less typing
- Consistent workflows across tasks
- Feels natural, like shell or git aliase

### Example prompts or workflows

For example, modifying `~/.coppier/settings.json` to set
- `/m1` as an alias for `/model claude-opus-4.8`
- `/m2` for `/model gpt-5-mini`
- `/rd` for `/rubber-duck`
- `/docs` for "Rewrite this README clearly"

### Additional context

This fits how aliases are already used in git and the shell. Small feature, big usability win.

贡献指南

打开贡献指南

调研方向

Start by tracing how ~/.coppier/settings.json is loaded and how existing slash commands such as /model and /rubber-duck are dispatched. Done means users can define aliases there and invoke them to select the mapped model or run the mapped prompt, including the examples described in the issue.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli, developer-experience
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。