agentsclimarketplace

Animate

Skill huyxoann/impeccable-flutter/.claude/skills/animate

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.From its SKILL.md

Install
npx -y skills add huyxoann/impeccable-flutter --skill animate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

20.2 KB, as published. Nobody here has run it

Designs and iterates production-grade frontend interfaces. Real working code, committed design choices, exceptional craft.

Setup

Before any design work or file edits:

  1. Load context (PRODUCT.md / DESIGN.md) via the loader script.
  2. Identify the register and load the matching register reference (brand.md or product.md).
  3. If the user invoked a sub-command (e.g. craft, shape, audit), load its reference file too. This is non-negotiable: craft without craft.md loaded means you'll skip the shape-and-confirm step the user expects.

Skipping these produces generic output that ignores the project.

1. Context gathering

Two files, case-insensitive. The loader looks at the project root by default and falls back to .agents/context/ and docs/ if the root is clean. Override with IMPECCABLE_CONTEXT_DIR=path/to/dir (absolute or relative to cwd).

  • PRODUCT.md: required. Users, brand, tone, anti-references, strategic principles.
  • DESIGN.md: optional, strongly recommended. ThemeData strategies, ColorScheme choices, TextTheme rules, elevation, standard paddings, and Flutter component blueprints.

Load both in one call:

# Claude Code plugins run from a global cache. Replace the relative path below
# with the absolute path to this plugin's scripts directory before running.
node .claude/skills/impeccable-flutter/scripts/load-context.mjs

Consume the full JSON output. Never pipe through head, tail, grep, or jq. The output's contextDir field tells you where the files were resolved from.

If the output is already in this session's conversation history, don't re-run. Exceptions requiring a fresh load: you just ran $impeccable-flutter init or $impeccable-flutter document (they rewrite the files), or the user manually edited one.

If PRODUCT.md is missing, empty, or placeholder ([TODO] markers, <200 chars): run $impeccable-flutter init, then resume the user's original task with the fresh context. If the original task was $impeccable-flutter craft, resume into $impeccable-flutter shape before any implementation work.

If DESIGN.md is missing: nudge once per session ("Run $impeccable-flutter document for more on-brand output"), then proceed.

2. Register

Every design task is brand (marketing, landing, campaign, long-form content, portfolio: design IS the product) or product (app UI, admin, dashboard, tool: design SERVES the product).

Identify before designing. Priority: (1) cue in the task itself ("landing page" vs "dashboard"); (2) the surface in focus (the page, file, or route being worked on); (3) register field in PRODUCT.md. First match wins.

If PRODUCT.md lacks the register field (legacy), infer it once from its "Users" and "Product Purpose" sections, then cache the inferred value for the session. Suggest the user run $impeccable-flutter init to add the field explicitly.

Load the matching reference: reference/brand.md or reference/product.md. The shared design laws below apply to both.

Shared design laws

Apply to every design, both registers. Match implementation complexity to the aesthetic vision: maximalism needs elaborate code, minimalism needs precision. Interpret creatively. Vary across projects; never converge on the same choices. GPT is capable of extraordinary work. Don't hold back.

Color

  • Use OKLCH. Reduce chroma as lightness approaches 0 or 100; high chroma at extremes looks garish.
  • Never use #000 or #fff. Tint every neutral toward the brand hue (chroma 0.005–0.01 is enough).
  • Pick a color strategy before picking colors. Four steps on the commitment axis:
    • Restrained: tinted neutrals + one accent ≤10%. Product default; brand minimalism.
    • Committed: one saturated color carries 30–60% of the surface. Brand default for identity-driven pages.
    • Full palette: 3–4 named roles, each used deliberately. Brand campaigns; product data viz.
    • Drenched: the surface IS the color. Brand heroes, campaign pages.
  • The "one accent ≤10%" rule is Restrained only. Committed / Full palette / Drenched exceed it on purpose. Don't collapse every design to Restrained by reflex.

Theme

Dark vs. light is never a default. Not dark "because tools look cool dark." Not light "to be safe."

Before choosing, write one sentence of physical scene: who uses this, where, under what ambient light, in what mood. If the sentence doesn't force the answer, it's not concrete enough. Add detail until it does.

"Observability dashboard" does not force an answer. "SRE glancing at incident severity on a 27-inch monitor at 2am in a dim room" does. Run the sentence, not the category.

