SwiftUI-Agent-Skill
その他twostraws/SwiftUI-Agent-Skill
AI プログラミングアシスタントがよりモダンな SwiftUI コードを書くのを支援するスキルパック。
概要
Claude Code、Codex、Gemini などの AI プログラミングアシスタント向けのスキルパックで、生成される SwiftUI コードの品質を向上させます。ナビゲーション、レイアウト、アニメーション、状態管理、アクセシビリティ、非推奨 API などの領域をカバーし、LLM のよくある間違いへのガイダンスを提供します。長年の実践経験を凝縮しており、すばやくインストールして使用できます。
README プレビュー
\n \n\n\nSwiftUI Agent Skill for AI Coding Assistants\n\n\n \n \n \n \n \n\n\nAn agent skill that helps AI coding assistants write smarter, simpler, and more modern SwiftUI, including guidance on API usage, design, performance, and accessibility. Covers navigation, layout, animations, state management, VoiceOver, deprecated API, and more, targeting the mistakes LLMs actually make.\n\nAlso available:\n\n- [SwiftData Pro](https://github.com/twostraws/SwiftData-Agent-Skill)\n- [Swift Concurrency Pro](https://github.com/twostraws/Swift-Concurrency-Agent-Skill)\n- [Swift Testing Pro](https://github.com/twostraws/Swift-Testing-Agent-Skill)\n\nFind more agent skills for Swift and Apple platform development at [Swift Agent Skills](https://github.com/twostraws/Swift-Agent-Skills).\n\nThe skill builds upon my existing [AGENTS.md](https://github.com/twostraws/SwiftAgents) file, meaning that you can bring years of knowledge and practical experience into your coding agent of choice in just a few minutes. It uses the [Agent Skills](https://agentskills.io/home) format, so it works smoothly with Claude Code, Codex, Gemini, Cursor, and more.\n\n\n## Installing SwiftUI Pro\n\nYou can install this skill into Claude Code, Codex, Gemini, Cursor, and more by using npx:\n\n```bash\nnpx skills add https://github.com/twostraws/swiftui-agent-skill --skill swiftui-pro\n```\n\nIf you get the error `npx: command not found`, it means you don’t currently have Node installed. You need to run this command to install Node through Homebrew:\n\n```bash\nbrew install node\n```\n\nAnd if *that* fails it usually means you need to [install Homebrew](https://brew.sh) first.\n\nWhen using `npx`, you can select exactly which agents you want to use during the installation. You can also select whether the skill should be installed just for one project, or whether it should be made available for all your projects.\n\nClaude Code users can add the SwiftUI Agent Skill marketplace then instal
FAQ (2)
ハウツーXcodeのコーディングアシスタントでAIエージェントスキル(Claude Code / Codex)をインストールして使用する方法
Xcode の Codex の場合、スキルフォルダ(例: swiftui-pro)を ~/Library/Developer/Xcode/CodingAssistant/codex/skills/swiftui-pro/ にコピーすれば、自動的に動作します。Claude Code の場合は、追加のセットアップ手順が必要です(注: Claude Agent がインストールされていなくても動作します)。ステップバイステップガイド: https://www.hackingwithswift.com/articles/283/how-to-install-and-use-ai-agent-skills-in-xcode および Stewart Lynch による動画ウォークスルー: https://www.youtube.com/watch?v=QdpaI_j0FRU
トラブル対応Claude Code が ~/.agents/skills にインストールしたスキルを読み込まないのはなぜですか?
Claude Code は ~/.agents/skills ではなく、~/.claude/skills からのみスキルを読み込みます。インストーラーが "Installation Method" プロンプト(Symlink または Copy to all agents)をスキップして、スキルを ~/.agents/skills 配下に配置した場合は、シンボリックリンクを作成して手動で修正してください:
mkdir -p ~/.claude/skills
ln -s ~/.agents/skills/<skill-name> ~/.claude/skills/<skill-name>
<skill-name> は実際のスキルフォルダ名(例: swift-concurrency-pro や swiftui-pro)に置き換えてください。または、npx skills add で再インストールすると、インストール先を確認するプロンプトが表示され、Claude Code 用に正しい場所にスキルが配置されます。