Communitygithub.com

chonamdoo/ios-clean-presentation-architecture

用于创建、修改或审查基于iOS Clean Architecture的表现层,包括SwiftUI/UIKit状态持有者、显式UiState、UiModel映射、依赖注入以及基于状态的表现代码审查。

ios-clean-presentation-architecture 是什么?

该技能专为iOS开发者设计,专注于Clean Architecture中的表现层实现。它涵盖了SwiftUI和UIKit应用中状态持有者的使用、显式UiState定义、UiModel映射、依赖注入以及基于状态的表现代码审查。通过遵循明确的架构模式,该技能帮助开发者确保表现层与业务逻辑层分离,提高代码的可测试性和可维护性。它适用于Xcode项目,支持SwiftUI和UIKit,并强调使用显式的状态模型和依赖注入来管理UI状态。该技能基于SKILL.md文档,提供了详细的指导,包括如何定义UiState、映射UiModel以及进行状态驱动的表现代码审查。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/chonamdoo/agent-flow/tree/main/skills/ios-clean-presentation-architecture

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

ios-clean-presentation-architecture 是做什么的?

在创建、修改或审查基于iOS Clean Architecture的表现层时使用,包括SwiftUI/UIKit状态持有者、显式UiState、UiModel映射、依赖注入以及基于状态的表现代码审查。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

chonamdoo/code-generation-discipline

Common code generation and code modification discipline for agent-flow. Use before and during implementation, TDD red/green/refactor, fix-loop, bug fixes, feature work, and any task where Codex, Claude, OMP, or another agent writes or changes code. Enforces start-before, during-implementation, and after-implementation checks without a scoring rubric.

chonamdoo/comment-authoring-discipline

Apply comment-quality criteria during implementation and the final comment-quality pass before final-review, multi-review, or architecture-review after code changes. Applies equally in Codex, Claude, and OMP for Python, Kotlin, React Web, React Native, iOS, Swift, and SwiftUI.

chonamdoo/flutter-development-guide

Flutter implementation and review checklist. Use only when writing, modifying, or reviewing Flutter widget code, layout constraints, adaptive sizing, navigation and routing, platform channels, platform views, background entry points, list and image performance, async gaps across `BuildContext`, disposal, theme and design tokens, accessibility, localization, offline and error states, or Flutter test and golden coverage. Do not use for Dart language generalities, native Android or iOS internals beyond the engine and channel-registration seam a Dart entry point depends on, or broad rewrites.

chonamdoo/ios-app-shell-error-handling

Use when implementing or reviewing iOS app-wide error handling where SwiftUI views/ViewModels notify common errors and an @main App, WindowGroup AppShell, NavigationStack coordinator, or UIKit AppCoordinator owns root navigation, tab/session flow switching, alerts, sheets, toast hosts, SessionExpired handling, Maintenance handling, and root reset behavior.

chonamdoo/to-prd

Synthesizes the current conversation and codebase context into a PRD, then writes or publishes it according to the caller's requested output target. Use when the user asks to turn an already-discussed idea, plan, or conversation into a PRD; use `grilling` first if key decisions are still unresolved.

相关技能