Autocomplete suggestions missing commands from .claude/commands/

Resolved 💬 2 comments Opened Jan 28, 2026 by ochaoui Closed Feb 28, 2026

Description

When typing a slash command prefix (e.g., /gi), the autocomplete dropdown shows skills from .claude/skills/ but does not show commands from .claude/commands/.

Steps to Reproduce

  1. Create a command file in .claude/commands/git.md:

``yaml
---
name: git
description: Git operations (commit, PR, issues, branches)
allowed-tools: Skill, Bash, AskUserQuestion
---
``

  1. Have a skill with similar name (e.g., git-workflow in .claude/skills/)
  2. Type /gi in the CLI prompt
  3. Observe autocomplete suggestions

Expected Behavior

Both should appear in autocomplete:

  • /git (command from .claude/commands/git.md)
  • git-workflow (skill from .claude/skills/)

Actual Behavior

Only skills appear in the autocomplete suggestions. Commands are not suggested.

The command works when typed fully (/git), but users have no discoverability for their custom commands.

Environment

  • Claude Code version: 2.1.7
  • OS: Linux (WSL2)
  • Shell: bash

Impact

Users who create custom commands in .claude/commands/ cannot discover them via autocomplete, making the feature less useful and creating confusion between commands and skills.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