Bug: document-skills:skill-creator crashes with 'description.split is not a function'
Resolved 💬 3 comments Opened Feb 7, 2026 by revoirsoftware Closed Feb 10, 2026
Description
The document-skills:skill-creator skill crashes when invoked, causing Claude Code to error with:
ERROR H.description.split is not a function. (In 'H.description.split(" ")', 'H.description.split' is undefined)
//root/claude:6199:11908
Root Cause
The skill-creator skill is calling the AskUserQuestion tool with question options that are missing the required description field. According to the AskUserQuestion schema, each option requires both label and description, but the skill is providing options without descriptions.
Steps to Reproduce
- Provide a prompt that mentions creating a skill (auto-triggers skill-creator)
- Example prompt: "Create a brand designer skill"
- Observe the crash before any questions are asked
Expected Behavior
The skill-creator skill should either:
- Provide valid
descriptionfields for all question options - Or handle this case gracefully
Actual Behavior
Claude Code crashes with a JavaScript error when the UI tries to render question options with undefined descriptions.
Impact
- Users cannot use the skill-creator skill at all
- Auto-triggering on skill-related prompts causes unexpected crashes
- Workaround: Manually create skills without using the skill-creator skill
Environment
- Claude Code CLI (latest version)
- macOS (Darwin 25.2.0)
Suggested Fix
The skill-creator skill needs to add description fields to all AskUserQuestion option objects before calling the tool.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