swiftui-animation-workflow

swiftui-animation-workflow is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 112 tokens per session (1,788 once invoked), scanned A, original, Apache-2.0.

A guide to designing, implementing, fixing, and checking animations in SwiftUI, Apple’s framework for building app interfaces. It covers state changes, transitions, symbol effects, previews, and reduced-motion support.

In plain words
What is it for?
Use it when adding or repairing SwiftUI animations, transitions, animated symbols, or navigation motion, and when checking how they behave in previews or at runtime.
Why use it?
It helps avoid animations that trigger unexpectedly, fail to run, perform poorly, or ignore accessibility settings for people who prefer less motion.

Skill for Claude CodeCodex

Part of the apple-dev-skills plugin — 65 skills, 2 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gaelic-ghost/socket/swiftui-animation-workflow
Any agent
npx skills add gaelic-ghost/socket --skill swiftui-animation-workflow
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 65 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swiftui-animation-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/swiftui-animation-workflow.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/swiftui-animation-workflow)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/swiftui-animation-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/swiftui-animation-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,788 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00112 $0.01788
Opus 5 $0.00056 $0.00894
Sonnet 5 $0.00022 $0.00358
Haiku 4.5 $0.00011 $0.00179

Measured yesterday against content hash 6c74f6d88a7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

swiftui-animation-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/apple-dev-skills/skills/swiftui-animation-workflow/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SwiftUI Animation Workflow

Purpose

Use this skill to design, implement, repair, and validate SwiftUI motion that stays state-driven, accessible, and grounded in Apple documentation. The skill owns SwiftUI animation selection, transition decisions, phase/keyframe motion, symbol-effect routing, reduce-motion checks, and preview or runtime validation handoffs.

It is not the SwiftUI app architecture workflow, not the SF Symbols selection workflow, and not the Core Animation layer workflow.

When To Use

  • Use this skill when the user asks for SwiftUI animation, motion, transition, symbol-effect, or animated state-change guidance.
  • Use this skill when code uses withAnimation, animation(_:value:), binding animation, transaction, transition, contentTransition, matchedGeometryEffect, navigationTransition, PhaseAnimator, KeyframeAnimator, TimelineView, Canvas, or symbolEffect.
  • Use this skill when an animation is too broad, triggers unexpectedly, does not animate, ignores reduce-motion expectations, performs poorly, or mixes state ownership with side-effectful motion code.
  • Use this skill when the user wants a design choice between simple state animation, transition, matched geometry, phase animation, keyframes, timeline-driven rendering, or a handoff to lower-level rendering.
  • Recommend swiftui-app-architecture-workflow when the primary issue is ownership, scene structure, environment, focus, commands, or view composition rather than motion behavior.
  • Recommend sf-symbols-workflow when the primary issue is choosing, coloring, validating, or customizing the symbol itself.
  • Recommend xcode-build-run-workflow when the next step is preview, build, run, simulator, screenshot, or project-file validation.

Single-Path Workflow

  1. Classify the motion job:
    • simple state transition
    • insertion or removal transition
    • content transition inside a stable view
    • matched geometry or navigation transition
    • phase-based animation
    • keyframe animation
    • symbol effect
    • timeline or continuously updating drawing
    • performance or accessibility repair
  2. Apply the Apple docs gate:
    • read the relevant SwiftUI documentation first
    • state the documented behavior being relied on before recommending implementation
    • if Apple docs and the current code disagree, stop and surface the conflict
    • if no relevant Apple docs can be found, say that explicitly before proceeding
  3. Choose the smallest motion primitive that fits the job:
    • withAnimation for one user action where all dependent changes should share a transaction
    • animation(_:value:) for a specific view subtree reacting to a specific value
    • binding animation when the control binding is the intended animation boundary
    • transaction when the task needs to override or disable animation in a subtree
    • transition for view insertion or removal
    • contentTransition for content changes inside an existing view
    • matchedGeometryEffect or navigation transition when identity and geometry continuity matter
    • PhaseAnimator for discrete phase sequences
    • KeyframeAnimator for coordinated values with explicit timing
    • TimelineView or lower-level rendering only when the motion is genuinely time-driven
  4. Keep the data flow honest:
    • make animation derive from explicit state
    • avoid hidden timers, global animation state, and side effects inside frequently called animation closures
    • keep expensive work out of per-frame keyframe or timeline closures
    • keep architecture cleanup separate from motion cleanup unless the animation bug is caused by ownership confusion
  5. Check accessibility and comfort:
    • verify whether reduce-motion behavior should disable, simplify, or replace motion
    • preserve meaning without relying on motion alone
    • avoid repeated decorative motion unless the user or product explicitly wants it
  6. Return one recommendation path with:
    • the motion job class
    • chosen SwiftUI primitive
    • state trigger and animation boundary
    • accessibility behavior
    • documented SwiftUI behavior relied on
    • validation or handoff step

Read the full file on GitHub · 141 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 141 lines · 112 tokens per session scan A 6c74f6d88a7d

Subscribe to this mod's changes

swiftui-animation-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 112 tokens to every session and 1,788 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

app-store-optimization

Improves visibility and conversion in the App Store and Google Play — metadata, keywords, screenshots, ratings, and the listing experience that turns an impression into an install. Use this to audit or optimize an app listing, plan a launch listing, diagnose poor install conversion, or improve store search visibility.

cbrock84/headcount · 64 tokens

flutter-ui

Build Flutter UI from Figma MCP or image input. Scans src for design tokens (colors, sizes, text styles), existing components, and naming conventions before writing a single line of code. Never hard-codes values.

datit309/supergraph · 48 tokens

flutter-dart-code-review

Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.

datit309/supergraph · 56 tokens

setup

Start DeployGate onboarding — set up app distribution from first upload to team-wide deployment.

DeployGate/deploygate-agent-plugin · 18 tokens

pipeline

Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…

kardebadas/claude-plugin · 80 tokens

sdk-setup

Add the DeployGate SDK to your Android app for crash reporting and screen capture.

DeployGate/deploygate-agent-plugin · 19 tokens