claude-code - 💡(How to fix) Fix [FEATURE] Slash command picker: allow truncation as an option for long skill descriptions [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52674Fetched 2026-04-24 10:42:47
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Root Cause

Truncation was fine because the autocomplete is just a visual hint; I know what my own skills do. Wrapping to two lines makes the picker feel cluttered when I have many skills.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

In 2.1.119, the slash command picker changed from truncating long descriptions to wrapping them onto a second line. I'd prefer to have truncation back, or at minimum a way to control it.

Skill descriptions serve double duty: they're shown in the autocomplete UI, but they're also read by the model to decide when to auto-invoke a skill. This means keeping descriptions short for display purposes directly reduces triggering accuracy — they need to be verbose to work well.

Truncation was fine because the autocomplete is just a visual hint; I know what my own skills do. Wrapping to two lines makes the picker feel cluttered when I have many skills.

Proposed Solution

Add a config option (e.g. slashCommandDescriptionWrap: false) to restore truncation behavior, or support a separate short display label in SKILL.md frontmatter (e.g. display_description) distinct from the full description used for model triggering.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

extent analysis

TL;DR

Add a configuration option to control the description wrapping behavior in the slash command picker.

Guidance

  • Consider adding a slashCommandDescriptionWrap option to the configuration to allow users to toggle between truncation and wrapping.
  • Evaluate the trade-off between description length and triggering accuracy to determine the best approach for skill descriptions.
  • Investigate the possibility of supporting a separate display_description field in the SKILL.md frontmatter to decouple display text from the full description used for model triggering.
  • Assess the impact of description wrapping on the overall user experience, particularly with a large number of skills.

Notes

The ideal solution will depend on the specific requirements of the skill descriptions and the user interface. Further discussion may be needed to determine the best approach.

Recommendation

Apply workaround: Add a configuration option to control the description wrapping behavior, as this will provide the most flexibility for users to customize the behavior to their needs.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING