tca migration

Remove The Composable Architecture from Leavn codebase.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tca migration" with this command: npx skills add willsigmon/sigstack/willsigmon-sigstack-tca-migration

TCA Migration

Remove The Composable Architecture from Leavn codebase.

Find TCA Usage

grep -r "Reducer" --include=".swift" | grep -v "Pods|DerivedData" grep -r "Store|ViewStore" --include=".swift" grep -r "@Dependency" --include=".swift" grep -r "ComposableArchitecture" --include=".swift"

Migration Pattern

TCA Feature → @Observable ViewModel

Before (TCA):

@Reducer struct MyFeature { @ObservableState struct State { var count = 0 } enum Action { case increment } var body: some ReducerOf<Self> { ... } }

After (@Observable):

@Observable @MainActor class MyViewModel { var count = 0 func increment() { count += 1 } }

Removal Order

  • Leaf features (no child reducers)

  • Parent features (after children migrated)

  • App-level store (last)

  • Remove TCA from Package.swift

Audit Command

find . -name "*Feature.swift" -o -name "*Reducer.swift" | wc -l

Use when: TCA removal, migration tracking, @Observable conversion

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

dead code eliminator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

codebase health reporter

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

analyze codebase

No summary provided by upstream source.

Repository SourceNeeds Review