claude-api skill description renders as multi-line in autocomplete

Resolved 💬 3 comments Opened Mar 26, 2026 by dmaynor Closed Mar 30, 2026

Problem

The claude-api built-in skill description contains a newline before the TRIGGER when: line, causing it to render as two lines in the slash command autocomplete dropdown:

/claude-api                     Build apps with the Claude API or Anthropic SDK.
TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`…

This makes the autocomplete list look messy compared to single-line skills.

Expected

The description should be a single line, e.g.:

/claude-api    Build apps with the Claude API or Anthropic SDK. Triggers when code imports anthropic/@anthropic-ai/sdk/claude_agent_sdk.

Context

Other skills with multi-line descriptions (like claudeception with its Triggers: line) have the same issue. I've fixed the ones I control locally, but claude-api is a built-in system skill so it needs to be fixed upstream.

Environment

  • Claude Code v2.1.84
  • macOS, 201-column terminal

View original on GitHub ↗

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