Skip to content

Migrate from dart_skills_lint to skills_lint - #9974

Open
reidbaker-agent wants to merge 2 commits into
flutter:masterfrom
reidbaker:migrate-skills-lint
Open

Migrate from dart_skills_lint to skills_lint#9974
reidbaker-agent wants to merge 2 commits into
flutter:masterfrom
reidbaker:migrate-skills-lint

Conversation

@reidbaker-agent

@reidbaker-agent reidbaker-agent commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The skills_lint code is moving out of flutter/agent-plugins to its own github repo skills_lint.dart.
Related to #9974


Agent authored description
Follows the migration guide in google/skills_lint.dart to migrate DevTools from dart_skills_lint to skills_lint.

Changes

  • Update tool/pubspec.yaml dependency to use skills_lint from https://github.com/google/skills_lint.dart.git.
  • Rename tool/dart_skills_lint.yaml to tool/skills_lint.yaml and update top-level YAML key to skills_lint:.
  • Rename .agents/skills/dart_skills_lint_ignore.json to .agents/skills/skills_lint_ignore.json.
  • Update tool/test/validate_skills_test.dart imports and config path.
  • Update .agents/scripts/validate_skills_hook.sh to use dart pub run skills_lint.

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@reidbaker-agent

Copy link
Copy Markdown
Contributor Author

cc @reidbaker for review

Comment thread .agents/scripts/validate_skills_hook.sh
Comment thread .agents/skills/adding-release-notes/scripts/add_note.dart
- Update tool/pubspec.yaml dependency from dart_skills_lint to skills_lint
- Rename tool/dart_skills_lint.yaml to tool/skills_lint.yaml and update root key
- Rename .agents/skills/dart_skills_lint_ignore.json to skills_lint_ignore.json
- Update validate_skills_test.dart imports and config file path
- Update validate_skills_hook.sh to use flutter pub run skills_lint
@reidbaker
reidbaker force-pushed the migrate-skills-lint branch from 141fba9 to a574df7 Compare August 24, 2026 15:34
@reidbaker
reidbaker marked this pull request as ready for review August 24, 2026 15:36
@reidbaker
reidbaker requested review from a team, kenzieschmoll and srawlins as code owners August 24, 2026 15:36

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project's skill validation tool from dart_skills_lint to skills_lint. This involves updating the validation hook script, the configuration file, dependencies in pubspec.lock and tool/pubspec.yaml, and the corresponding test file. The review feedback suggests using the modern dart run command instead of the deprecated dart pub run in the validation hook script.

Comment thread .agents/scripts/validate_skills_hook.sh Outdated

@pq pq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modulo the preferring dart run comment, LGTM!

Comment thread .agents/scripts/validate_skills_hook.sh Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2026
@auto-submit

auto-submit Bot commented Aug 24, 2026

Copy link
Copy Markdown

autosubmit label was removed for flutter/devtools/9974, because - The status or check suite ubuntu-latest test_ddc has failed. Please fix the issues identified (or deflake) before re-applying this label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants