スキル一覧に戻る
muzhicaomingwang

ios

by muzhicaomingwang

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: ios description: Build, review, and refactor iOS mobile apps (Swift) using modern iOS patterns. Use for tasks like SwiftUI UI, navigation, state management, networking (URLSession), persistence (Core Data/SwiftData/Keychain), dependency injection, modularization (SPM), testing, performance, accessibility, and App Store release readiness.

ios

Use this skill when working on iOS client (大前端 / 移动端) codebases.

Defaults (unless repo dictates otherwise)

  • Language: Swift
  • UI: SwiftUI (if UIKit exists, follow existing architecture and integrate incrementally)
  • Architecture: MVVM + unidirectional state where appropriate
  • Concurrency: async/await, Task, Actor as needed
  • Modularization: Swift Package Manager (SPM) if present
  • App/: application entry, app lifecycle, root navigation
  • Features/<Name>/: feature modules (UI + ViewModel + domain models)
  • Core/: shared utilities, design system, logging, networking primitives
  • Data/: API clients, persistence implementations
  • Resources/: assets, localization

Workflow

  1. Establish constraints
  • iOS deployment target, supported devices, required permissions.
  • SwiftUI vs UIKit and existing patterns (coordinator, reducers, etc.).
  1. Define app flows
  • Identify screens and navigation.
  • Define ViewState/Action for each screen; keep states serializable and testable.
  1. Networking
  • Prefer URLSession + typed request/response models.
  • Centralize auth headers, retries, and error mapping.
  • Avoid leaking raw transport errors into UI; map to domain errors.
  1. Persistence
  • Choose one consistent approach: SwiftData/Core Data for structured data; UserDefaults for small prefs; Keychain for secrets/tokens.
  • Add migration strategy notes if schema evolves.
  1. UI & state
  • Views should be mostly declarative; business logic lives in ViewModel.
  • Make loading/error/empty states explicit.
  • Use @MainActor for UI-facing state updates.
  1. Performance & UX
  • Minimize unnecessary view updates; use value types, Equatable states where helpful.
  • Images: async loading/caching; list virtualization with List best practices.
  • Accessibility: VoiceOver labels, Dynamic Type, sufficient contrast.
  1. Quality gates
  • Unit tests for ViewModels and domain logic.
  • Snapshot/UI tests where valuable.
  • Ensure release config (entitlements, signing, privacy strings) is correct.

Output expectations when making changes

  • Keep diffs localized; avoid broad refactors unless requested.
  • Add/adjust tests when changing behavior.
  • For new features: include navigation entry, state contract, and data wiring.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です