Skip to content

feat: migrate from dart_skills_lint to skills_lint package - #226

Merged
reidbaker merged 5 commits into
flutter:mainfrom
reidbaker:migrate-dart-skills-lint-to-skills-lint-pkg
Aug 24, 2026
Merged

feat: migrate from dart_skills_lint to skills_lint package#226
reidbaker merged 5 commits into
flutter:mainfrom
reidbaker:migrate-dart-skills-lint-to-skills-lint-pkg

Conversation

@reidbaker

@reidbaker reidbaker commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

This pr was agent authored but it modifies a workflow and reidbaker-agent does not have workflow scope.
The skills_lint code is moving out of this repo to its own github repo github.com/google/skills_lint.dart.
While working the agent found a duplicate test code so I removed that as well.


Agent authored description
Migrates from the legacy dart_skills_lint package to the standalone skills_lint package hosted in google/skills_lint.dart, updating configurations, test imports, workspace definitions, and CI path triggers.

@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 removes the local dart_skills_lint package from the workspace and migrates the repository to use the external skills_lint package from GitHub. The configuration file has been updated to use the skills_lint key, and all imports in custom rules and tests have been updated accordingly. I have no feedback to provide as there are no review comments.

@reidbaker
reidbaker force-pushed the migrate-dart-skills-lint-to-skills-lint-pkg branch from cf7da2d to 93fb0ef Compare August 21, 2026 21:03
Comment thread .github/workflows/skills_tool.yaml Outdated
Comment thread .github/workflows/skills_tool.yaml Outdated
final errors = <ValidationError>[];
final yaml = context.parsedYaml;
if (yaml == null) return errors;
if (yaml == null) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Intentional change to make this rule better handle edge cases. It should not pass on a malformed frontmatter.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is some annoying directory manipulation in this test. I filed google/skills_lint.dart#2 to make it better in the future and the naive solution failed if you ran the test from the root instead of from the generator directory.

@reidbaker
reidbaker requested a review from johnpryan August 24, 2026 15:47
await runner.run(['validate-skill', configFile.path]);
}, getCurrentDirectory: () => tempDir);

expect(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was a duplicate line. I also think there are duplicate tests but decided to keep my change in this file to only the duplicate validation.

@reidbaker
reidbaker marked this pull request as ready for review August 24, 2026 15:48
@reidbaker
reidbaker merged commit f8408b8 into flutter:main Aug 24, 2026
11 checks passed
@reidbaker
reidbaker deleted the migrate-dart-skills-lint-to-skills-lint-pkg branch August 24, 2026 15:59
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.

3 participants