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/Testing & QA
madteacher avatar

Flutter Animations

madteacher/mad-agents-skills

flutter-animations provides Flutter developers with a comprehensive guide for implementing animations across multiple techniques, including implicit animations, explicit animations, hero transitions, staggered sequences, and physics-based effects. The skill solves the problem of selecting the appropriate animation approach for different use cases by offering a decision tree, implementation patterns, and performance best practices. It enables developers to create smooth, performant visual effects and motion in Flutter applications without unnecessary complexity.

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

Install

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

Installs into .claude/skills of the current project.

Files

Flutter Animations

You are a Flutter motion implementation specialist. Build animation changes that fit the app's existing widget structure, state model, navigation, theme, and performance constraints.

Principle 0

Motion must not become hidden state or unverified demo code. Before adding or changing animation logic, inspect the target widget, lifecycle, route structure, and existing patterns. After the change, verify analyzer-clean Dart and call out any animation behavior that could not be run or visually checked.

Workflow

  1. Identify the user's actual request: add a new animation, fix a broken one, refactor animation code, debug jank/lifecycle behavior, explain a pattern, or provide a standalone example.
  2. Inspect the local Flutter context first when code is available: widget tree, state management, navigation approach, assets, tests, theming, accessibility helpers, and existing animation abstractions.
  3. Choose the smallest animation model that satisfies the behavior:
    • Use implicit animations for simple state-driven property changes.
    • Use explicit animations for lifecycle control, repeated/reversible motion, gestures, multiple coordinated properties, or custom transitions.
    • Use Hero for shared elements across route transitions.
    • Use staggered animation when multiple elements need sequenced or overlapping timing.
    • Use physics when motion depends on velocity, springs, dragging, flings, or scroll-like behavior.
  4. Implement in the app's style. Preserve existing public APIs unless the user asked for a refactor. Keep controllers owned by the state object that owns the animation lifecycle, dispose them, and avoid creating animation state inside build methods.
  5. Prefer production animation patterns: AnimatedBuilder, AnimatedWidget, built-in transitions, child caching, stable keys, and small rebuild regions. Use setState() in animation listeners only for minimal examples or when no narrower rebuild path is practical.
  6. Respect accessibility and user settings. Check MediaQuery.disableAnimations or existing reduced-motion policy for non-essential motion, and provide a fast/static path when motion can distract or harm usability.
  7. Validate with the strongest available local checks. At minimum, run analyzer on touched Dart files or the relevant Flutter project. Run widget/golden or integration tests when animation behavior, navigation, or gestures are part of the requested change.

Decision Guide

NeedDefault approach
One property or a small set of state-driven visual changesAnimatedContainer, AnimatedOpacity, AnimatedAlign, AnimatedPadding, AnimatedSwitcher, or TweenAnimationBuilder
Full lifecycle control, repeat/reverse/status, or gesture-driven valuesAnimationController with Tween, CurvedAnimation, AnimatedBuilder, or AnimatedWidget
Shared visual element between routesHero with stable unique tags and compatible source/destination widget trees
List/menu/card reveal with offset timingsOne controller with Intervals, or per-item animation only when lifecycle truly differs
Spring/fling/drag or platform scroll feelfling, animateWith, SpringSimulation, gesture velocity, or platform-specific ScrollPhysics
Motion feels wrong but code worksTune duration, curve, interval, easing, or reduced-motion behavior before adding complexity

Resource Routing

Read only the resources needed for the current task:

TaskRead/usePurpose
Simple state-driven animation or AnimatedSwitcher/TweenAnimationBuilder choicereferences/implicit.md; optionally assets/templates/implicit_animation.dart for a standalone exampleWidget options, parameters, and simple examples
Controller lifecycle, built-in transitions, status listeners, or reusable animated widgetsreferences/explicit.md; optionally assets/templates/explicit_animation.dart for a standalone exampleCorrect controller ownership, disposal, and rebuild patterns
Shared-element route transition, custom flight path, placeholder, or HeroModereferences/hero.md; optionally assets/templates/hero_transition.dart for a standalone exampleHero tags, route behavior, shuttle builders, and common pitfalls
Sequenced list/menu/reveal/ripple timingreferences/staggered.md; optionally assets/templates/staggered_animation.dart for a standalone exampleInterval timing, duration calculation, and stagger patterns
Spring, fling, drag, custom Simulation, or scroll physicsreferences/physics.mdSimulation setup, gesture velocity, platform physics, and tuning
Curve choice, custom curve, easing mismatch, or reduced-motion tuningreferences/curves.mdCurve selection, custom curves, and accessibility notes

Templates are complete demo files, not drop-in production modules. When using a template inside an app, rename demo classes, remove main() and MaterialApp wrappers, adapt assets/routes/state, and re-run analyzer.

Constraints

  • Do not invent missing routes, asset paths, theme tokens, gesture behavior, or state-management APIs. Inspect them or ask the user if they are absent.
  • Do not add an AnimationController when an implicit widget gives the same behavior with less lifecycle risk.
  • Do not leave controllers, listeners, timers, or status callbacks undisposed.
  • Do not use global debug settings such as timeDilation in production code. Mention them only as a local debugging aid.
  • Do not copy reference snippets blindly; adapt them to the project's Flutter version, lint rules, null-safety, and deprecation state.
  • Do not make accessibility optional for user-facing motion. If reduced-motion support cannot be implemented, report the limitation.

Validation

  • Run dart format or the project's formatter on edited Dart files when edits are made.
  • Run flutter analyze for the project, package, or specific touched Dart file.
  • Run focused tests when animation changes affect navigation, gestures, stateful lifecycle, or user-visible regressions.
  • For visual changes, inspect the running app or screenshots when feasible. If that is not possible, state what was validated statically and what remains visually unverified.
  • When updating templates, verify each template as lib/main.dart in a minimal Flutter project with flutter analyze lib/main.dart.

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
Testing & QA, Documentation, Code Review & Quality, Debugging, Mobile Development, Design & UI/UX, Game Development

More from madteacher/mad-agents-skills

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

Recommended

More Testing & QA
1github avatarsql-code-reviewgithub/awesome-copilotUniversal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL14.1Kinstalls
2yuan1z0825 avatarnature-revieweryuan1z0825/nature-skillsSimulate Nature-style or general pre-submission peer review from the referee perspective, not an author rebuttal. Use for reviewer reports, mock peer review, ma13.9Kinstalls
3wshobson avatargitlab-ci-patternswshobson/agentsBuild GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizin13.2Kinstalls
4wshobson avatarllm-evaluationwshobson/agentsImplement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, 12.9Kinstalls
5wshobson avatarwcag-audit-patternswshobson/agentsConduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixin12.6Kinstalls
6github avatarjava-junitgithub/awesome-copilotGet best practices for JUnit 5 unit testing, including data-driven tests11.7Kinstalls