Description
When using ai-devkit with Claude Code, the command list displayed by the / menu shows duplicate entries for certain skills (e.g., /simplify-implementation appears 5 times). This appears to be caused by how skill descriptions are registered and resolved by the Claude Code CLI.
Steps to Reproduce
- Install
ai-devkit and initialize it in a project
- Open Claude Code CLI in the project directory
- Type
/ to open the command list
Expected Behavior
Each skill/command should appear exactly once in the / command list, with its correct description.
Actual Behavior
Several commands appear multiple times with duplicated entries. For example:
/simplify-implementation appears 5 times — 4 entries with the full description from the skill file, and 1 entry with a shorter description "Simplify existing code to reduce complexity. (project)"
/review-requirements appears highlighted/bolded (possibly indicating a conflict)
See the attached screenshot for reference.
Screenshot
Environment
ai-devkit version: 0.25.0
- Claude Code CLI version: 2.1.70
- OS: Windows 11
Additional Context
This issue seems to stem from the fact that skill descriptions are being picked up from multiple sources (e.g., both the skill .md file and a separate command definition), causing the CLI to register the same command multiple times. A deduplication step when loading skill/command definitions might fix this.
Description
When using
ai-devkitwith Claude Code, the command list displayed by the/menu shows duplicate entries for certain skills (e.g.,/simplify-implementationappears 5 times). This appears to be caused by how skill descriptions are registered and resolved by the Claude Code CLI.Steps to Reproduce
ai-devkitand initialize it in a project/to open the command listExpected Behavior
Each skill/command should appear exactly once in the
/command list, with its correct description.Actual Behavior
Several commands appear multiple times with duplicated entries. For example:
/simplify-implementationappears 5 times — 4 entries with the full description from the skill file, and 1 entry with a shorter description"Simplify existing code to reduce complexity. (project)"/review-requirementsappears highlighted/bolded (possibly indicating a conflict)See the attached screenshot for reference.
Screenshot
Environment
ai-devkitversion: 0.25.0Additional Context
This issue seems to stem from the fact that skill descriptions are being picked up from multiple sources (e.g., both the skill
.mdfile and a separate command definition), causing the CLI to register the same command multiple times. A deduplication step when loading skill/command definitions might fix this.