feat: add argument-hint + $ARGUMENTS to sdk-upgrade and analysis-upgrade skills#122
Merged
Conversation
…ade skills Both skills now declare an argument-hint in frontmatter and consume $ARGUMENTS in the body so an invoked version is used as the target: - dart-flutter-sdk-upgrade: hint "[flutter-version]"; $ARGUMENTS drives the target Flutter/Dart version resolution in step 0. - very-good-analysis-upgrade: hint "[version]"; $ARGUMENTS drives the target very_good_analysis version, falling back to the pub.dev latest. Closes #113 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
omartinma
approved these changes
Jul 1, 2026
Contributor
|
Sorry, I ran into an error while processing your request. Please try again later. |
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.
Description
Closes #113.
dart-flutter-sdk-upgradeandvery-good-analysis-upgradewere the only two upgrade skills that could not take a version as an argument. This adds anargument-hintto each skill's frontmatter and threads$ARGUMENTSinto the version-resolution step of each body, so an invoked version (e.g./very-good-analysis-upgrade 10.0.0) is used as the target, with the existing "look up latest" behavior as the fallback when no argument is passed.Changes
dart-flutter-sdk-upgrade—argument-hint: "[flutter-version]"; step 0 now resolves the target Flutter/Dart version from$ARGUMENTS, falling back to the latest stable when empty.very-good-analysis-upgrade—argument-hint: "[version]"; the "Before You Start" target-version step now reads$ARGUMENTS, falling back to the pub.dev latest when empty.No README or
plugin.jsonchanges: the skills already exist in the skills table and Usage list, and the Usage list does not show argument hints for any other arg-taking skill (/create-project,/testing,/accessibility).Acceptance criteria
Verification
markdownlint-cli2(repo config): 0 errorscspell(repo config): 0 issues🤖 Generated with Claude Code