dart-flutter
Official Claude plugin for Dart and Flutter that installs Flutter/Dart Skills and Dart MCP server for building natively compiled, visually stunning applications for mobile, web, desktop, and embedded devices from a single codebase
pinned to #141bccdupdated 3 days ago
Ask your AI client: “install plugins/dart-flutter”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/dart-fluttermetahub onboarded this repo on the author's behalf.
If you own github.com/flutter/agent-plugins on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
2,804
Last commit
3 days ago
Latest release
published
What's bundled
Items extracted from this plugin's manifest + directory tree.
Skills (22)
skills/dart-add-unit-testWrite and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.skills/dart-build-cli-appEntrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.skills/dart-collect-coverageCollect coverage using the coverage packge and create an LCOV reportskills/dart-fix-runtime-errorsUses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.skills/dart-generate-test-mocksDefine and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.skills/dart-migrate-to-checks-package|-skills/dart-resolve-package-conflictsWorkflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.skills/dart-run-static-analysisExecute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committi…
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.141bccd· 3 days ago
Documentation
8 passed1 warningTags / topics declaredwarn
No manifest tags and no GitHub repo topics
Add tags to the manifest (or GitHub topics on the repo) so the registry's search and category filters surface this artifact.
Description quality
33 words · 230 chars — "Official Claude plugin for Dart and Flutter that installs Flutter/Dart Skills an…"
README is present and substantial
6,158 chars · 5 sections · 8 code blocks
README has usage / example sections
found: Installation
Homepage / docs URL declared
https://github.com/flutter/agent-plugins
Description is substantive
Description is 33 words.
Documentation present and substantive
Documentation present (README.md, 806 words).
Homepage or repository declared
Homepage declared.
Documentation shows usage
Documentation includes 8 code examples.
Release history
1- releasecurrent141bccdwarn3 days ago
Contents
Flutter Agent Plugins
Agent plugins for Flutter, maintained by the Flutter team.
A collection of plugins designed to extend AI agent capabilities for Flutter development. These plugins bundle together skills, MCP server configuration, and rules to provide tailored workflows and instructions for happy path Flutter development. By giving the agent domain expertise and repeatable workflows, you drastically reduce mistakes and ensure agents reliably complete tasks following best practices.
Plugins can package various customizations together. A key component of these plugins is Agent Skills, which are simple folders of files that can be seen as complementary to MCP: where MCP gives an agent access to specialized tools, a Skill teaches the agent “how” to use tools for a specific task.
You can also install the Dart skills for Dart tasks.
Installation
To install the plugins into your project, run the following command.
The --agent universal flag puts them in the standard .agents/skills
folder that most agents use.
npx [email protected] add flutter/agent-plugins --skill '*' --agent universal --yes
Claude Code Plugin
- Add the marketplace for Claude Code plugins:
claude plugin marketplace add flutter/agent-plugins
- Install the Claude plugin for Dart and Flutter:
claude plugin install dart-flutter@dart-flutter
- Verify the installation:
claude plugin marketplace list
\n### Codex Plugin
Add the Dart and Flutter marketplace for Codex plugins:
codex plugin marketplace add flutter/agent-plugins
Install the Dart and Flutter plugin:
codex plugin add dart-flutter@dart-flutter
Cursor Plugin
You can test this plugin locally by copying it to your Cursor plugins directory.
- Copy the repository directory to your local Cursor plugins folder:
mkdir -p ~/.cursor/plugins/local
cp -r /path/to/flutter/agent-plugins ~/.cursor/plugins/local/dart-flutter
- Restart Cursor. The editor will automatically discover and load the skills under skills/ and configure the MCP server defined in .mcp.json.
Updating Plugins
To update, run the following command:
npx [email protected] update
Available Skills
| Skill | Description | Example prompt |
|---|---|---|
| flutter-add-integration-test | Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Use when adding integration testing to a project, exploring UI components via MCP, or automating user flows with the integration_test package. | Add an integration test that validates the checkout experience |
| flutter-add-widget-preview | Adds interactive widget previews to the project using the previews.dart system. Use when creating new UI components or updating existing screens to ensure consistent design and interactive testing. | Create a preview for the ProductCard widget with different price states |
| flutter-add-widget-test | Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected. | Add a widget test for the CustomButton to verify the onTap callback is called |
| flutter-apply-architecture-best-practices | Architects a Flutter application using the recommended layered approach (UI, Logic, Data). Use when structuring a new project or refactoring for scalability. | Refactor the authentication flow to follow the recommended layered architecture |
| flutter-build-responsive-layout | Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors. | Make the home screen responsive so it displays a grid on tablets and a list on phones |
| flutter-fix-layout-issues | Fixes Flutter layout errors (overflows, unbounded constraints) using Dart and Flutter MCP tools. Use when addressing "RenderFlex overflowed", "Vertical viewport was given unbounded height", or similar layout issues. | Fix the overflow error on the profile page when the keyboard is visible |
| flutter-implement-json-serialization | Create model classes with fromJson and toJson methods using dart:convert. Use when manually mapping JSON keys to class properties for simple data structures. | Implement JSON serialization for the User model class |
| flutter-setup-declarative-routing | Configure MaterialApp.router using a package like go_router for advanced URL-based navigation. Use when developing web applications or mobile apps that require specific deep linking and browser history support. | Set up GoRouter with paths for home, details, and settings |
| flutter-setup-localization | Add flutter_localizations and intl dependencies, enable "generate true" in pubspec.yaml, and create an l10n.yaml configuration file. Use when initializing localization support for a new Flutter project. | Setup localization and add English and Spanish translations |
| flutter-use-http-package | Use the http package to execute GET, POST, PUT, or DELETE requests. Use when you need to fetch from or send data to a REST API. | Use the http package to fetch the list of products from the API |
Contributing
We aren't accepting pull requests at this time, but we would love to hear your feedback!
Please see CONTRIBUTING.md for more information.
Code of Conduct
Please see CODE_OF_CONDUCT.md for more information.
Reviews
No reviews yet. Be the first.
Related
Superpowers
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
ECC
Harness-native ECC plugin for engineering teams - 63 agents, 249 skills, 79 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
mattpocock-skills
mattpocock-skills plugin bundle
mh install plugins/dart-flutter