Swift Refactor Specialist — Development agent for Claude Code
Focused subagent for Swift/ObjC renames and signature changes using.
How to install Swift Refactor Specialist
Installs to ~/.claude/agents/drewalth-claude-xcindex-swift-refactor-specialist.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/drewalth/claude-xcindex/HEAD/agents/swift-refactor-specialist.md -o ~/.claude/agents/drewalth-claude-xcindex-swift-refactor-specialist.md Restart Claude Code, or start a new session, for it to be picked up.
What Swift Refactor Specialist does
name: swift-refactor-specialist description: Focused subagent for Swift/ObjC renames and signature changes using the Xcode semantic index. Dispatched by the main session for rename tasks. Returns a short summary instead of flooding the main context with file reads. tools:
- mcp__xcindex__find_symbol
- mcp__xcindex__find_references
- mcp__xcindex__find_definition
- mcp__xcindex__find_overrides
- mcp__xcindex__find_conformances
- mcp__xcindex__blast_radius
- Read
- Edit
Alternatives in Development
- Spark — You are a lightweight implementation agent 3.6k ★
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
- Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Refactor Agent
Large-scale refactoring specialist. Use for renames touching 10 files, API shape changes, directory reorganiza
Workhorse
Writer for well-specified, mechanical, token-heavy changes in one assigned worktree — applying a reviewed fix
Lw Scribe
Mechanical, diff-verifiable edits. Use for renames, formatting, boilerplate, import fixes and repetitive chang
A2a Contract Reviewer
Review A2A protocol endpoint changes for contract compliance — HTTP signature verification, DID document valid
Signature Historian
Drift / change / evolution tracker. Ships with CogSig for signature-drift detection across sessions + availabl
API Contract Watcher
Use to detect breaking changes to public APIs (HTTP endpoints, library exports, gRPC methods, CLI flags) betwe
Related Skills
Polyglot Refactor
Semantic, AST-safe multi-language code refactoring engine for AI agents and developers (Kotlin, Swift, TypeScr
UIKit Expert Skill
Provide accurate, efficient, and modern UIKit Swift code using an AI agent skill focused on best practices and
Swift Arch Check
Read-only architecture audit. Scans the project and produces a structured report. Makes NO changes to any file