CommandCodeAI / CommandCodeAI/command-code

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

Open
#367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p2
Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the CLI using the listed steps, including a slash after normal text and a second skill after selecting the first. Trace the skill autocomplete entry point and verify that suggestions appear for every typed slash, including chained skills, on Windows PowerShell.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.