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 摘要。