CommandCodeAI / CommandCodeAI/command-code

Bug: Skill autocomplete only works at the beginning of the prompt

未关闭
#367 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

p2
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Summary

Skill autocomplete currently only works when / is typed at the very beginning of the prompt.

After selecting one skill, typing another / later in the same prompt does not trigger skill suggestions anymore.

Additionally, typing / anywhere after normal text also does not trigger autocomplete.

Expected Behavior

Skill suggestions should appear whenever / is typed, not only when it is the first character of the prompt.

This would greatly improve UX when chaining multiple skills in a single prompt.

Actual Behavior
  • No autocomplete suggestions appear
  • The full skill name must be typed manually

Also:

Typing:

please use /skill-a

does not trigger autocomplete either.

Image Image Image
Steps to reproduce the issue
  1. Open the CLI
  2. Type:
/skill-a
  1. Select a suggested skill
  2. Continue typing:
 /skill-b
Command Code Version

0.25.7

Operating System

Windows

Terminal/IDE

Power shell

Shell

No response

Additional context

No response

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

按照列出的步骤在 CLI 中重现该问题,包括在普通文本后输入斜杠,以及选择第一个 skill 后再输入第二个 skill。跟踪 skill 自动补全的入口点,并验证在 Windows PowerShell 中,每个输入的斜杠都会显示建议,包括链式 skill。

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

评估

领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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