What problem does it solve? After a spec-to-code audit finds gaps (missing features, partial implementations, visual drift from mockups), developers must manually reconcile code with specifications. This Skill automates that correction loop by loading the full project context, generating a targeted fix plan, executing fixes, and verifying results with tests and visual gates. ## Core Features & Use Cases - Gap-driven fixes: Loads the latest gap report from .specs/features/NNN/checks/, filters by flags (--visual, --functional, --fr, --ac), and fixes functional and visual divergences with a retry loop (up to 3 iterations). - Visual correction pipeline: Compares Playwright baselines against design mockups via pixel diff plus LLM visual reasoning, enforces theme.css tokens, and certifies results through a non-skippable visual gate. - Conventions debt mode: --conventions burns down conventions debt worst-first, requiring strictly decreasing debt and zero new violations. - Use Case: After /spec-check reports 3 functional gaps and 2 visual divergences on a notifications feature, run /spec-fix 004-notifications to automatically patch the code, re-capture baselines, and update implementation.md and changelogs. ## Quick Start Ask the AI to run /spec-fix for your feature name to close all gaps found in the latest spec-check report.