agentleFS
thiennc-tesoglobalthiennc-tesoglobal/flutter-skills/skills/flutter-animation/SKILL.md

flutter-animation

Skill16 starsChanged 2 months agoBSD-3-ClauseView on GitHub

Implement or diagnose Flutter motion with implicit, explicit, route, Hero, staggered, and physics-based animations. Use when timing, transition, or motion behavior is requested or broken; route optical materials, shaders, general layout, and performance profiling to their specialists.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use motion to explain state change, hierarchy, or continuity.

    line 8
  2. Distinctive:

    Use implicit animation for a small number of property changes controlled by state.

    line 14
  3. Very specific:

    Use an AnimationController when timing, sequencing, repetition, interruption, or multiple values require explicit ownership.

    line 15
  4. Very specific:

    Use Hero only when the same conceptual element persists across routes and tags remain unique.

    line 16
  5. Distinctive:

    Use custom painters or lower-level animation only when widget composition cannot express the result efficiently.

    line 17
  6. Distinctive:

    Do not animate layout-heavy properties across large subtrees without profiling.

    line 20
  7. Distinctive:

    Read platform accessibility preferences through the project-compatible Flutter API.

    line 24
  8. Distinctive:

    Test initial, in-progress, completed, reversed, interrupted, and reduced-motion states where relevant.

    line 28
  9. Distinctive:

    When motion patterns or reduced motion is in scope, follow the motion patterns and reduced motion reference.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Flutter Animation

Use motion to explain state change, hierarchy, or continuity. Keep it interruptible and accessible.

Own timing, interpolation, sequencing, stable identity, and interruption. Route blur, glass, refraction, shader uniforms, and optical layer composition to flutter-visual-effects; when both apply, animation state drives the effect rather than duplicating controller ownership inside the renderer.

Choose the mechanism

  • Use implicit animation for a small number of property changes controlled by state.
  • Use an AnimationController when timing, sequencing, repetition, interruption, or multiple values require explicit ownership.
  • Use Hero only when the same conceptual element persists across routes and tags remain unique.
  • Use custom painters or lower-level animation only when widget composition cannot express the result efficiently.
  • Preserve animation controllers in the state lifecycle that owns them and dispose them correctly.

Do not animate layout-heavy properties across large subtrees without profiling. Avoid stacking unrelated implicit animations that make timing hard to reason about.

Reduced motion

Read platform accessibility preferences through the project-compatible Flutter API. Replace nonessential motion with an immediate or low-motion transition while preserving meaning and task completion.

Verification

Test initial, in-progress, completed, reversed, interrupted, and reduced-motion states where relevant. Check for ticker leaks and profile complex motion in profile mode on a representative device.

When motion patterns or reduced motion is in scope, follow the motion patterns and reduced motion reference.

Sources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.