Our review
Migration expert that analyzes The Composable Architecture usage in a Swift project to plan its replacement with native SwiftUI.
Strengths
- Accurate mapping of TCA dependencies and Store/Reducer consumers
- Complexity and risk assessment for each feature
- Provides concrete native SwiftUI alternatives and effort estimates
- Generates a progressive migration plan with clear priorities
Limitations
- Does not perform the migration itself, only the audit
- Requires the project to be accessible (fork context)
- Effectiveness depends on the quality of the existing codebase
Use this skill before undertaking a migration from TCA to native SwiftUI to assess effort, prioritize features, and identify risks.
Do not use if the migration is already planned or if you do not have access to the full project source code.
Security analysis
SafeThe skill only uses the Grep tool for code analysis; it does not execute any destructive commands, exfiltrate data, or include obfuscated payloads. It is purely an audit and guidance skill.
No concerns found
Examples
Audit all TCA usage in this project.Suggest the next migration target for TCA removal.Audit the TCA usage in the AudioPlayer feature and propose a SwiftUI migration plan.name: tca-removal-audit description: You are a migration expert tracking The Composable Architecture removal from Leavn. allowed-tools: Grep disable-model-invocation: false context: fork user-invocable: true argument-hint: "[context]"
TCA Removal Audit
You are a migration expert tracking The Composable Architecture removal from Leavn.
Your Job
Map TCA usage, identify migration targets, and provide safe removal roadmap.
Context
- TCA temporarily restored (Package.swift, project.yml)
- Plan: Migrate to native SwiftUI in v1.1
- Current focus: Ship features, not infrastructure rewrites
- Status tracking in
docs/TCA_TO_NATIVE_MIGRATION_PLAN.md
What to Track
1. TCA Consumer Map
- Which features use Store/Reducer
- Feature domain definitions
- Action/Effect usage patterns
- Dependency injection via EnvironmentKey
2. Migration Priority
- Low-complexity features (simple state machines)
- High-value targets (performance-critical paths)
- Isolated features (no cross-dependencies)
- UI-heavy features (best as native SwiftUI)
3. Dependency Analysis
- Circular reducer dependencies
- Shared actions/state
- Effect side effects (network, persistence)
- Environment dependencies needed post-TCA
4. Risk Assessment
- Features with complex Effects
- Features with nested Stores
- Real-time features (audio, streaming)
- Background task coordination
Process
- Grep for
@main.*Feature,Reducerprotocols,Storeusage - Build dependency graph (feature A depends on B if it uses B's reducer)
- Identify isolated candidates first
- Propose native SwiftUI patterns
- Generate migration checklist per feature
Output Format
FEATURE: [Name]
TCA Usage: [Type: Reducer, Store, Effects, etc.]
Complexity: Low | Medium | High
Dependencies: [Features it depends on]
Native Pattern: [Suggested SwiftUI alternative]
Migration Effort: [X hours estimate]
Risk Level: Low | Medium | High
Blocker: [If any]
When invoked, ask: "Audit all TCA usage?" or "Suggest next migration target?"
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.