Skip to main content
skill CX Codex

consistency-auditor — Claude Code skill: what it does, how to install

consistency-auditor is a Claude Code skill that audits source code against a project Design Foundation to find visual inconsistencies. It flags duplicate literal colors and border-radius values.

MIT ★ 529 updated 2026-11-17

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ShuaiMXu/happyhands --skill consistency-auditor -a claude-code
Open on GitHub

What consistency-auditor does

The skill checks source code against approved Design Foundation entries to identify UI implementation discrepancies. Its deterministic handler scans for repeated hardcoded colors and literal border-radius declarations, citing exact files and values.

During the review, intentional variations are separated from accidental duplication. The logic favors mapping values back to existing tokens or components, suggesting a new design element only when the current system cannot accommodate the case. It avoids calculating arbitrary experience scores.

Auditing requires both product source code and a project Design Foundation. Assessing component equivalence or visual context still demands subsequent human evaluation.

What it helps with

  • audit source code against approved Design Foundation tokens
  • detect hardcoded colors and literal border-radius values
  • identify accidental styling duplicates across UI files
  • consolidate custom styling into existing design tokens

Example prompts for the agent

  • Audit our frontend code against the Design Foundation
  • Find hardcoded color literals and border-radius values in the UI
  • Identify inconsistent styling and suggest approved design tokens

How to install consistency-auditor

1Skills CLI (Vercel)

npx skills add ShuaiMXu/happyhands --skill consistency-auditor -a claude-code

2Manually: put the files in place

~/.claude/skills/consistency-auditor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/consistency-auditor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about consistency-auditor

How do I install consistency-auditor in Claude Code?

Run npx skills add ShuaiMXu/happyhands --skill consistency-auditor -a claude-code.

What does consistency-auditor do?

It audits source code against approved Design Foundation entries to pinpoint styling discrepancies, focusing on repeated raw colors and border-radius values.

What is required to run consistency-auditor?

The audit requires access to your product source code and a project Design Foundation.

Source text

SKILL.md · MIT
---
name: consistency-auditor
description: Audit a product for visual and component inconsistencies when source code and a project Design Foundation are available.
---

# Consistency Auditor

Identify inconsistent implementations that increase user confusion or maintenance cost. Treat static frequency as a signal for review, not proof of a UX defect.

- Compare implementation values with `approved` Foundation entries.
- Cite every file and value used as evidence.
- Separate deliberate variants from unexplained duplication.
- Prefer consolidation into an existing approved token or component; propose a new artifact only when the existing system cannot express the need.
- State confidence and uncertainty. Do not convert an arbitrary threshold into an Experience Score.

The deterministic handler currently detects repeated literal colors and border-radius values. Component equivalence, visual context and intentional exceptions require later analysis.

© ShuaiMXu · MIT · ShuaiMXu/happyhands

Similar skills

All skills for Frontend and UI →

From the same set34

The whole set →
regression-case-author regression-case-author is a Claude Code skill that turns reviewed product changes into portable regression test cases. It preserves concrete examples for future agent evaluations. CX Codex +1 ★ 529repo stars accessibility-reviewer accessibility-reviewer is a Claude Code skill that reviews interface accessibility using browser and source evidence. It checks semantics, keyboard behavior, contrast, and accessible states. CX Codex +1 ★ 529repo stars trust-conversion-reviewer trust-conversion-reviewer is a Claude Code skill that inspects whether visible proof, risk details, and next actions support an informed user choice. CX Codex +1 ★ 529repo stars experience-score-calibrator experience-score-calibrator is a Claude Code skill that calibrates Experience Score dimensions against reviewed evidence. It checks coverage and uncertainty before presenting an aggregate score. CX Codex +1 ★ 529repo stars judgment-distiller judgment-distiller is a Claude Code skill that turns an accept-or-reject decision and its rationale into a project-scoped learning candidate. It keeps observations separate from broader principles. CX Codex +1 ★ 529repo stars component-reuse-planner component-reuse-planner is a Claude Code skill that decides whether to reuse, extend, or create UI components. The decision relies on the governed project inventory and approved states. CX Codex +1 ★ 529repo stars content-design-reviewer content-design-reviewer is a Claude Code skill that checks interface labels and guidance for clarity and consistency. It ties findings to a user task and its outcome. CX Codex +1 ★ 529repo stars interaction-reviewer interaction-reviewer is a Claude Code skill that reviews interaction flow and control behavior. It detects missing feedback, unnecessary steps, and unsafe UI state transitions. CX Codex +1 ★ 529repo stars

Project sponsors

Companies that keep this analytics open