Add evals for add-dart-lint-validation-rule#193
Merged
reidbaker merged 4 commits intoJul 23, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive evaluation framework for AI agent skills within the dart_skills_lint package. It adds a new run-evals skill, defines per-skill and cross-skill evaluation rubrics (including a shared code quality rubric), and implements a structural consistency test for all evals.json files. Feedback on the newly added test highlights potential issues with brittle path resolution when running tests from different directories, as well as overly strict schema validation that could make future updates fragile.
reidbaker
force-pushed
the
feature/add-dart-lint-validation-rule-evals
branch
from
July 23, 2026 18:25
af04805 to
5fde5e7
Compare
reidbaker
force-pushed
the
feature/add-dart-lint-validation-rule-evals
branch
from
July 23, 2026 19:00
9e73ef4 to
22dbac3
Compare
reidbaker
approved these changes
Jul 23, 2026
Contributor
|
/gemini-review |
reidbaker
marked this pull request as ready for review
July 23, 2026 19:06
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.
adding evals for the add-dart-lint-validation-rule skill.
This pr wasa blocked by #189
Evaluation Results
Evaluations were run to ensure that the updated
SKILL.mdinstructions correctly guide agents in creating custom validation rules, specifically focusing on correctly documenting CLI flags inREADME.mdwithout hallucinating prefixes.Eval 1:
RequireSpecificMetadataRuleRequireSpecificMetadataRulethat verifies metadata has arequired_versionfield.README.mdFlag:--[no-]require-specific-metadataRULES.md, added passing tests using an in-memorySkillContext, and perfectly adhered to the naming requirements for the flag inREADME.mdwithout hallucinating acheck-prefix.Eval 2:
FileExistenceRuleinfo.txtfile exists, using temp directories for testing.README.mdFlag:--[no-]file-existencefile-existenceflag pattern inREADME.md.Conclusion
The TDD-driven refinements to the
SKILL.mdfile (adding explicitCRITICAL FORMATTINGandCRITICAL NAMINGguidelines) successfully resolved the previous issues where agents hallucinated CLI flags. The subagents can now consistently author and document new lint rules cleanly.