tca-optimizer

Optimize TCAFlow and TCA implementations for navigation correctness and runtime performance.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Roy-wonji/claude-config --skill tca-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tca-optimizer
Source: https://github.com/Roy-wonji/claude-config/tree/main/skills/tca-optimizer
Command: npx skills add https://github.com/Roy-wonji/claude-config --skill tca-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams modernize and optimize Swift TCA and TCAFlow implementations by addressing routing, reducer efficiency, Store observation patterns, and Effect management issues that cause performance problems or fragile navigation flows.

Core Features & Use Cases

  • TCAFlow migration optimization: Improves TCACoordinators-to-TCAFlowRouter conversions, including action/route handling patterns.
  • @FlowCoordinator and routing best practices: Guides correct usage of @FlowCoordinator, Route definitions, and handleRoute routing strategies.
  • Performance-focused Store/Effect/Reducer tuning: Reduces unnecessary ViewStore subscriptions, improves selector patterns, prevents Effect leaks, and streamlines reducer state updates.
  • Use Case: Migrating an existing UIKit/TCA navigation flow to TCAFlow while keeping routing behavior correct and improving responsiveness under real user workloads.

Quick Start

Ask the AI to review your current TCAFlow navigation and reducer code, identify performance bottlenecks and incorrect routing/effect patterns, then propose a GitHub-source-aligned Before/After refactor plan.

Frequently Asked Questions about tca-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize TCAFlow navigation and reducer performance in SwiftUI?

To optimize TCAFlow navigation and reducer performance, review your Store observations and Effect management to reduce unnecessary ViewStore subscriptions and prevent Effect leaks. This streamlines state updates and improves runtime responsiveness.

What is the best way to migrate TCACoordinators to TCAFlowRouter?

Migrating TCACoordinators to TCAFlowRouter requires updating action and route handling patterns. Consulting official TCAFlow documentation ensures correct @FlowCoordinator usage and preserves routing behavior during conversion.

Does this approach support handleRoute routing strategies for SwiftUI iOS architectures?

Yes, this approach supports handleRoute routing strategies for SwiftUI iOS architectures. It guides correct Route definitions and @FlowCoordinator usage by referencing official source code to ensure navigation correctness.

Why does my TCA Store experience performance bottlenecks during navigation?

Your TCA Store experiences performance bottlenecks due to fragile navigation flows and inefficient selector patterns. Reducing excessive ViewStore subscriptions and tuning Effect management resolves these runtime performance issues.

How do I fix incorrect routing patterns when using @FlowCoordinator?

To fix incorrect routing patterns with @FlowCoordinator, review your handleRoute implementations and Route definitions against official TCAFlow source code. This identifies and corrects fragile navigation flows effectively.