What problem does it solve? Husky pre-commit hooks that run a repository-wide formatter followed by git add -A can drag files your change never touched into a commit, or reject the commit over lint and test failures in unrelated code. This Skill provides a compliant procedure to make the tree formatted and green before staging, so the hook becomes a no-op without ever skipping it. ## Core Features & Use Cases - Formatter Drift Triage: Run the format target before staging, inspect git status --porcelain, and split pre-existing drift into its own style commit or restore files owned by other branches. - Hook Reproduction: Re-run the lint and unit-test targets locally so nothing fails at commit or push time, skipping any profile key mapped to null with a recorded note. - Shape-Aware Guidance: Covers React SPA, Next.js, and component-library repository shapes, including where the heavy gate lives (pre-commit vs pre-push) per shape. - Use Case: Your focused feature commit balloons into a 40-file diff because the hook reformatted the repo. Use this Skill to separate the formatting sweep, stage only intended files, verify with git diff origin/main --name-only, and push explicitly to the feature branch. ## Quick Start Ask the assistant to fix a Husky pre-commit hook that pulled unrelated reformatted files into your commit and split the formatting drift into a separate commit.