Typography

  • Cap body line length at 65–75ch.
  • Hierarchy through scale + weight contrast (≥1.25 ratio between steps). Avoid flat scales.

Layout

  • Vary spacing for rhythm. Same padding everywhere is monotony.
  • Cards are the lazy answer. Use them only when they're truly the best affordance. Nested cards are always wrong.
  • Don't wrap everything in a container. Most things don't need one.

Motion

  • Don't animate CSS layout properties.
  • Ease out with exponential curves (ease-out-quart / quint / expo). No bounce, no elastic.

Absolute bans

Match-and-refuse. If you're about to write any of these, rewrite the element with different structure.

  • Side-stripe borders. border-left or border-right greater than 1px as a colored accent on cards, list items, callouts, or alerts. Never intentional. Rewrite with full borders, background tints, leading numbers/icons, or nothing.
  • Gradient text. background-clip: text combined with a gradient background. Decorative, never meaningful. Use a single solid color. Emphasis via weight or size.
  • Glassmorphism as default. Blurs and glass cards used decoratively. Rare and purposeful, or nothing.
  • The hero-metric template. Big number, small label, supporting stats, gradient accent. SaaS cliché.
  • Identical card grids. Same-sized cards with icon + heading + text, repeated endlessly.
  • Modal as first thought. Modals are usually laziness. Exhaust inline / progressive alternatives first.
  • The "GPT-border-and-shadow". Very thin (≤1px) borders combined with wide, soft, low-opacity shadows. A generic LLM "premium" look. If you use a shadow, it must be part of a defined elevation system or a deliberate, high-contrast glow.

Copy

  • Every word earns its place. No restated headings, no intros that repeat the title.
  • No em dashes. Use commas, colons, semicolons, periods, or parentheses. Also not --.
  • Banned "AI-isms" (Prose rules): Never use "powerful", "seamless", "robust", "comprehensive", "dive in", "at its core", "look no further", or "elevate". If a feature is powerful, describe what it does with a concrete number or fact. If it's seamless, show the simplified workflow.

The AI slop test

If someone could look at this interface and say "AI made that" without doubt, it's failed. Cross-register failures are the absolute bans above. Register-specific failures live in each reference.

Category-reflex check. Run at two altitudes; the second one catches what the first one misses.

  • First-order: if someone could guess the theme + palette from the category alone ("observability → dark blue", "healthcare → white + teal", "finance → navy + gold", "crypto → neon on black"), it's the first training-data reflex. Rework the scene sentence and color strategy until the answer isn't obvious from the domain.
  • Second-order: if someone could guess the aesthetic family from category-plus-anti-references ("AI workflow tool that's not SaaS-cream → editorial-typographic", "fintech that's not navy-and-gold → terminal-native dark mode"), it's the trap one tier deeper. The first reflex was avoided; the second wasn't. Rework until both answers are not obvious. The brand register's reflex-reject aesthetic lanes list catches the currently-saturated families.

Commands

CommandCategoryDescriptionReference
craft [feature]BuildShape, then build a feature end-to-endreference/craft.md
shape [feature]BuildPlan UX/UI before writing codereference/shape.md
initBuildSet up PRODUCT.md and DESIGN.md contextreference/init.md
documentBuildGenerate DESIGN.md from existing project codereference/document.md
extract [target]BuildPull reusable tokens and components into design systemreference/extract.md
critique [target]EvaluateUX design review with heuristic scoringreference/critique.md
audit [target]EvaluateTechnical quality checks (a11y, perf, responsive)reference/audit.md
polish [target]RefineFinal quality pass before shippingreference/polish.md
bolder [target]RefineAmplify safe or bland designsreference/bolder.md
quieter [target]RefineTone down aggressive or overstimulating designsreference/quieter.md
distill [target]RefineStrip to essence, remove complexityreference/distill.md
harden [target]RefineProduction-ready: errors, i18n, edge casesreference/harden.md
onboard [target]RefineDesign first-run flows, empty states, activationreference/onboard.md
animate [target]EnhanceAdd purposeful animations and motionreference/animate.md
colorize [target]EnhanceAdd strategic color to monochromatic UIsreference/colorize.md
typeset [target]EnhanceImprove typography hierarchy and fontsreference/typeset.md
layout [target]EnhanceFix spacing, rhythm, and visual hierarchyreference/layout.md
delight [target]EnhanceAdd personality and memorable touchesreference/delight.md
overdrive [target]EnhancePush past conventional limitsreference/overdrive.md
clarify [target]FixImprove UX copy, labels, and error messagesreference/clarify.md
adapt [target]FixAdapt for different devices and screen sizesreference/adapt.md
optimize [target]FixDiagnose and fix UI performancereference/optimize.md

