| name | forge-fix |
| description | Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage. |
| user-invokable | true |
/forge-fix — Auto-Fix Violations
Apply automatic fixes for all violations found by /forge-audit:
- Replace raw hex values with var(--token-name) references
- Snap spacing values to nearest scale value
- Replace non-system fonts with the configured display/body/mono fonts
- Normalize font-size values to type scale steps
- Replace arbitrary shadows with system elevations
Shows before/after for every change. Requires confirmation before writing.