hig-doctor
Audits interface source code (Swift, UIKit, AppKit, React, Vue, Svelte, Angular, Compose, Android XML, Flutter, CSS, HTML) for Apple HIG-aligned interface and accessibility problems by running the HIG Doctor CLI, then reports findings by severity and helps remediate them. Review evidence, not certification.
How do I install this agent skill?
npx skills add https://github.com/podo/design-agent-skills --skill hig-doctorIs this agent skill safe to install?
- Gen Agent Trust Hubfail
This skill downloads and executes code from third-party sources (GitHub and NPM) to perform interface audits. While functional for its stated purpose, it introduces a dependency on external code that is not from a pre-verified trusted vendor.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
hig-doctor
<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->Catalogue stub — full skill: raintree-technology/hig-doctor
Decision tree
-
Is the full skill already installed? Upstream names this skill
hig-doctor-audit, so it installs next to this pointer (the pointer is not replaced).- Global:
f=~/.agents/skills/hig-doctor-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - Project:
f=.agents/skills/hig-doctor-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ the skill is installed ashig-doctor-audit, invoke it and proceedpointer→ go to step 2
- Global:
-
Detect scope, then install:
[ -e ~/.agents/skills/hig-doctor ] && echo "global" || echo "project"Global:
npx skills add raintree-technology/hig-doctor/plugin/skills/hig-doctor-audit -g -yProject:
npx skills add raintree-technology/hig-doctor/plugin/skills/hig-doctor-audit -yClaude Code: send a command as a chat message starting with
!to run it without leaving the conversation.
Heads-up
- Requires: Node.js with npx and npm registry access at audit time (the skill runs a version-pinned
npx -y hig-doctor@<version> <target> --json); optional companion for the guidance behind each finding: the apple-hig-skills pointer (the hig-* reference skills) - License: MIT (tooling; Apple reference content is attributed, see upstream THIRD_PARTY_NOTICES.md)
Invoke after install
- Skill name:
hig-doctor-audit - Trigger phrases: "HIG compliance", "Apple HIG audit", "scan this code for HIG issues", "fix Apple HIG"
What it does
A scan-and-remediate workflow around the HIG Doctor CLI. Given a repository or directory, it runs the version-pinned npx -y hig-doctor@<version> <target> --json, reports the detected frameworks, severity counts, rule IDs, locations and analysis limits, separates mechanical fixes from changes that need product, design or accessibility judgment, and, if you authorise remediation, fixes and re-runs the audit. It preserves justified suppressions and baselines and never claims that a scan proves HIG compliance. It does nothing useful without source code to audit.
Needs Node.js with npx and npm registry access. The guidance behind each finding comes from the HIG reference skills, which are a separate pointer: apple-hig-skills.
When NOT to use
- General Apple design advice with no source to audit — use
apple-hig-skills(thehig-*reference skills) - SwiftUI implementation help — use
swiftui-patternsorswiftui-claude-skills - Web accessibility conformance audits — use
wcag-audit-patterns
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/podo/design-agent-skills/hig-doctor">View hig-doctor on skillZs</a>