Plus two management commands: pin <command> and unpin <command>, detailed below.

Routing rules

  1. No argument: Run the Smart Recommendation Engine. Analyze the git tree, recent commits, and any existing critique snapshots. Propose the single most high-value next step (e.g., "The git history shows many typography tweaks; run $impeccable-flutter typeset to consolidate" or "No PRODUCT.md found; run $impeccable-flutter init"). Render the table above as a fallback menu.
  2. First word matches a command: load its reference file and follow its instructions. Everything after the command name is the target.
  3. First word doesn't match: general design invocation. Apply the setup steps, shared design laws, and the loaded register reference, using the full argument as context.

Setup (context gathering, register) is already loaded by then; sub-commands don't re-invoke $impeccable-flutter.

If the first word is craft, setup still runs first, but reference/craft.md owns the rest of the flow. If setup invokes init as a blocker, finish init, refresh context, then resume the original command and target.

Pin / Unpin

Pin creates a standalone shortcut so $<command> invokes $impeccable-flutter <command> directly. Unpin removes it. The script writes to every harness directory present in the project.

# Claude Code plugins run from a global cache. Replace the relative path below
# with the absolute path to this plugin's scripts directory before running.
node .claude/skills/impeccable-flutter/scripts/pin.mjs <pin|unpin> <command>

Valid <command> is any command from the table above. Report the script's result concisely. Confirm the new shortcut on success, relay stderr verbatim on error.in** removes it. The script writes to every harness directory present in the project.

# Claude Code plugins run from a global cache. Replace the relative path below
# with the absolute path to this plugin's scripts directory before running.
node .claude/skills/impeccable-flutter/scripts/pin.mjs <pin|unpin> <command>

Valid <command> is any command from the table above. Report the script's result concisely. Confirm the new shortcut on success, relay stderr verbatim on error.

Specific Instructions: animate

Additional context needed: performance constraints and target devices (mobile vs desktop).

Add motion that conveys state, gives feedback, and clarifies hierarchy. Cut motion that exists only for decoration. Animation fatigue is a real cost; spend the budget on the moments that need it.


Register

Brand: orchestrated page-load sequences, staggered reveals, scroll-driven animation. Motion is part of the voice; one well-rehearsed entrance beats scattered micro-interactions.

Product: 150–250 ms on most transitions. Motion conveys state: feedback, reveal, loading, transitions between views. No page-load choreography; users are in a task and won't wait for it.


Assess Animation Opportunities

Analyze where motion would improve the experience:

  1. Identify static areas:

    • Missing feedback: Actions without visual acknowledgment (button taps, form submission, etc.)
    • Jarring transitions: Instant state changes that feel abrupt (show/hide, route changes in Navigator)
    • Unclear relationships: Spatial or hierarchical relationships that aren't obvious
    • Lack of delight: Functional but joyless interactions
    • Missed guidance: Opportunities to direct attention or explain behavior
  2. Understand the context:

    • What's the personality? (Playful vs serious, energetic vs calm)
    • What's the performance budget? (Low-end Android? 120Hz iOS device?)
    • Who's the audience? (Motion-sensitive users? Power users who want speed?)
    • What matters most? (One hero animation vs many micro-interactions?)

If any of these are unclear from the codebase, STOP and ask the user to clarify what you cannot infer.

CRITICAL: Respect MediaQuery.disableAnimationsOf(context). Always provide non-animated alternatives for users who need them.

Plan Animation Strategy

Create a purposeful animation plan:

  • Hero moment: What's the ONE signature animation? (Page load? Hero section? Key interaction?)
  • Feedback layer: Which interactions need acknowledgment?
  • Transition layer: Which state changes need smoothing?
  • Delight layer: Where can we surprise and delight?

IMPORTANT: One well-orchestrated experience beats scattered animations everywhere. Focus on high-impact moments.

Implement Animations

Add motion systematically across these categories:

Entrance Animations

  • Page load choreography: Stagger element reveals using flutter_animate's interval property (50-100ms delays), fade + slide combinations.
  • Hero section: Dramatic entrance for primary content (scale, parallax, or custom ShaderMask effects).
  • Content reveals: Scroll-triggered animations using Slivers or VisibilityDetector.
  • Modal/drawer entry: Smooth slide + fade via showModalBottomSheet's transition builder.

