/patrick-skills:audit-design-system-healthfrom patrick-skills
Audit one or more code repositories for design-system drift, hardcoded visual decisions, inconsistent token or primitive use, overlapping UI components, missing system capabilities, and enforceable rules. Produce a prioritized read-only health and consolidation report grounded in source and rendered evidence. Do not use for aligning one component, UI ideation, greenfield system creation, Figma-only audits, or automatic refactoring.
Ships in patrick-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn broad repository signals into a defensible, read-only account of design-system coherence. Identify what should converge, what should remain intentionally different, what the system cannot yet express, and which stable rules deserve automation.
Locate and rank actual authorities:
Record conflicts and adapters instead of pretending there is one canonical file. Separate general UI semantics from brand assets, data palettes, generated files, authored content, visualizations, emergency fallbacks, and intentional experiments.
Read references/signals-and-enforcement.md, then choose only the relevant stack guidance.
Cluster components using role, rendered structure, imports, styling, names, and source similarity. For every candidate compare:
Choose merge, extract a smaller primitive, share tokens only, document the distinction, retire after migration, or no action. Similar appearance or duplicated lines alone do not justify consolidation.
Assign each material finding one class:
Prioritize with judgment: user and accessibility impact, spread, drift risk, evidence confidence, migration cost, and reversibility. Do not hide those dimensions behind a synthetic health score.
Recommend automation only when the rule is stable, machine-detectable with low false positives, has a clear replacement or repair path, and has an explicit exception policy. Match the mechanism to the claim:
Describe the rule, scope, exclusions, migration prerequisite, owner, and whether it should begin as informational or blocking. Do not configure it during the audit.
Return:
Do not redesign, refactor, install tooling, change policy, or claim compliance as part of the audit. Route a later bounded component correction to align-ui-to-design-system; substantial approved remediation should be planned and implemented separately.
agents/openai.yaml (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/react-native/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/swiftui/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/web/PROJECT_CONTEXT.md (opens in a new tab)evals/routing.json (opens in a new tab)references/signals-and-enforcement.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
patrick-skills@patrick-plugins is listed by pdugan20/plugins — review the source before installing
npx claudepluginhub pdugan20/plugins --plugin patrick-skills18 skills in this plugin
/align-ui-to-design-systemReview one completed UI component or bounded surface against the design system evidenced in its repository, classify accidental deviations, intentional exceptions, system gaps, and uncertainty, then apply only approved corrections. Use for post-build UI conformance or normalization. Do not use for UI ideation, repository-wide audits, exact design translation, or general production hardening./analyze-ui-videoUse when a user supplies a UI screen recording or video and asks to dissect, diagnose, reverse engineer, compare expected and observed behavior, or explain how it could map to a target repository. Do not use for static screenshots, code-only motion review, video editing, or implementation requests without video evidence./animate-watercolorExtend an existing watercolor illustration family with suitable still artwork, authored reveals, transparent compositing and quiet ambient motion. Use for matching a new subject to accepted paintings, painting-in illustrations, late-detail jumps and dark-mode material defects. Not for standalone image generation, general UI transitions, unrelated generative art or video stylization; image generation requires an explicit request./bootstrap-repositoryUse when creating or initializing a new software repository, or turning an empty or newly generated project directory into a maintained local and GitHub-ready repository. Applies across Swift, Expo or React Native, Python, React or TypeScript, and other stacks. Do not use for auditing or modernizing an established repository, adding one CI job, implementing product features, deploying, or publishing./capture-featureUse when a user asks to snapshot, record, re-record, or prepare a web feature or prototype for review in Slack, Figma, or another lightweight sharing destination. Prefer an existing repository-native capture recipe and produce reproducible video, stills, provenance, and share copy. Do not use for analyzing a supplied recording, long narrated marketing demos, ordinary browser tests, or a one-off manual screenshot with no reusable capture intent./code-native-ui-ideationUse when a user wants to brainstorm or compare multiple runnable UI, interaction, layout, visual, or motion directions in an existing web or native app before choosing one. Do not use for exact implementation of a selected design, production delivery, audits, or requested static or generated mockups.