feat(augmentcode): declare argument-hint and model command frontmatter fields - #1832
Merged
dyoshikawa merged 1 commit intoJun 10, 2026
Merged
Conversation
…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
deleted the
resolve-scrap-issue-1822-augmentcode-command-frontmatter
branch
June 10, 2026 14:55
This was referenced Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Augment Code custom commands support three frontmatter fields —
description,argument-hint, andmodel— per the official docs, butAugmentcodeCommandFrontmatterSchemadeclared onlydescription. The other two were preserved only throughlooseObjectpassthrough and were never validated as first-class fields, unlike the Claude Code command adapter which declares both.Change
argument-hintandmodelas optional string fields onAugmentcodeCommandFrontmatterSchema(keepingz.looseObjectso future fields still pass through).modelis rejected.The round-trip logic is unchanged:
toRulesyncCommandalready preserves extra fields into theaugmentcode:section, so the only behavioral change is that these two known fields are now type-checked.Closes #1822
🤖 Generated with Claude Code