Micro-interactions

  • Button feedback:
    • Tap: Quick scale down then up (0.95 → 1) using InkResponse or custom GestureDetector.
    • Loading: CircularProgressIndicator sized to the text, or a subtle pulse state.
  • Form interactions:
    • Input focus: OutlineInputBorder color transition, slight scale or glow.
    • Validation: Shake on error (using flutter_animate .shake()), smooth color transitions.
  • Toggle switches: Smooth slide + color transition (200-300ms) using AnimatedContainer or Switch.

State Transitions

  • Show/hide: AnimatedOpacity + AnimatedSlide (not instant), appropriate timing (200-300ms).
  • Expand/collapse: AnimatedSize or ExpansionPanel for height transitions.
  • Loading states: Skeleton screens (e.g., skeletonizer package), progress bars.
  • Success/error: Color transitions, icon animations, gentle scale pulse.

Navigation & Flow

  • Page transitions: CupertinoPageTransition or custom PageRouteBuilder for shared element transitions (Hero widgets).
  • Tab switching: TabBarView slide indicator, content fade/slide.
  • Scroll effects: SliverAppBar parallax layers, sticky headers with state changes.

Technical Implementation

Use appropriate techniques for each animation. We strongly recommend the flutter_animate package for declarative, chainable animations, and explicit AnimationControllers only when complex orchestration is required.

Timing & Easing

Durations by purpose:

  • 100-150ms: Instant feedback (button tap, toggle)
  • 200-300ms: State changes (hover, menu open)
  • 300-500ms: Layout changes (accordion, modal)
  • 500-800ms: Entrance animations (page load)

Easing curves (use these, not Flutter's default Curves.ease):

/* Recommended: natural deceleration */
Curves.easeOutQuart    // Smooth
Curves.easeOutQuint    // Slightly snappier
Curves.easeOutExpo     // Confident, decisive

/* AVOID: feel dated and tacky */
// Curves.bounceOut
// Curves.elasticOut

Exit animations are faster than entrances. Use ~75% of enter duration.

Flutter Implementation Examples

// The flutter_animate way (Highly Recommended)
Text("Hello").animate().fade(duration: 300.ms).slideY(begin: 0.2, curve: Curves.easeOutQuart);

// Staggered list
Column(
  children: items.animate(interval: 50.ms).fade().slideX(),
);

// Built-in implicit animations (Good for state changes)
AnimatedContainer(
  duration: const Duration(milliseconds: 250),
  curve: Curves.easeOutQuart,
  color: isActive ? primaryColor : Colors.transparent,
);

Performance

  • Avoid SaveLayer: Be careful with Opacity and ShaderMask wrapped around large subtrees as they can force expensive offscreen rendering buffers. Use AnimatedOpacity which is optimized.
  • Use Transform: Scaling and translating via Transform is GPU-accelerated and much cheaper than animating width or height inside a layout.
  • Monitor FPS: Ensure 60fps (or 120fps on ProMotion devices) by checking the Flutter Performance overlay.

Accessibility

// Check user preference
final disableAnimations = MediaQuery.disableAnimationsOf(context);

if (disableAnimations) {
  // Return static widget or simple cross-fade
}

NEVER:

  • Use Curves.bounceOut or Curves.elasticOut easing curves; they feel dated and draw attention to the animation itself.
  • Animate layout constraints casually (width, height, padding) when Transform would work, unless explicitly expanding/collapsing content via AnimatedSize.
  • Use durations over 500ms for feedback (it feels laggy).
  • Animate without purpose (every animation needs a reason).
  • Ignore MediaQuery.disableAnimationsOf(context) (this is an accessibility violation).
  • Block the UI thread with heavy synchronous calculations during an animation.

Verify Quality

Test animations thoroughly:

  • Smooth at 60/120fps: No jank on target devices (Profile mode, not Debug).
  • Feels natural: Easing curves feel organic, not robotic.
  • Appropriate timing: Not too fast (jarring) or too slow (laggy).
  • Reduced motion works: Animations disabled or simplified appropriately.
  • Doesn't block: Users can interact during/after animations.

When the motion clarifies state instead of decorating it, hand off to $impeccable-flutter polish for the final pass.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.