hig-doctor-audit
について
このスキルは、SwiftUI、UIKit、React Native、Flutterなどの複数フレームワークにわたるアプリプロジェクトをAppleのヒューマンインターフェースガイドラインに対して自動監査します。重大度レポートを生成し、CIパイプラインに統合してコンプライアンスを強制することが可能です。開発者は、デプロイ前にアクセシビリティ問題のスキャン、デザイン違反の確認、またはHIG準拠の検証が必要な際に利用すべきです。
クイックインストール
Claude Code
推奨npx skills add raintree-technology/claude-starter -a claude-code/plugin add https://github.com/raintree-technology/claude-startergit clone https://github.com/raintree-technology/claude-starter.git ~/.claude/skills/hig-doctor-auditこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
HIG Doctor Audit
Use this skill as the verification loop for Apple HIG work. It complements the hig-* reference skills: run the audit to find concrete concerns, then use the matching HIG skill and reference topic to fix them.
Tooling
HIG Doctor is documented at https://apple.raintree.technology and published as hig-doctor.
npx hig-doctor ./path/to/project
npx hig-doctor ./path/to/project --export
npx hig-doctor ./path/to/project --stdout
npx hig-doctor ./path/to/project --json
npx hig-doctor ./path/to/project --fail-on critical
Requires Node 20+ for the published package. From the local source repo, the Bun entrypoint is:
cd /Users/mb1/Code/secondary/hig-doctor/packages/hig-doctor/src-termcast
bun run audit ./path/to/project
Workflow
- Confirm the project path and target platform/framework.
- Run
npx hig-doctor <path> --exportfor a human-readablehig-audit.md, or--jsonfor CI/scripts. - If output is large, focus first on
critical, thenserious, then high-confidencemoderate. - Map each category's
skillfield to the matching local HIG skill, such ashig-foundationsorhig-components-controls. - Read only the specific HIG reference topics needed for the flagged issue.
- Fix concrete code issues and rerun the audit with the same flags.
- For CI, use
--fail-on criticalfirst. Raise toseriousonly after existing serious issues are cleaned up.
Ignore File
Use .higauditignore for intentional fixtures, generated output, stories, or demos:
**/*.stories.tsx
examples
components/audit-demo-fixtures.ts
Keep ignores narrow. Do not hide application UI code to make the audit pass.
Interpretation
critical: accessibility-breaking or interaction-blocking. Treat as release blockers unless clearly a false positive.serious: significant HIG or UX degradation. Fix before shipping visible UI.moderate: style or best-practice drift. Batch when the issue is repeated across a design system.positive: useful evidence, not work to do.
HIG Doctor is regex-based. Verify each finding against the code and the relevant HIG reference before editing.
GitHub リポジトリ
関連スキル
executing-plans
デザインexecuting-plansスキルは、完全な実装計画があり、それを管理されたバッチでレビューチェックポイントを設けながら実行する場合に使用します。このスキルは計画を読み込んで批判的にレビューした後、小さなバッチ(デフォルトは3タスク)でタスクを実行し、各バッチの間に進捗状況を報告してアーキテクトのレビューを受けます。これにより、品質管理チェックポイントが組み込まれた体系的な実装が保証されます。
requesting-code-review
デザインこのスキルは、コードレビュアーサブエージェントを起動し、処理を進める前に要件に対してコード変更を分析します。タスク完了後、主要な機能の実装後、またはmainブランチへのマージ前などに使用すべきです。このレビューは、現在の実装と元の計画を比較することで、問題を早期に発見するのに役立ちます。
connect-mcp-server
デザインこのスキルは、開発者がHTTP、stdio、またはSSEトランスポートを使用してMCPサーバーをClaude Codeに接続するための包括的なガイドを提供します。GitHub、Notion、カスタムAPIなどの外部サービスを統合するためのインストール、設定、認証、セキュリティについて解説しています。MCP統合のセットアップ、外部ツールの設定、またはClaudeのModel Context Protocolを扱う際にご利用ください。
web-cli-teleport
デザインこのスキルは、タスク分析に基づいて開発者がClaude Code WebとCLIインターフェースの選択を支援し、これらの環境間でのシームレスなセッションテレポーテーションを可能にします。Web、CLI、モバイル環境を切り替える際のセッション状態とコンテキストを管理することで、ワークフローを最適化します。様々な段階で異なるツールを必要とする複雑なプロジェクトにご活用ください。
