feat: add Dart 3.13 primary constructor guidance to skills - #167
Conversation
Closes #166 Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
|
This does not close #166. The issue asked for the examples to be updated. This PR adds prose to six skills and changes zero code examples. 1. Every example is untouched64 old-form constructors remain across 12 skill files. Six of those files got a new bullet here and not one example inside them changed, so each file now states a rule that the code below it violates.
The two files carrying most of the teaching weight, Two of the six skills that gained a bullet, 2.
|
|
@vgvbot update this PR based on a comments |
Co-authored-by: ryzizub <ryzizub@users.noreply.github.com>
Resolve the Core Standards conflict in skills/layered-architecture/SKILL.md by keeping both new bullets: this branch's import-boundary rule and the Dart 3.13 primary-constructor rule from VeryGoodOpenSource#167. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Adds Dart 3.13 primary constructor (
use_declaring_parameters) guidance across skill files and the lint-fixes reference, so the agent generates code that complies withvery_good_analysis11.0.0 lints enabled byvery_good_core1.6.0.Changes
accessibility,animations,bloc,internationalization,layered-architecture, andnavigationskillsvery-good-analysis-upgrade/references/lint-fixes.mdwith a dedicated section covering all four new constructor lints (use_declaring_parameters,unnecessary_type_name_in_constructor,unnecessary_primary_constructor_body,empty_container_bodies) with before/after examplesvery-good-analysis-upgradeskill footer to reference the new Dart 3.13 constructor rulesWhy
very_good_core1.6.0 targets Dart 3.13 andvery_good_analysis11.0.0 enables constructor lints that flag the classicthis.fieldinitializing-formal pattern. Without this guidance, the agent produces code that fails lint checks on projects using this baseline.Closes #166