_legacy/mobile/ios-development/SKILL.md
iOS開発のベストプラクティス、設計パターン、実装テクニック、よくあるトラブルと解決方法を包括的にカバー。MVVM、Clean Architecture、Combine、SwiftUI/UIKitの実践的なガイドを提供します。
npx skillsauth add gaku52/claude-code-skills ios-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
このSkillは、iOS開発における全ての側面をカバーします:
このガイドで学べること: アーキテクチャパターン、設計原則、実装テクニック 公式で確認すべきこと: 最新API、iOS 18の新機能、SwiftUI/UIKitリファレンス、App Store審査ガイドライン
Apple Developer Documentation - Apple公式ドキュメント
Swift.org - Swift言語公式サイト
Human Interface Guidelines - UIデザインガイドライン
App Store Review Guidelines - 審査ガイドライン
対象者:プログラミング初心者、iOS開発が初めての方
学習時間:約7〜9時間
iOS開発の基礎を体系的に学べる7つのガイドを用意しました。順番に学習することで、実践的なiOSアプリを構築できるようになります。
iOS開発とは (30〜40分)
Swift基礎 (1〜1.5時間)
Xcode入門 (40〜50分)
SwiftUI基礎 (1〜1.5時間)
レイアウトとUI (1〜1.5時間)
状態管理 (1〜1.5時間)
初めてのアプリ作成 (2〜3時間)
Week 1: 01→02→03(環境構築・Swift基礎)
Week 2: 04→05(SwiftUI・レイアウト)
Week 3: 06→07(状態管理・実践)
学習後に作れるもの:
| パターン | 適用ケース | 詳細ガイド | |---------|-----------|-----------| | MVVM | 中小規模、SwiftUI | guides/01-mvvm-pattern.md | | Clean Architecture | 大規模、テスタビリティ重視 | guides/02-clean-architecture.md | | VIPER | 超大規模、チーム開発 | guides/03-viper-pattern.md | | Coordinator | ナビゲーション複雑 | guides/04-coordinator-pattern.md |
詳細: guides/00-architecture-overview.md
| 観点 | SwiftUI | UIKit | |------|---------|-------| | 学習曲線 | 緩やか | 急 | | iOS最低バージョン | iOS 13+ | iOS 2+ | | カスタマイズ性 | 制限あり | 完全 | | 推奨ケース | 新規プロジェクト | レガシー、細かい制御 |
| 技術 | 用途 | ガイド | |------|------|--------| | UserDefaults | 設定、小さなデータ | guides/11-userdefaults.md | | Keychain | 認証情報、秘密情報 | guides/12-keychain.md | | CoreData | 複雑なリレーショナルデータ | guides/13-coredata.md | | Realm | 高速、シンプルなDB | guides/14-realm.md | | FileManager | ファイル、画像 | guides/15-file-storage.md |
→ references/coding-standards.md
→ references/dependency-injection.md
→ references/async-programming.md
→ references/memory-management.md
→ references/error-handling-best-practices.md
| 問題 | 原因 | 解決方法 | |------|------|---------| | "Thread 1: signal SIGABRT" | 制約エラー、強制アンラップ | incidents/crashes/ | | メモリリーク | 循環参照 | incidents/memory-leaks/ | | "Could not cast value" | 型キャストエラー | incidents/type-errors/ |
詳細: references/troubleshooting.md
→ ios-performance Skillを参照
→ ios-security Skillを参照
architecture-advisor-agent
thoroughcode-generator-agent
mediumrefactoring-agent
thoroughtroubleshooter-agent
thorougharchitecture-advisor-agent (設計)
→ code-generator-agent (実装)
→ test-generator-agent (テスト作成)
→ code-review-agent (レビュー)
troubleshooter-agent +
performance-profiler-agent +
memory-analyzer-agent
→ 結果統合 → 解決策提案
class UserProfileViewModel: ObservableObject {
@Published var user: User?
@Published var isLoading = false
@Published var errorMessage: String?
private let userRepository: UserRepositoryProtocol
init(userRepository: UserRepositoryProtocol) {
self.userRepository = userRepository
}
func fetchUser(id: String) async {
isLoading = true
defer { isLoading = false }
do {
user = try await userRepository.fetchUser(id: id)
} catch {
errorMessage = error.localizedDescription
}
}
}
protocol APIClientProtocol {
func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T
}
class APIClient: APIClientProtocol {
func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
let request = try endpoint.asURLRequest()
let (data, response) = try await URLSession.shared.data(for: request)
guard let httpResponse = response as? HTTPURLResponse,
(200...299).contains(httpResponse.statusCode) else {
throw APIError.invalidResponse
}
return try JSONDecoder().decode(T.self, from: data)
}
}
アーキテクチャ
UI開発 6. SwiftUI基礎 7. SwiftUI State管理 8. SwiftUIアニメーション 9. UIKit基礎 10. AutoLayoutマスター
データ管理 11. UserDefaults 12. Keychain 13. CoreData 14. Realm 15. ファイルストレージ 16. ネットワーク基礎 17. APIクライアント設計 18. エラーハンドリング
swiftui-patterns - SwiftUI特化ios-performance - パフォーマンス最適化ios-security - セキュリティ実装testing-strategy - テスト戦略code-review - コードレビューこのSkill自体の変更履歴は CHANGELOG.md を参照
tools
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p