iOS Animation Code Review for Openclaw

A specialized technical review agent that audits iOS animation code for performance, accessibility, and adherence to Apple's Human Interface Guidelines.

anderskev
v1.2.1
Apr 22, 2026
0
916
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ios-animation-code-review

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ios-animation-code-review using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is iOS Animation Code Review?

The iOS Animation Code Review skill is a high-precision tool designed for developers and teams utilizing Openclaw Skills to maintain elite standards in mobile motion design. It systematically analyzes .swift files to identify common pitfalls in SwiftUI and UIKit animations, ranging from improper spring parameter usage to critical performance bottlenecks like offscreen rendering.

By integrating deep knowledge of Apple's animation frameworks, this skill ensures that motion is not only beautiful but also accessible and performant. It focuses on modern APIs such as PhaseAnimator, KeyframeAnimator, and matchedGeometryEffect, while ensuring legacy UIKit and Core Animation implementations remain robust and interruptible.

iOS Animation Code Review Use Cases

  • Validating SwiftUI animation patterns to ensure withAnimation correctly wraps state changes rather than view declarations.
  • Auditing accessibility compliance by verifying that every animation includes a proper Environment(.accessibilityReduceMotion) fallback.
  • Identifying performance issues in complex views, such as missing shadowPath definitions or expensive blur animations in scrolling lists.
  • Ensuring gesture-driven animations preserve velocity and follow spatial expectations for a natural user experience.
  • Reviewing complex transitions and matchedGeometryEffect implementations to prevent view identity glitches.

How iOS Animation Code Review Works

  1. The agent performs an initial Inventory by scanning the codebase for specific animation APIs like .animation(), PhaseAnimator, or CABasicAnimation.
  2. It executes an Anchor step to verify the exact line ranges and symbols within the current file or diff hunk to avoid stale reporting.
  3. The skill performs an Evidence check, cross-referencing identified code against specialized knowledge bases for SwiftUI patterns, performance, and accessibility.
  4. Finally, it generates a structured Report, outputting findings in a strict [FILE:LINE] ISSUE_TITLE format followed by actionable remediation advice.

iOS Animation Code Review Setup

To enable this capability within your Openclaw Skills environment, ensure the reference documentation is available in your workspace and include the skill in your agent configuration:

# Ensure reference files are present
mkdir -p references
cp path/to/swiftui-animation-patterns.md references/

# Trigger a review on your animation files
openclaw review AnimatedView.swift --skill ios-animation-code-review

iOS Animation Code Review Data Schema & Taxonomy

The skill organizes its analysis using a strict taxonomy of issue types and reference mappings:

Issue Category Reference Documentation Core Focus
UI Patterns swiftui-animation-patterns.md Spring parameters, phase bugs, withAnimation scope
Performance performance.md Offscreen rendering, main thread blocking, frame drops
Accessibility accessibility.md Reduce Motion, VoiceOver, sensory feedback
Transitions transitions.md Transition protocol, geometry groups, matchedGeometryEffect

iOS Animation Code Review Advanced Features

  • Multi-framework support covering SwiftUI, UIKit (UIViewPropertyAnimator), and Core Animation (CABasicAnimation).
  • Strict 'Hard Gate' sequence to ensure high-signal reporting and prevent false positives in large diffs.
  • Contextual awareness of SF Symbol effects and system-provided motion to prevent redundant custom code.
  • Intelligent gesture analysis to verify animation interruptibility and velocity preservation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*