fix(plugin-dev): add missing descriptions to AskUserQuestion option examples#23930
Open
leszekszpunar wants to merge 1 commit intoanthropics:mainfrom
Open
Conversation
…xamples Options in interactive-commands.md Pattern 2 used inline comma-separated format without descriptions, causing skill-creator to crash with 'description.split is not a function' when generating AskUserQuestion tool calls from these patterns. Convert all bare option lists to bulleted format with parenthetical descriptions, consistent with the AskUserQuestion tool schema and the rest of the reference document. Fixes anthropics#23855
mrmrcode
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
interactive-commands.mdthat were missing requireddescriptionfields, causingskill-creatorto crash withdescription.split is not a functionFixes #23855
Details
The
AskUserQuestiontool requires each option to have bothlabelanddescriptionfields. The reference documentinteractive-commands.mdis used by theskill-creatorskill to learn how to construct interactive commands. When the skill followed the Pattern 2 example (which used bare comma-separated strings likeoptions: Python, TypeScript, Go, Rust), it generated tool calls withoutdescriptionfields, causing the UI to crash ondescription.split("\n").Changes
Pattern 2: Multiple Configuration Questions (primary fix)
- options: Python, TypeScript, Go, Rust- Python (General-purpose, great for data and scripting)Multi-Select Guidelines - "Good multi-select use" example
Logging,Metrics,Alerts,BackupsoptionsCommon Patterns - Feature Selection
Authentication,Authorization,Rate Limiting,CachingoptionsTest plan
document-skills:skill-creatorand verify it no longer crashes when generating interactive commandsdescriptionfields for all options