CommandCodeAI / CommandCodeAI/command-code
Support slash commands mid-sentence and multiple slash commands per prompt
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
Feature Description
Please support invoking skills/commands when / is typed anywhere in the prompt composer, not only when the prompt starts with /, and allow multiple slash-command invocations in a single prompt.
Current behavior
In the Command Code desktop app, slash suggestions appear when the slash is at the beginning of the input. If I first write prose and then type /, or include a second / later in the same prompt, the command/skill picker does not appear. This makes it difficult to write natural instructions and compose several skills in one request.
Desired behavior
- Typing
/after existing text opens the same asynchronously loaded slash menu at the caret. - Selecting a command inserts or activates it at that position without discarding the surrounding prompt.
- Each slash occurrence can be resolved independently, so one prompt can contain multiple commands/skills.
- Keep the current start-of-prompt behavior and keyboard navigation.
- Preserve ordinary text such as URLs, filesystem paths, and escaped slashes.
Example
Audit this interface with /impeccable, check keyboard access with /accessibility, then browse the docs with /browser.
This would match the inline slash workflow I use in Codex today.
Use Case
Natural-language requests often introduce a skill after the goal is stated. Requiring the user to move every command to the first character breaks the flow of the request, makes multi-step work awkward, and can make skills appear unavailable.
Inline invocation would reduce prompt restructuring, let users compose workflows naturally, and make Command Code a smoother replacement for Codex-style slash skill calls.
Additional Context
Observed on Command Code desktop v0.1.8 on macOS. In a Discord discussion, the Command Code team/community clarified that the current slash menu is surfaced at the start of input and recommended filing a GitHub feature request for mid-prompt skill invocation.
This request covers both related behaviors: (1) invoking a slash command after existing text and (2) using multiple slash commands in one prompt. It is a usability/feature request and does not require changing the existing command catalog.
How important is this to you?
Important for my workflow
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪桌面端 prompt composer 以及现有的 prompt 开头 slash-menu 行为。检查异步加载的建议、插入光标位置、键盘导航、URLs、paths 和转义斜杠是如何处理的;完成的标准是 inline 命令和多个命令都能正常工作,不会丢失周围文本,同时保持现有行为不变。
由索引模型根据 Issue 内容生成。
评估
- 领域
- desktop
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100