From d3ad8b524c6ee620c67ec90dcdea05066c2bf2c9 Mon Sep 17 00:00:00 2001 From: zakyirsyaad Date: Fri, 9 Oct 2026 10:54:29 +0700 Subject: [PATCH] fix: quote argument-hint values that YAML parses as arrays Three command files declared argument-hint with an unquoted flow sequence, so a strict YAML parse yields an array instead of a string. Harnesses that validate the field reject the whole file: Qwen Code drops the command with 'frontmatter: Expected string, received array' and the slash command silently disappears from the catalog. Quote all three to match the convention already used by plan-canvas.md, pr.md, prp-pr.md, plan-prd.md and the other argument-hint declarations in commands/. --- commands/code-review.md | 2 +- commands/cost-report.md | 2 +- commands/orch-review.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/code-review.md b/commands/code-review.md index 3e5e8ee61..9ec5c6dab 100644 --- a/commands/code-review.md +++ b/commands/code-review.md @@ -1,6 +1,6 @@ --- description: Code review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode). Use for a step-by-step PRP-style checklist review; for a multi-agent pass use /review-pr, and for the adversarially-verified Workflow pass use /orch-review. -argument-hint: [pr-number | pr-url | blank for local review] +argument-hint: "[pr-number | pr-url | blank for local review]" --- # Code Review diff --git a/commands/cost-report.md b/commands/cost-report.md index 87775981e..7c0b9dd92 100644 --- a/commands/cost-report.md +++ b/commands/cost-report.md @@ -1,6 +1,6 @@ --- description: Generate a local Claude Code cost report from the ECC cost-tracker metrics log. Use for a terminal summary or CSV export of tracked spend; the cost-tracking skill covers the same metrics log for on-demand cost/budget questions asked in conversation. -argument-hint: [csv] +argument-hint: "[csv]" --- # Cost Report diff --git a/commands/orch-review.md b/commands/orch-review.md index 8f942c50f..cb31173dc 100644 --- a/commands/orch-review.md +++ b/commands/orch-review.md @@ -1,6 +1,6 @@ --- description: Run the orch-review native Workflow over a diff (local changes or a GitHub PR) and report blocking vs advisory findings. Surface for the orch-review workflow. Use for a native-Workflow, adversarially-verified multi-dimension review with fan-out and dedup; for the step-by-step checklist pass use /code-review, and for the multi-agent pass use /review-pr. -argument-hint: [pr-number | pr-url | blank for local uncommitted changes] +argument-hint: "[pr-number | pr-url | blank for local uncommitted changes]" --- # /orch-review