design-system-auditor

Audit SwiftUI views for hardcoded colors, spacing, and typography.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/tanujsutaria/VitalArc --skill design-system-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-system-auditor
Source: https://github.com/tanujsutaria/VitalArc/tree/main/.claude/skills/design-system-auditor
Command: npx skills add https://github.com/tanujsutaria/VitalArc --skill design-system-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit VitalArc SwiftUI views to enforce design-system token usage and UI consistency.

Core Features & Use Cases

  • Detect hardcoded colors, spacings, and typography and suggest replacements with design tokens.
  • Generate a design-system compliance report summarizing violations and recommendations.
  • Integrate into pre-commit, code-review, or on-demand checks to prevent design drift.

Quick Start

Run the design-system-auditor on the VitalArc SwiftUI source to identify token violations and generate a report.

Frequently Asked Questions about design-system-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit SwiftUI views for design system compliance?

You can detect hardcoded SwiftUI values by running static analysis on Color.*, .padding, .font, and .cornerRadius usages, which outputs a report recommending specific design token substitutions.

How do I prevent design drift in SwiftUI during code review?

Prevent design drift in SwiftUI by applying static analysis checks during code review to catch hardcoded colors, spacing, and typography before they are merged into the main codebase.

Can I run static analysis to detect hardcoded colors and typography in SwiftUI?

Yes, static analysis can detect hardcoded SwiftUI colors and typography by scanning Color.* and .font usages, outputting a compliance report that maps violations to suggested design tokens.

Does the design system auditor work with SwiftUI pre-commit hooks?

Yes, you can integrate the design system auditor into SwiftUI pre-commit hooks to run on-demand checks that block commits containing hardcoded colors, spacing, and typography violations.

What is the best way to enforce design token usage in SwiftUI?

Enforce design token usage in SwiftUI by running static analysis on source files to identify hardcoded values, generating a detailed compliance report with actionable design token substitutions.