What problem does it solve?
Accidental inclusion of unwanted files in a commit can cause leaks, broken builds, or noisy history. This skill lets developers see exactly what is staged versus what remains modified before finalizing a commit.
Core Features & Use Cases
- Staged vs Unstaged Report: Generates a JSON summary of files that are staged and those that are modified but not staged.
- Warning Detection: Highlights common accidental patterns such as log files, environment files, and SDK history files.
- Comparison Mode: When given an expected file list, identifies unexpected staged files and missing expected files.
- Use Case: Before committing, run the skill to verify that only intended source files are staged, avoiding accidental commit of large logs or confidential configs.
Quick Start
Ask the pre‑commit skill to show the current staged and unstaged files before you commit.