agent-plugins
3,172
Stars
189
Forks
22
Watchers
24
Open Issues
BSD-3-Clause
许可证
Dart
语言
2026-02-25
创建时间
2026-11-12
最近更新
项目能做什么
agent-plugins 是 Flutter 官方维护的 AI Agent 插件库,旨在解决 AI 在 Flutter 开发中缺乏领域经验、易出错的问题。核心功能是整合 Agent 技能与 MCP 配置,指导 AI 按最佳实践完成组件测试、集成测试、架构分层及响应式布局等任务。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# 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](https://github.com/dart-lang/skills) for Dart tasks. ## Installation Refer to [Get started developing with AI](https://docs.flutter.dev/ai/get-started) for detailed instructions on how to install the plugins for your preferred agent. ## Available Skills | Skill | Description | Example prompt | |---|---|---| | [flutter-add-integration-test](skills/flutter-add-integration-test/SKILL.md) | 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](skills/flutter-add-widget-preview/SKILL.md) | 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](skills/flutter-add-widget-test/SKILL.md) | 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](skills/flutter-apply-architecture-best-practices/SKILL.md) | 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](skills/flutter-build-responsive-layout/SKILL.md) | 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阅读完整原文
项目深度分析 AI 生成
Flutter 企业级专有组件 Agent 插件生成与托管平台
| 产品构想 | 基于本项目提出的 Agent Skills 与 MCP 规范,为企业内部自研的 Flutter Design System / SDK 自动生成结构化的 Skills 与 Context 提示词包,让企业内开发者在调用 AI Agent 时准确使用内部组件。 |
| 核心功能 | 代码解析 AST 自动提取组件属性及用法、一键输出符合 Agent Skills 规范的配置、版本同步更新插件、IDE 快速分发支持。 |
| 目标用户 | 拥有中大型 Flutter 内部基建的研发团队、软件外包团队。 |
| 难度/周期 | 中等 · 3 - 5 周 · 成本:低(基础云服务器、LLM API 调用成本) |
| 收费模式 | 按企业席位或项目数量按月收取 SaaS 订阅费。 |
| 竞争风险 | 官方未来可能在 Flutter CLI 中集成类似的半自动化 Skills 生成功能(推测)。 |
| 依据 | 已验证事实 |
基于 Agent Skills 的 Flutter 布局报错与适配自动化修复 Bot
| 产品构想 | 利用项目中 `flutter-fix-layout-issues` 和 `flutter-build-responsive-layout` 规则,集成至 GitHub Actions/GitLab CI,在 PR 触发 UI 测试或静态分析时,自动定位 RenderFlex 溢出并提交修复 PR。 |
| 核心功能 | CI 自动化捕获 Flutter 渲染异常、基于 MCP/Agent 规则自动重写受影响 Widget、自动生成响应式适配测试用例并提交 PR。 |
| 目标用户 | 追求高交付效率的 Flutter 团队、个人独立开发者。 |
| 难度/周期 | 高 · 6 - 8 周 · 成本:中(测试运行时环境、大量 LLM 生成成本) |
| 收费模式 | GitHub Marketplace 订阅,按修复 PR 数量或仓库数量收费。 |
| 竞争风险 | CI 环境运行 Flutter UI 测试成本较高,且复杂布局修复容易破坏原有业务意图(推测)。 |
| 依据 | AI推测 |
垂直领域 Flutter 高级架构与最佳实践 Skills 市场 (Marketplace)
| 产品构想 | 在官方基础 Skills(如路由、架构、测试)之上,制作并销售复杂商业场景的 Flutter Agent 技能包(如:支付网关接入、端上离线存储同步、复杂音视频播放器状态管理)。 |
| 核心功能 | 开箱即用的高阶商业场景 Agent Skills、配套 MCP Tools、包含测试与架构规范的开箱即用 Prompt 链。 |
| 目标用户 | Flutter 独立开发者、快速构建出海 App 的小型团队。 |
| 难度/周期 | 低 · 1 - 2 周 · 成本:极低(主要是内容编写与验证时间成本) |
| 收费模式 | 按技能包单次买断或会员订阅(Gumroad/专有分发平台)。 |
| 竞争风险 | 技能包属于纯文本配置或提示词工程,极易被盗版与复制传播(推测)。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2026-02-25,近 30 天仍在推送,发布过 1 个 Release |
| 社区活跃 | Star 3,172 / Fork 189 / Issue 24(数据支持,可自行核实) |
| 许可证 | BSD-3-Clause |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。