flutter-architecture 是做什么的?
使用 MVVM、分层 UI/数据/可选领域边界、功能优先或层优先项目结构、仓库、服务、依赖注入、Result 和 Command 模式、离线优先或乐观 UI 流程,来设计、重构、审查或实现 Flutter 应用架构。当被要求添加 Flutter 功能、审计层依赖、修复跨功能导入、迁移到功能优先、为 Flutter 项目选择架构,或创建可扩展、可维护的 Flutter 代码组织时使用。
设计、重构、审查或实现 Flutter 应用架构,支持 MVVM、分层 UI/数据/可选领域边界、功能优先或层优先项目结构、仓库、服务、依赖注入、Result 和 Command 模式、离线优先或乐观 UI 流程。
该技能专注于 Flutter 应用架构的设计、重构和实现。它基于 MVVM 模式,支持 UI、数据以及可选的领域(Domain)层的分层架构。用户可以采用功能优先(feature-first)或层优先(layer-first)的项目结构,并集成仓库(repositories)、服务(services)、依赖注入(dependency injection)等常见模式。此外,该技能还涵盖 Result 和 Command 模式、离线优先(offline-first)或乐观 UI(optimistic UI)数据流,适用于多种 Flutter 开发场景。当开发者需要为 Flutter 项目添加新功能、审计层依赖、修复跨功能导入、迁移到功能优先架构、选择架构方案或创建可扩展且易维护的代码结构时,此技能提供了专业的指导和建议。平台支持包括 Claude Code、Cursor 和 Codex 等 AI 代理工具。
npx skills add https://github.com/madteacher/mad-agents-skills/tree/main/skills/flutter-architecture使用 MVVM、分层 UI/数据/可选领域边界、功能优先或层优先项目结构、仓库、服务、依赖注入、Result 和 Command 模式、离线优先或乐观 UI 流程,来设计、重构、审查或实现 Flutter 应用架构。当被要求添加 Flutter 功能、审计层依赖、修复跨功能导入、迁移到功能优先、为 Flutter 项目选择架构,或创建可扩展、可维护的 Flutter 代码组织时使用。
This repo contains 3 individual skills — each has its own dedicated page.
Build, fix, review, and validate adaptive or responsive Flutter UIs for mobile, tablet, desktop, web, large screens, foldables, and mixed input devices. Use when creating breakpoint-driven layouts, responsive navigation, adaptive dialogs/lists/grids, keyboard/mouse/touch behavior, window-size decisions with MediaQuery or LayoutBuilder, or Capability and Policy patterns for platform-specific behavior.
Add, fix, refactor, debug, test, or explain Flutter animations and motion effects. Use when working with implicit animations such as AnimatedContainer, AnimatedOpacity, AnimatedSwitcher, and TweenAnimationBuilder; explicit animations using AnimationController, Tween, CurvedAnimation, AnimatedWidget, AnimatedBuilder, and built-in transitions; Hero/shared-element route transitions; staggered or sequenced animations; physics-based motion, gestures, springs, flings, scroll physics, curves, performance, accessibility, reduced motion, and animation lifecycle bugs.
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins. Use when adding unit tests, widget tests, integration tests, MethodChannel or plugin mocks, Mockito or mocktail test doubles, golden or accessibility checks, CI test commands, test failures, MissingPluginException, pump or pumpAndSettle problems, finder errors, build_runner mock generation, device integration testing, web integration testing, or flaky Flutter tests.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".