kevmoo/dart-package-maintenance
|- Guidelines for maintaining external Dart packages, covering versioning, publishing workflows, and pull request management. Use when updating Dart packages, preparing for a release, or managing collaborative changes in a repository.
npx skills add https://github.com/kevmoo/dash_skills --skill dart-package-maintenance
Guidelines for maintaining Dart packages in alignment with Dart team best
practices.
To find maintenance tasks or inconsistencies:
Ensure the latest version in CHANGELOG.md matches pubspec.yaml:
CHANGELOG.md with the version: field inpubspec.yaml.
0.major.minor+patch.1.0.0 as soon as the package is stable.CHANGELOG.md orpubspec.yaml, ALWAYS check the currently released version (e.g., via
git tag or pub.dev).
that corresponds to a released tag.
pubspec.yamlmatches a released tag, increment the version (e.g., usually to -wip) and
create a new section in CHANGELOG.md.
CHANGELOG.md header must match the newpubspec.yaml version.
(e.g., 2.0.0-wip, 0.5.0-wip).
(e.g., 1.1.0-wip, 0.4.5-wip).
1.0.1-wip).CHANGELOG.md should focus on changesvisible to or impacting the end-user (e.g., new features, bug fixes,
breaking changes).
changes, or other modifications that do not affect the package's behavior
or API for the user.
pubspec.yaml and CHANGELOG.md with a -wip suffix (e.g., 1.1.0-wip).
downstream breakage.
-wip suffix from pubspec.yaml andCHANGELOG.md in a dedicated pull request.
dart pub publish (or flutter pub publish) and resolveall warnings and errors.
v1.2.3package_name-v1.2.3git tag v1.2.3 && git push --tagsupon merging.
main into the PR branch rather thanrebasing to resolve conflicts. This preserves the review history and comments.
gh pr checkout <number> to inspect changeslocally in your IDE.
Take kevmoo/dart-package-maintenance from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.