/claude-frontforge:auditfrom claude-frontforge
Find UI inconsistencies in your code — off-grid spacing, wrong depth strategy, out-of-palette colors, and component drift from established patterns. Reports violations with file and line numbers. Add --fix to auto-correct safe issues.
Ships in claude-frontforge. Installing the plugin adds it to Claude Code.
Check existing code against your design system.
/audit <path> # Audit specific file/directory
/audit # Audit common UI paths
/audit <path> --fix # Auto-fix violations where safe
If .frontforge/system.md exists:
Spacing violations
Depth violations
Color violations
Pattern drift
Report format:
Audit Results: src/components/
Violations:
Button.tsx:12 - Height 38px (pattern: 36px)
Card.tsx:8 - Shadow used (system: borders-only)
Input.tsx:20 - Spacing 14px (grid: 4px, nearest: 12px or 16px)
Suggestions:
- Update Button height to match pattern
- Replace shadow with border
- Adjust spacing to grid
If no system.md:
No design system to audit against.
Create a system first:
1. Build UI → establish system automatically
2. Run /extract → create system from existing code
When --fix is passed, automatically correct safe violations:
Safe to auto-fix:
Requires confirmation:
Always show a diff preview and ask for confirmation before applying fixes:
Ready to fix 3 violations:
Button.tsx:12 — 38px → 36px (pattern)
Card.tsx:8 — shadow → border (depth)
Input.tsx:20 — 14px → 16px (grid)
Apply these changes? (y/n/review each)
--fix: collect safe fixes, preview diff, apply on confirmationWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
16 commands in this plugin
/analyze-websiteclaude-frontforge:analyze-websiteCopy any website's design system — give a URL and get back its colors, typography scale, spacing grid, shadows, and layout patterns with confidence scores. Outputs CSS variables, Tailwind config, or Figma tokens ready to use./bannerclaude-frontforge:bannerShow the Frontforge activation banner (full, compact, or status indicator). Displayed automatically by other commands — use directly to verify the skill is installed and active, or to show available commands and agents./colorizeclaude-frontforge:colorizeAdd strategic, semantic color to a monochrome or flat UI — status, actions, and emphasis, not decoration. Use when a screen reads as gray-on-gray and needs color to communicate, not when it already has a working accent and just needs new components./componentclaude-frontforge:componentBuild a UI component (Button, Card, Modal, Input, Table, Dropdown, etc.) with all variants, interactive states (hover, focus, disabled, loading), accessibility attributes, and design token references — consistent with the project's established design system./critiqueclaude-frontforge:critiqueUX heuristic review of a screen or flow — scores hierarchy, cognitive load, feedback, error prevention, and consistency, and returns a prioritized punch list. Unlike /audit (which only checks consistency against your own system.md), critique judges quality against absolute usability standards./extractclaude-frontforge:extractScan existing UI files to detect the spacing grid, radius scale, button and card patterns, and depth strategy already in use — then save everything to .frontforge/system.md. Ideal when inheriting or taking over an existing codebase.npx claudepluginhub thiagoedson/claude-frontforge --plugin claude-frontforgeOther plugins' commands for the same job