·composable-architecture
</>

composable-architecture

johnrogers/claude-swift-engineering

在使用 TCA(可组合架构)构建功能、构造化简器、管理状态、处理效果、导航或测试 TCA 功能时使用。涵盖 @Reducer、Store、Effect、TestStore、reducer 组合和 TCA 模式。

30安装·2热度·@johnrogers

安装

$npx skills add https://github.com/johnrogers/claude-swift-engineering --skill composable-architecture

SKILL.md

TCA provides architecture for building complex, testable features through composable reducers, centralized state management, and side effect handling. The core principle: predictable state evolution with clear dependencies and testable effects.

ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.

| Reducer Structure | Creating new reducers, setting up @Reducer, State, Action, or @ViewAction | | Views - Binding | Using @Bindable, two-way bindings, store.send(), or .onAppear/.task | | Views - Composition | Using ForEach with stores, scoping to child features, or optional children |

在使用 TCA(可组合架构)构建功能、构造化简器、管理状态、处理效果、导航或测试 TCA 功能时使用。涵盖 @Reducer、Store、Effect、TestStore、reducer 组合和 TCA 模式。 来源:johnrogers/claude-swift-engineering。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill composable-architecture
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 composable-architecture?

在使用 TCA(可组合架构)构建功能、构造化简器、管理状态、处理效果、导航或测试 TCA 功能时使用。涵盖 @Reducer、Store、Effect、TestStore、reducer 组合和 TCA 模式。 来源:johnrogers/claude-swift-engineering。

如何安装 composable-architecture?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/johnrogers/claude-swift-engineering --skill composable-architecture 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/johnrogers/claude-swift-engineering

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01