Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By raintree-technologyMITIn 1 marketplace
Flags likely interface and accessibility problems in Apple-platform source against Apple's Human Interface Guidelines, and guides HIG-based design decisions for iOS and macOS apps. Runs as an audit CLI or through an MCP lookup server; web and Android source gets HIG-aligned rules rather than Apple's own.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Static checks for interface and accessibility issues. Apple-platform source is checked against Apple's Human Interface Guidelines; web and cross-platform source against HIG-aligned accessibility rules.
npx hig-doctor .
Output for scripts/fixtures/readme-audit (checked in CI):
2 moderate concerns · swiftui · 1 file
View.swift:5 · swift/navigation-view-deprecated
View.swift:7 · swift/hardcoded-color
75 concern checks flag probable problems across 14 frameworks. Another 356
detectors only note component usage or good practice, which decides which HIG
references the report includes (431 rules in total). Configuration, inline
suppressions, baselines, SARIF output, and --fail-on let you gate only new findings.
| Surface | Use it for | Start |
|---|---|---|
| Audit CLI | Source scans and CI gates | npx hig-doctor . |
| MCP server | Search, lookup, file audits, and explanations | npx -y hig-mcp |
| Agent skills | Design guidance and source audits | Canonical agent skills |
| Core package | Embed the rule engine | npm install @raintree-technology/hig-doctor-core |
The MCP server runs over stdio or streamable HTTP. See packages/mcp for client setup.
framework detection → regex scan → structural refinement → categorized findings → report or SARIF
A comment- and string-aware regex tier runs first. Swift structural analysis and the TypeScript compiler (when installed) then drop findings the code already handles. Each finding records which engine produced it.
| Framework | Concern checks | Detectors | Basis |
|---|---|---|---|
SwiftUI (swift) | 13 | 57 | Apple HIG |
| UIKit | 9 | 26 | Apple HIG |
| AppKit | 4 | 21 | Apple HIG |
| watchOS | 0 | 13 | Apple HIG |
| visionOS | 0 | 10 | Apple HIG |
React / Next.js (web) | 24 | 98 | HIG-aligned |
| CSS / SCSS | 10 | 15 | HIG-aligned |
| Vue / Nuxt | 1 | 18 | HIG-aligned |
| Angular | 1 | 16 | HIG-aligned |
| Svelte / SvelteKit | 1 | 13 | HIG-aligned |
| Flutter | 3 | 18 | HIG-aligned |
| Jetpack Compose | 4 | 24 | HIG-aligned |
| Android XML | 4 | 14 | HIG-aligned |
| React Native | 1 | 13 | HIG-aligned |
| Rule ID | Severity | Fix | HIG |
|---|---|---|---|
swift/navigation-view-deprecated | moderate | Migrate to NavigationStack (single column) or NavigationSplitView (sidebar layouts). | hig |
swift/hardcoded-color | moderate | Use semantic colors (.primary, .secondary, or an asset-catalog color) that adapt to dark mode. | color |
swift/hardcoded-rgbcolor | moderate | Move the color into an asset catalog with light/dark variants. | color |
swift/hardcoded-uicolor | moderate | Use a semantic UIColor (label, systemBackground) or an asset-catalog color. | color |
swift/hardcoded-color-ui-color | moderate | color | |
swift/hardcoded-font-size | moderate | typography | |
swift/hardcoded-uifont | moderate | typography | |
swift/on-tap-gesture-without-traits | moderate | Prefer Button, or add .accessibilityAddTraits(.isButton) so VoiceOver announces it. | accessibility |
swift/image-without-a11y | moderate | accessibility | |
swift/is-accessibility-element-false-on-interactive | serious | Keep interactive elements exposed to accessibility; give them a label instead of hiding them. | accessibility |
swift/hardcoded-cgrect | moderate | layout | |
swift/ignores-safe-area | moderate | layout | |
swift/non-private-state | moderate | feedback | |
uikit/hardcoded-uifont-name | moderate | Scale custom fonts with UIFontMetrics, or use preferredFont(forTextStyle:). | typography |
7-day copy clicks
npx claudepluginhub raintree-technology/hig-doctor --plugin apple-hig-skillsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground