Files
claude-engineering-plugin/plugins/compound-engineering/commands/create-agent-skill.md
Brian Solon 8a530f7e25 fix: quote argument-hint values to prevent YAML object parsing
Unquoted bracket syntax in `argument-hint` frontmatter causes YAML to
parse the value as an array/mapping instead of a string literal. This
crashes Claude Code's tab-completion TUI with React error #31 ("Objects
are not valid as a React child") when the renderer tries to display the
hint.

Two commands affected:
- `heal-skill`: `[optional: ...]` parsed as `[{optional: "..."}]`
- `create-agent-skill`: `[skill ...]` parsed as `["skill ..."]`

Fix: wrap values in quotes, consistent with the other 18 commands in the
plugin that already quote their `argument-hint` values.

Ref: https://github.com/anthropics/claude-code/issues/29422
2026-02-27 16:43:51 -05:00

10 lines
313 B
Markdown

---
name: create-agent-skill
description: Create or edit Claude Code skills with expert guidance on structure and best practices
allowed-tools: Skill(create-agent-skills)
argument-hint: "[skill description or requirements]"
disable-model-invocation: true
---
Invoke the create-agent-skills skill for: $ARGUMENTS