Communitygithub.com

chonamdoo/ios-app-shell-error-handling

用于实现或审查 iOS 应用级错误处理,其中 SwiftUI 视图/ViewModel 通知常见错误,由 @main App、WindowGroup AppShell、NavigationStack 协调器或 UIKit AppCoordinator 负责根导航、标签页/会话流程切换、弹窗、表单、Toast 容器、会话过期处理、维护处理以及根重置行为。

ios-app-shell-error-handling 是什么?

该技能专注于 iOS 应用级错误处理架构,适用于 SwiftUI 和 UIKit 混合场景。它定义了如何通过 @main App、WindowGroup AppShell、NavigationStack 协调器或 UIKit AppCoordinator 集中管理根导航、标签页/会话流程切换、弹窗、表单、Toast 提示、会话过期处理、维护处理以及根重置行为。通过将错误处理逻辑统一到 AppShell 层,开发者可以避免在多个视图或 ViewModel 中重复实现错误处理,从而提高代码可维护性和用户体验一致性。该技能支持 SwiftUI 和 UIKit 两种框架,并提供具体的技术实现建议和代码示例,帮助开发者快速集成应用层的错误处理机制。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/chonamdoo/agent-flow/tree/main/skills/ios-app-shell-error-handling

在你喜欢的 AI 中提问

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

文档

ios-app-shell-error-handling 是做什么的?

用于实现或审查 iOS 应用级错误处理,其中 SwiftUI 视图/ViewModel 通知常见错误,由 @main App、WindowGroup AppShell、NavigationStack 协调器或 UIKit AppCoordinator 负责根导航、标签页/会话流程切换、弹窗、表单、Toast 容器、会话过期处理、维护处理以及根重置行为。

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-clean-presentation-architecture

Use when creating, modifying, or reviewing an iOS Clean Architecture presentation layer with SwiftUI/UIKit state holders, explicit UiState, UiModel mapping, dependency injection, and state-based presentation code review.

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.

相关技能