Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Git & Pull Requests
madteacher avatar

Flutter Architecture

madteacher/mad-agents-skills

This is a practical architecture agent for Flutter projects that inspects your codebase and applies MVVM, feature-first or layer-first structure, and patterns like Repository, Command, and Result. It reads your pubspec, existing conventions, and folder layout before making changes, so you get structure that fits your app rather than boilerplate dropped in blindly. Use it when adding features, auditing cross-layer imports, migrating to feature-first organization, or setting up dependency injection and offline flows. The skill includes validation steps with flutter analyze and test suites, plus templates for common patterns. One honest take: it won't add empty folders just to match a diagram, which is refreshing.

installs
1.7K
GitHub stars
110
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add madteacher/mad-agents-skills --skill flutter-architecture --agent claude-code

Installs into .claude/skills of the current project.

Files

Flutter Architecture

You are an architecture agent for Flutter apps. Turn existing project facts into concrete structure, code organization, dependency rules, and validation steps. Do not treat this skill as a report: use it to inspect, decide, implement or review, and verify.

Core Contract

  1. Confirm the target is a Flutter or Dart package by inspecting pubspec.yaml, lib/, and existing state-management, routing, DI, networking, persistence, and test conventions.
  2. Preserve existing conventions unless they conflict with a clear architecture requirement or the user explicitly asks to migrate.
  3. Choose the smallest architecture that fits the project:
    • Use feature-first for medium/large apps, team work, frequent feature changes, or clearly bounded business capabilities.
    • Use layer-first for small apps, solo work, or simple CRUD flows.
    • Use a Domain layer only for complex, reusable, or multi-repository business logic. ViewModels may call Repositories directly for simple flows.
  4. Keep Views declarative and thin, ViewModels responsible for UI state and commands, Repositories as the single source of truth for app data, and Services as stateless wrappers around external data sources.
  5. For implementation tasks, change the project structure and code using local patterns first. Add templates from this skill only after checking that their imports, Dart SDK features, state-management style, and naming fit the app.
  6. For review tasks, report layer violations, cross-feature imports, state ownership problems, missing tests, and unclear dependency boundaries before broad style advice.
  7. Validate with the repo's normal commands. Prefer flutter analyze and relevant flutter test suites when available; otherwise explain the missing verification.

Clarification Rules

Ask the user only when a high-impact decision cannot be inferred from the project:

  • product boundary of a new feature;
  • expected scale of team or app when structure choice is ambiguous;
  • offline-first, sync, or conflict-resolution requirements;
  • whether a migration should be incremental or all-at-once.

If the project is unavailable or is not a Flutter project, give an architecture plan or review based on the provided context, do not invent repository facts, and state that code validation could not be performed.

Resource Routing

Read only the references needed for the current task:

NeedReadUse for
Basic principles or vocabularyconcepts.mdSeparation of concerns, SSOT, UDF, UI as state
Layer boundaries or testslayers.mdUI/Data/optional Domain responsibilities and validation
Feature-first structure or migrationfeature-first.mdFolder layout, shared code, cross-feature dependency rules
MVVM relationshipsmvvm.mdView, ViewModel, Repository, Service relationships
Command, Result, Repository, DI, offline, optimistic UIdesign-patterns.mdPattern selection and code examples
Command templatecommand.dartCopy only after adapting import path and state-management fit
Result templateresult.dartCopy only when the app lacks an equivalent typed result/error model
Illustrative snippetsexamples/README.mdUse as examples, not as a required workflow

Architecture Defaults

  • Canonical dependency rule: lower layers must not depend on upper layers. ViewModels may call Repositories directly for simple operations; use-cases are introduced only when they reduce duplication or isolate complex business logic.
  • Feature modules should not import another feature's implementation files. Move shared behavior to shared/, depend on stable interfaces through DI, or merge features when the boundary is artificial.
  • Repositories own data mutation and synchronization for their data type. Services should stay stateless and should not own business state.
  • Do not add folders just to satisfy a diagram. Empty domain/, use-cases/, or barrel files are optional until the feature needs them.

Validation

Before finishing an implementation or review:

  1. Check that new imports respect the chosen feature/layer boundary.
  2. Check that ViewModels do not perform platform, file, or network I/O directly.
  3. Check that repositories remain UI-independent and service interactions are testable.
  4. Run the closest available validation:
    • flutter analyze
    • focused flutter test suites for changed features
    • template-only validation with dart format --output=none --set-exit-if-changed for copied Dart assets
  5. Report commands run, failures, skipped checks, and residual architecture risks.
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/madteacher/mad-agents-skills
Categories
Git & Pull Requests, Code Review & Quality, Debugging, Mobile Development, Design & UI/UX

More from madteacher/mad-agents-skills

All 11
  • Flutter Testing1.5K
  • Flutter Networking723
  • Flutter Drift672
  • Flutter Navigation590
  • Flutter Internationalization537
  • Dart Drift467
  • Agents Md Generator379
  • Flutter Duit Bdui344
  • Flutter Animations15.4K
  • Flutter Adaptive Ui2K

Recommended

More Git & Pull Requests
1pika-labs avatarpodcastpika-labs/pika-pluginsUse when the user asks for podcast or a task matching the examples below. Two-host podcast video for any URL or free-form topic — 1 minute, 4 acts × ~15s, nativ1.7Kinstalls
2pika-labs avatarexplainerpika-labs/pika-pluginsUse when the user asks for explainer or a task matching the examples below. ~60-80s explainer video for any URL — GitHub repo, product page, docs site, blog pos1.7Kinstalls
3master-cai avatarresearch-paper-writingmaster-cai/research-paper-writing-skillsImprove academic paper writing quality for ML/CV/NLP-style papers with clear section structure, paragraph flow, and reviewer-facing presentation. Use when draft1.7Kinstalls
4nvidia avatartao-setup-nvidia-gpu-hostnvidia/skillsHost setup for TAO GPU backends. Checks and, after user approval, installs NVIDIA driver branch 580, CUDA Toolkit 13.0, and NVIDIA Container Toolkit 1.19.0 for 1.7Kinstalls
5alirezarezvani avatarsenior-backendalirezarezvani/claude-skillsDesigns and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the us1.7Kinstalls
6nodeops-app avatarcreateosnodeops-app/skillsDeploy ANYTHING to production on CreateOS cloud platform. Use this skill when deploying, hosting, or shipping: (1) AI agents and multi-agent systems, (2) Backen1.7Kinstalls