| name | description | user-invocable |
|---|---|---|
flutter-package |
Use this skill whenever adding, installing, or updating a Flutter/Dart package in pubspec.yaml. Always check pub.dev for the latest version before adding any package. |
false |
IMPORTANT: Before adding ANY Flutter or Dart package to pubspec.yaml, you MUST:
- Look up the latest version on pub.dev by fetching:
https://pub.dev/packages/{package_name} - Extract the latest stable version from the page
- Use that exact version with a caret constraint (e.g.,
^1.2.3) inpubspec.yaml
Never guess or use an outdated version. Always verify on pub.dev first.
If adding the package in_app_review:
- Fetch
https://pub.dev/packages/in_app_review - Find the latest version (e.g.,
2.0.9) - Add to
pubspec.yaml:in_app_review: ^2.0.9
- Always use
WebFetchto checkhttps://pub.dev/packages/{package_name}before adding a dependency - Use caret syntax (
^) unless the user specifies otherwise - If the package does not exist on pub.dev, inform the user before proceeding
- When adding multiple packages, check all of them on pub.dev