What problem does it solve?
Prevents merging pull requests that introduce new SonarCloud issues or stale documentation by performing a strict, reproducible pre-merge validation workflow and a mandatory documentation audit before marking work complete.
Core Features & Use Cases
- SonarCloud Enforcement: Fetches SonarCloud analysis for the PR, requires 0 new issues of any severity, and verifies coverage thresholds on new code.
- Plan Reconciliation: Compares the story plan and commit history to actual code changes and records amendments when deviations are found.
- Pre-Merge Documentation Audit: Performs a mandatory, line-level accuracy check of CODE-STRUCTURE layer files against changed source files (Section 7.5), blocking story completion until the audit is clean.
- CI and Deployment Verification: Waits for CI/Vercel, validates preview deployment accessibility, and uses helper scripts to collect checks and Sonar reports.
- Use Case: When a reviewer sees "code looks good" after Vercel preview testing, run this Skill to move the PR out of draft, run SonarCloud, resolve any issues, perform the documentation audit, and produce a final validation summary.
Quick Start
Run the validation flow after the user confirms "code looks good" so the skill can mark the PR ready, wait for CI and SonarCloud, enforce zero new issues, and perform the pre-merge documentation audit.