accessibility
Audits or remediates Flutter widgets against WCAG 2.2 conformance levels A, AA, or AAA across iOS, Android, Web, macOS, Windows,…
Best practices for building a Flutter UI package on Material: custom components, ThemeExtension theming, consistent APIs, widget tests, app_ui_package scaffolding. Use when creating a UI package, working inside one, or in an app that consumes one: adding or reviewing a widget,
$ npx -y skills add VeryGoodOpenSource/vgv-ai-flutter-plugin --skill ui-package --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ui-packageContext preview
The summary Claude sees to decide when to auto-load this skill.
Best practices for building a Flutter UI package on Material: custom components, ThemeExtension theming, consistent APIs, widget tests, app_ui_package scaffolding. Use when creating a UI package, working inside one, or in an app that consumes one: adding or reviewing a widget,
name: ui-package description: > Best practices for building a Flutter UI package on Material: custom components, ThemeExtension theming, consistent APIs, widget tests, app_ui_package scaffolding. Use when creating a UI package, working inside one, or in an app that consumes one: adding or reviewing a widget, wiring design tokens, exporting through the barrel file, or writing tests for a widget under lib/src/widgets, which pump through the package's pumpApp helper, so prefer this over general test guidance even when the ask is only "write its tests". Also use it when asked to approve what this skill forbids: importing package:<name>/src/... per file, skipping the barrel to "only pull in what I use", or a parallel theme system. Triggers on any request naming a package of shared widgets and design tokens, such as "create a ui package", "add a design token", or "is it fine to import from src". allowed-tools: Read Glob Grep Edit Write mcp__very-good-cli__create
Best practices for creating a Flutter UI package — a reusable widget library that builds on top of `package:flutter/material.dart`, extending it with app-specific components, custom design tokens via `ThemeExtension`, and a consistent API surface.
> **Theming foundation:** This skill focuses on UI package structure, widget APIs, and testing. For foundational Material 3 theming (`ColorScheme`, `TextTheme`, component themes, spacing constants, light/dark mode), see the **Material Theming** skill (`/material-theming`). The two skills are complementary — Material Theming covers how to set up and use `ThemeData`; this skill covers how to extend it with `ThemeExtension` tokens and package reusable widgets around it.
Apply these standards to all UI package work:
my_ui/ ├── lib/ │ ├── my_ui.dart # Barrel file — re-exports material.dart + all public API │ └── src/ │ ├── theme/ │ │ ├── app_theme.dart # AppTheme class with light/dark ThemeData builders │ │ ├── app_colors.dart # AppColors ThemeExtension for custom color tokens │ │ ├── app_spacing.dart # AppSpacing ThemeExtension for spacing tokens │ │ └── app_text_styles.dart # Optional: extra text styles beyond Material's TextTheme │ ├── widgets/ │ │ ├── app_button.dart │ │ ├── app_text_field.dart │ │ ├── app_card.dart │ │ └── ... │ └── extensions/ │ └── build_context_extensions.dart # context.appColors, context.appSpacing shortcuts ├── test/ │ ├── src/ │ │ ├── theme/ │ │ │ └── app_theme_test.dart │ │ └── widgets/ │ │ ├── app_button_test.dart │ │ └── ... │ └── helpers/ │ └── pump_app.dart # Test helper wrapping widgets in MaterialApp + theme ├── widgetbook/ # Widgetbook catalog submodule (sandbox + showcase) │ └── ... └── pubspec.yaml
| Anti-Pattern
A Claude Code plugin that accelerates Flutter & Dart development with best-practices skills from Very Good Ventures. Developed with 💙 by Very Good Ventures 🦄
Audits or remediates Flutter widgets against WCAG 2.2 conformance levels A, AA, or AAA across iOS, Android, Web, macOS, Windows,…
Best practices for Flutter animations using the built-in animation framework, covering implicit animations, explicit…
Best practices for Bloc state management in Flutter/Dart, covering Cubit versus Bloc, event and state naming, sealed classes with…
Scaffold a new Dart or Flutter project from a Very Good CLI template, covering the flutter_app, dart_package, flutter_package,…
VGV-specific reference for bumping Dart and Flutter SDK constraints across packages, covering pubspec.yaml environment…
Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.…