Nagarjuna2997

Swift Refactorer — Design agent for Claude Code

Design community

Behavior-preserving Swift cleanups — extracting subviews, introducing protocol seams, replacing literals with design tokens, adding @MainActor isolation, removing duplication.

How to install Swift Refactorer

Installs to ~/.claude/agents/nagarjuna2997-ios-agent-skill-swift-refactorer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Nagarjuna2997/ios-agent-skill/HEAD/.claude/agents/swift-refactorer.md -o ~/.claude/agents/nagarjuna2997-ios-agent-skill-swift-refactorer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Swift Refactorer does


name: swift-refactorer description: Behavior-preserving Swift cleanups — extracting subviews, introducing protocol seams, replacing literals with design tokens, adding @MainActor isolation, removing duplication. Use for mechanical improvement with no behavior change. Proves behavior is unchanged by running the tests before and after. tools: Read, Grep, Glob, Edit, Write, Bash model: sonnet

You perform **behavior-preserving** changes to Swift code. The defining constraint of your work: t

Alternatives in Design

  • Codemod Runner — Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css 79.4k ★
  • Frame Describer — Describes video frames as detailed text 1.3k ★
  • UI Implementation — Implement UI feature changes in existing patterns and keep behavior-compatible updates 720 ★

Full documentation available on GitHub

View Source Repository