AIFCC
記事一覧へ
claude-setupagent-opsiosxcodeskills

CodexがXcodeプロジェクトに触れる前にインストールすべきSkills

Paul Solt@PaulSolt
70547
昨年からCodexとClaude CodeでiOSとmacOSのアプリを構築しています。一つ学んだこと:エージェントには信頼性の高い結果を出す、シンプルなシステムが必要だということです。 適切なスキルがなければ、エージェントは廃止済みのコードを書き、コンパイルエラーを生み出し、あなたのデバッグ時間を無駄にします。これら5つのスキルパックがそれを解決します。それぞれが、エージェントを使って実際にアプリを出荷している開発者からのものです。 ## 1. Paul Hudson:Swiftの基礎 Swiftをオンラインで学んだことがある人は、Paul Hudson(@twostraws)の仕事を読んだことがあるでしょう。彼のエージェントスキルは、Hacking with Swiftを通じて10年間Swiftを教えてきた経験から生まれています—そして彼のSwiftUIルールはエージェントとの一般的なミスを修正するのに役立ちます。 Paul HudsonはNYCのtry! Swiftで出会い、WWDC 2019のSwiftUIラボで一緒に時間を過ごしました。彼は多作な書き手で、何が機能するかを深く掘り下げます。 これらのスキルはエージェントを即座に向上させます: - SwiftUI Pro:最新のSwiftUI API、ビュー構成、状態管理 - Swift Concurrency Pro:async/await、アクター、Sendable、Swift 6移行 - Swift Testing Pro:テストマクロ、パラメータ化テスト、XCTest移行 - SwiftData Pro:モデル、クエリ、マイグレーション、CloudKit同期 彼はまた、コミュニティのすべてのSwiftスキルの公式ディレクトリを維持しています。 ## 2. Antoine van der Lee:SwiftLee Antoine van der Lee(@twannl)はSwiftLee—最も広く読まれているSwiftブログの一つ—を運営しています。詳細なリファレンスドキュメントとともに5つのスキルリポジトリを持っています。彼のXcode Build Optimizationスキルが際立っています—ビルド設定とコンパイル時間のための6つのサブスキルでコードのビルドを高速化します。 - SwiftUI Expert:状態管理、ビュー構成、パフォーマンス、Liquid Glass - Swift Concurrency:アクター、Sendable、データ競合の安全性、Swift 6移行 - Swift Testing Expert:最新のテストパターン、XCTest移行、パラメータ化テスト - Core Data Expert:スタックセットアップ、フェッチリクエスト、バックグラウンドコンテキスト、マイグレーション - Xcode Build Optimization:ビルド設定、コンパイル時間、プロジェクト設定のための6つのサブスキル Xcode Build Optimizationスキルは、あなた自身とエージェントの両方をより生産的にする強力なツールです。iOSシミュレーターでのより良いワークフローを望む方は、彼のデベロッパーアプリ @rocketsim_app もチェックしてみてください。 ## 3. Thomas Ricouard:Codexエキスパート Thomas Ricouard(@Dimillian)はCodex Monitor—複数のCodexエージェントを管理するオープンソースのmacOSアプリ—を構築し、その後OpenAIのDeveloper Experienceチームに参加しました。 彼のスキルは現在、公式のCodex Build iOS AppとBuild Mac Appプラグインとして出荷されています。これらはCodexアプリまたはCodex CLIの新しいリリースごとに自動的に更新されます。 Build iOS Appsプラグイン: - SwiftUI Liquid Glass:iOS 26以降のLiquid Glass API、モディファイア順序、フォールバック - SwiftUI UIパターン:ナビゲーション、シート、アプリの接続、再利用可能コンポーネント - SwiftUI パフォーマンス監査:無効化ストーム、IDチャーン、レイアウトスラッシュ - SwiftUI ビューリファクタリング:より小さいサブビュー、MVスタイルデータフロー、Observation - iOS デバッガーエージェント:XcodeBuildMCPでシミュレーターのビルド/実行/デバッグ - iOS App Intents:Siri、ショートカット、ウィジェット統合 Build macOS AppsプラグインはAppKitの相互運用、パッケージング/公証、署名/エンタイトルメント、ウィンドウ管理、SwiftPMワークフローを追加します。 これらのプラグインの両方のソースは公式OpenAIプラグインリポジトリで確認できます。 ## 4. Krzysztof Zabłocki:高度なSwift + ツール Krzysztof Zabłocki(@merowing_)はSourcery—Airbnbやニューヨーク・タイムズを含む40,000以上のアプリで使用されるSwiftメタプログラミングツール—を作りました。彼のオープンソースツールは合計80,000以上のアプリを支えています。 エージェントスキルへのアプローチはまったく異なります。個別のスキルファイルの代わりに、3年間の毎日のLLM使用から構築したルールベースのシステムを作りました—コンテキストに基づいてどのルールを適用するかを決定するためにLLMの自己リフレクションを使う、スマートローダーを備えた12のドメイン固有のルールファイル。システムはツール非依存です:同じルールがCursor、Claude Code、Codexで機能します。 彼のアプローチで気に入っているところ:検索をオフロードしてエージェントフレンドリーにするプログレッシブドキュメント読み取りCLIツールを持っています。また、高速プロトタイピングで再ビルドなしにUI変更を確認したいときに便利な、Swiftのホットリロードのためのlnjectも作りました。 彼のガイドを読んでください:「LLMから平均的なコードを得ることをやめる」 彼のコーディング哲学に従う2つのエージェントフレンドリーなファイルを入手できます: - general.md:プライマリディレクティブとコーディング標準 - rule-loading.md:コンテキストによってルールを選択するスマートローダー 依存性注入、SwiftUIアーキテクチャ、ViewModelの調整、Swift Testingをカバーする完全な12ファイルセットは彼のSwifty Stackコースの一部です。 ## 5. AppCreator:エージェントフレンドリーなビルドツール 上記のスキルはいずれも、エージェントがコードをビルドしてテストできなければ意味がありません。 Xcodeのビルド出力は冗長です。テスト出力はさらに悪い。2つの異なるビルドシステムでXCTestとSwift Testingを使い分けています。エージェントはこれに詰まります。 この問題を解決するためにAppCreatorを構築しました。既存のプロジェクトと同じワークフローを使う新しいアプリアイデアのプロトタイプを素早く作るために作りました。Xcodeプロジェクトをエージェントフレンドリーなデフォルトでスキャフォールドします。 既存のアプリにスキルを適用すると、エージェントがエージェントフレンドリーなMakeを使ったビルドスクリプトを作るのを手伝います。 AppCreatorスキルをダウンロード:https://super-easy-apps.kit.com/app-creator - ビルド可能なフォルダ:エージェントがプロジェクトファイルを再生成せずにファイルを追加 - 警告をエラーとして扱う:エージェントが廃止済みコードを書かない - Makefile:すべてのコマンド(ビルド、実行、テスト)を1箇所に - xcbeautify:Xcodeの大量のテキストの代わりに、クリーンで解析可能な出力 - バージョン追跡:アップデート間で正確に何が変わったかを把握 AppCreatorをダウンロードしてインストールしてください。完全に無料で、アーリーアクセス中でまだGitHubでは入手できません。 ## フォローすべき優れたSwiftとiOS開発者: - Paul Hudson:(@twostraws)SwiftUI、Concurrency、Testing、SwiftData - Antoine van der Lee:(@twannl)SwiftUI、Build Optimization、Concurrency、Testing、Core Data - Thomas Ricouard:(@Dimillian)公式iOS/macOS Codexプラグイン - Krzysztof Zabłocki:(@merowing_)ルールベースのアーキテクチャと高度なiOS開発トピック 今日これらのスキルパックかプラグインのどれか1つをインストールしてください。エージェントのコードがどう変わるかを見てください。それからさらに積み重ねましょう。 あなたはiOSプロジェクトでどんなスキルを使っていますか?以下に返信してください—何が機能しているかを見たいです。 @PaulSoltをフォローして、AIを使ってiOSアプリを構築・出荷するために実際に使っているワークフローをチェックしてください。CodexワークフローのビデオはYouTubeで視聴できます。 P.S. エージェントがまだXcodeプロジェクトを安定してビルドできない場合は、AppCreatorから始めてください。無料です—こちらで入手してください。
原文を表示 / Show original
I've been building iOS and macOS apps with Codex and Claude Code since last year. One thing I've learned: agents need simple systems that produce reliable results. Without the right skills, agents write deprecated code, create compiler errors, and waste your time debugging their mistakes. These 5 skill packs fix that. Each one comes from a developer who's been shipping real apps with agents. 1. Paul Hudson: The Swift Foundation If you've learned Swift online, you've probably read Paul Hudson's work (@twostraws). His agent skills come from a decade of teaching Swift through Hacking with Swift — and his SwiftUI rules help correct common mistakes with agents. I met Paul at try! Swift in NYC and we spent some time together in the SwiftUI labs at WWDC 2019. He's a prolific writer and digs in deep so you can understand what works. These skills will jumpstart your agents: SwiftUI Pro: modern SwiftUI APIs, view composition, state management Swift Concurrency Pro: async/await, actors, Sendable, Swift 6 migration Swift Testing Pro: Test macros, parameterized tests, XCTest migration SwiftData Pro: models, queries, migrations, CloudKit sync He also maintains the canonical directory of every community Swift skill. 2. Antoine van der Lee: SwiftLee Antoine van der Lee Antoine van der Lee (@twannl) runs SwiftLee — one of the most widely read Swift blogs. He has 5 skill repos, each with detailed reference docs. His Xcode Build Optimization skill stands out — 6 sub-skills for build settings and compilation times to make your code build faster. SwiftUI Expert: state management, view composition, performance, Liquid Glass Swift Concurrency: actors, Sendable, data race safety, Swift 6 migration Swift Testing Expert: modern testing patterns, XCTest migration, parameterized tests Core Data Expert: stack setup, fetch requests, background contexts, migrations Xcode Build Optimization: 6 sub-skills for build settings, compilation times, project config The Xcode Build Optimization skill is a powerful tool that can make both you and your agents more productive. And if you want a better workflow with the iOS Simulator, check out his developer app: @rocketsim_app 3. Thomas Ricouard: Codex Expert Thomas Ricouard Thomas Ricouard (@Dimillian) built Codex Monitor — the open source macOS app for managing multiple Codex agents — and then joined OpenAI's Developer Experience team. His skills now ship as the official Codex Build iOS App and Build Mac App plugins. These automatically update with each new release of the Codex app or Codex CLI. Build iOS Apps plugin SwiftUI Liquid Glass: iOS 26+ Liquid Glass APIs, modifier ordering, fallbacks SwiftUI UI Patterns: navigation, sheets, app wiring, reusable components SwiftUI Performance Audit: invalidation storms, identity churn, layout thrash SwiftUI View Refactor: smaller subviews, MV-style data flow, Observation iOS Debugger Agent: simulator build/run/debug with XcodeBuildMCP iOS App Intents: Siri, Shortcuts, widget integration Build macOS Apps plugin adds AppKit interop, packaging/notarization, signing/entitlements, window management, and SwiftPM workflows. You can dig into the source for both of these plugins at the Official OpenAI Plugins repo, 4. Krzysztof Zabłocki: Advanced Swift + Tooling Krzysztof Zabłocki Krzysztof Zabłocki (@merowing_) created Sourcery — the Swift metaprogramming tool used by 40,000+ apps including Airbnb and The New York Times. His open source tools power over 80,000 apps total. His approach to agent skills is completely different. Instead of individual skill files, he built a rules-based system over 3 years of daily LLM use — 12 domain-specific rule files with a smart loader that uses LLM self-reflection to decide which rules to apply based on context. The system is tool-agnostic: same rules work in Cursor, Claude Code, and Codex. What I like about his approach: he has a progressive documentation reading CLI tool to offload search and make it agent-friendly. He also created Inject for hot Swift reloading — useful for fast prototyping when you want to see UI changes without rebuilding. Read his guide: Stop Getting Average Code from Your LLM You can grab two agent friendly files that follow his coding philosophy: general.md: primary directive and coding standards rule-loading.md: smart loader that selects rules by context The full 12-file set covering dependency injection, SwiftUI architecture, ViewModel coordination, and Swift Testing is part of his Swifty Stack course. 5. AppCreator: Agent-Friendly Build Tools None of the skills above matter if your agent can't build and test your code. Xcode build output is verbose. Test output is worse. We're juggling XCTest and Swift Testing with two different build systems. Agents choke on this. I built AppCreator to solve that problem. It scaffolds Xcode projects with agent-friendly defaults. I created it to quickly prototype new app ideas that used the same workflow as my existing projects. Adopt the skill for your existing apps and it will help your agent make a build script using Make that is agent friendly. Download the AppCreator skill: https://super-easy-apps.kit.com/app-creator Buildable folders: agents add files without regenerating project files Prefers warnings as errors: agents don't write deprecated code Makefiles: every command (build, run, test) in one place xcbeautify: clean, parseable output instead of Xcode's wall of text Version tracking: know exactly what changed between updates Download and install AppCreator. It's totally free, just in early-access and not available on GitHub (yet). Learn something? Follow these great Swift and iOS Developers: Paul Hudson: (@twostraws) for SwiftUI, Concurrency, Testing, and SwiftData Antoine van der Lee: (@twannl) for SwiftUI, Build Optimization, Concurrency, Testing, and Core Data Thomas Ricouard: (@Dimillian) for the official iOS/macOS Codex plugins Krzysztof Zabłocki: (@merowing_) for a rules-based architecture and advanced iOS development topics Install one of these skill packs or plugins today. See how your agent's code changes. Then stack more. What skills are you using with your iOS projects? Reply below — I want to see what's working for you. Follow @PaulSolt for the workflows I'm actually using to build and ship iOS apps with AI. You can watch my Codex Workflow video on YouTube. P.S. If your agent still can't build your Xcode project reliably, start with AppCreator. It's free — grab it here.

AIFCC — AI Fluent CxO Club

読み書きそろばん、AI。経営者が AI を自分で動かせるようになるコミュニティ。

CodexがXcodeプロジェクトに触れる前にインストールすべきSkills | AIFCC