Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

cc-slash-command-argument-hint-yaml

النجوم٠
التفرعات٠
آخر تحديث٢٩ يونيو ٢٠٢٦ في ٠٩:٥٩

Fix for Claude Code slash command frontmatter that fails to parse when `argument-hint:` is given square-bracketed placeholder values. Use when: (1) authoring `commands/<name>.md` files in a CC plugin and the frontmatter shows `argument-hint: [working-dir] [team-name]` or similar multi-token bracketed values; (2) a frontmatter-validation test (e.g. `yaml.safe_load(block)` over the SKILL/command frontmatter) raises `ScannerError` or `ConstructorError` complaining about flow sequences or "expected a mapping"; (3) the slash command silently doesn't appear in `/help` after install, or a plugin-marketplace test asserting the `description` field is present trips because the whole frontmatter parse blew up. The fix is to QUOTE the value as a single string. Covers the same trap for `commands/<name>.md` directly authored in CC format AND APM-managed marketplaces shipping commands via APM.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly