Diff Spec — Testing skill for Claude Code
Diff a product's built UI against its DESIGN_SPEC.md — catches drift (tokens missing from CSS, surfaces named in spec but not rendered, type ramps off-spec, etc.).
How to install Diff Spec
Installs to ~/.claude/commands/aanifowose111-discovery-to-ship-multi-agents-diff-spec.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/aanifowose111/discovery-to-ship-multi-agents/HEAD/.claude/commands/diff-spec.md -o ~/.claude/commands/aanifowose111-discovery-to-ship-multi-agents-diff-spec.md Restart Claude Code, or start a new session, for it to be picked up.
What Diff Spec does
description: Diff a product's built UI against its `DESIGN_SPEC.md` — catches drift (tokens missing from CSS, surfaces named in spec but not rendered, type ramps off-spec, etc.). REPORTS divergence neutrally; does NOT penalize improvements over the spec. User decides per finding whether it's an intentional improvement, an unintended drift, or a fix to make. Per the claude-led design path. argument-hint:
You are about to diff the built UI of one product against its design
Alternatives in Testing
- Loki Grill — Interrogate a spec with Loki's Devil's-Advocate grill before building, and summarize the hardest questions it 1.1k ★
- Design QA — Visual QA on an HTML/CSS implementation — checks responsive behavior at mobile/tablet/desktop, design token co 309 ★
- Toh Framework — Type one sentence, approve once, walk away — Toh Framework installs an AI build department (14 commands, 8 age 94 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Auto Test
Auto-Testing Skill — PP Quality Gate. Detects the project type (Python/Node/Java/Mixed/Unknown) of the current
QA Regress
Impact-based regression. Maps changes (ADO work items, sprint, app-repo PRs/commits, local diff, or named comp
Spec Design
Refine design.md for an active change. Surfaces missing constraints, writes the initial draft to disk, then re
Intent Planner
Pre-spec steering layer for AI coding agents — capture product intent, invariants, and decision criteria befor
Pre Commit Review
Independent QA review of a working-tree diff before commit. Spawns a read-only reviewer agent to find correctn
Claudemd Doctor
Run health checks on claudemd installation. Flags missing deps, spec drift, settings.json issues, hook drift,
Related Agents
Typesetter
Invoked for any change under apps/web/src//.css, layout, type scale, palette tokens, or UI components. Guards
Stamity Design Quality
Reviews rendered surfaces and the flows through them when a component, view, or style file changes, deciding n
Design System Enforcer
Validates that implementations conform to design system tokens, component patterns, and naming conventions. Ca