<< All versions

Skill v1.0.0

currentAutomated scan100/100
thienqo/flutter-skills/flutter-package-development
──Details
PublishedNovember 7, 2026 at 03:32 AM
Content Hashsha256:e5e11341a72fd406...
Git SHAd3ab0475bc0a
──Files
Files (1 file, 2.8 KB)
SKILL.md2.8 KBactive
SKILL.md · 48 lines · 2.8 KB

name: flutter-package-development description: Create, evolve, test, or prepare reusable Dart packages and Flutter plugins for distribution. Use when the package itself, its public API, platform support, federation, example app, compatibility, or publication readiness is the deliverable; route app-owned native bridges to flutter-platform-integration. metadata: version: "1.0.0"


Flutter Package Development

Treat reusable packages as versioned contracts consumed by independent projects. Preserve SDK bounds, package architecture, supported platforms, and release conventions unless migration is requested.

Preflight

Inspect pubspec.yaml, public exports, examples, tests, platform folders, CI, changelogs, and consumers. Choose the smallest viable shape:

  • Dart package for reusable Dart-only logic.
  • Flutter package for reusable widgets without native code.
  • Plugin or FFI package when native platform implementations are required.
  • Federated plugin only when independent platform ownership or release cadence justifies multiple packages.

Do not convert app-owned bridges into packages merely because code reuse is possible.

Load references conditionally

Boundaries

  • flutter-platform-integration owns app-side native code and low-level channel/FFI mechanics.
  • flutter-dependency-upgrades owns consumer-side package upgrades in an application.
  • flutter-build-release owns application stores and binary builds, not pub package publication.

Verification

Format, analyze, run tests, and exercise the example fixture across all claimed platforms. When publication readiness is in scope:

  • Run dart pub publish --dry-run and inspect all output, warnings, and included files. A passing dry run proves neither compatibility nor authorization.
  • Never publish, tag, or create releases without explicit user authorization. A conditional go-ahead ("publish if the dry run passes") does not cover changes you made after it: show the final diff and dry-run result, then ask before publishing.
  • When tool or repository access is missing, provide an executable review plan with clear pass/fail criteria covering metadata, license, changelog, and dry-run output rather than fabricating results.

Sources

All versions