Description
Using a skill with an argument-hint field in the YAML frontmatter causes a React crash when typing the slash command (e.g., /career-coach).
Error
ERROR Minified React error #31; visit https://react.dev/errors/31?args[]=object%20with%20keys%20%7Btopic%7D
"Objects are not valid as a React child" — the UI fails to render the slash command preview.
Steps to Reproduce
Create a skill with argument-hint in the frontmatter:
---
name : my-skill
description : Some skill
argument-hint : [topic: foo | bar | baz]
---
Type /my-skill in the Claude Code input
React error EPIPE Crash When Running Claude Code in Python Project Directory #31 crashes the UI
Expected Behavior
The argument hint should render as helper text in the autocomplete dropdown, or at minimum be ignored without crashing.
Workaround
Remove the argument-hint line from skill frontmatter. The skill continues to work normally without it.
Environment
Claude Code v3.13.11
macOS Darwin 25.2.0
Description
Using a skill with an
argument-hintfield in the YAML frontmatter causes a React crash when typing the slash command (e.g.,/career-coach).Error
"Objects are not valid as a React child" — the UI fails to render the slash command preview.
Steps to Reproduce
argument-hintin the frontmatter:/my-skillin the Claude Code inputExpected Behavior
The argument hint should render as helper text in the autocomplete dropdown, or at minimum be ignored without crashing.
Workaround
Remove the
argument-hintline from skill frontmatter. The skill continues to work normally without it.Environment