Skip to content

React error #31 when using skills with argument-hint frontmatter #25826

@Svishnum

Description

@Svishnum

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

  1. Create a skill with argument-hint in the frontmatter:
    ---
    name: my-skill
    description: Some skill
    argument-hint: [topic: foo | bar | baz]
    ---
  2. Type /my-skill in the Claude Code input
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions