Skip to content

feat(augmentcode): declare argument-hint and model command frontmatter fields - #1832

Merged
dyoshikawa merged 1 commit into
mainfrom
resolve-scrap-issue-1822-augmentcode-command-frontmatter
Jun 10, 2026
Merged

feat(augmentcode): declare argument-hint and model command frontmatter fields#1832
dyoshikawa merged 1 commit into
mainfrom
resolve-scrap-issue-1822-augmentcode-command-frontmatter

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Augment Code custom commands support three frontmatter fields — description, argument-hint, and model — per the official docs, but AugmentcodeCommandFrontmatterSchema declared only description. The other two were preserved only through looseObject passthrough and were never validated as first-class fields, unlike the Claude Code command adapter which declares both.

Change

  • Declare argument-hint and model as optional string fields on AugmentcodeCommandFrontmatterSchema (keeping z.looseObject so future fields still pass through).
  • Add a test asserting the two fields validate and that a wrong-typed model is rejected.

The round-trip logic is unchanged: toRulesyncCommand already preserves extra fields into the augmentcode: section, so the only behavioral change is that these two known fields are now type-checked.

Closes #1822

🤖 Generated with Claude Code

…r fields

Augment Code custom commands support `description`, `argument-hint`, and
`model` frontmatter fields, but AugmentcodeCommandFrontmatterSchema declared
only `description` (the other two survived only via looseObject passthrough).
Declare `argument-hint` and `model` as first-class optional string fields so
they are validated, mirroring the Claude Code command adapter.

Closes #1822

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dyoshikawa
dyoshikawa merged commit 5342341 into main Jun 10, 2026
9 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-scrap-issue-1822-augmentcode-command-frontmatter branch June 10, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Follow up AugmentCode upstream updates: command model/argument-hint frontmatter

2 participants