Check Staged — Git skill for Claude Code
Inspect the staged changes for correctness, logic integrity, and impact relative to the last commit.
How to install Check Staged
Installs to ~/.claude/commands/dangduoc08-ginject-check-staged.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dangduoc08/ginject/HEAD/.claude/commands/check-staged.md -o ~/.claude/commands/dangduoc08-ginject-check-staged.md Restart Claude Code, or start a new session, for it to be picked up.
What Check Staged does
name: check-staged description: Inspect the staged changes for correctness, logic integrity, and impact relative to the last commit. Stash unstaged work first so the working tree is clean and the diff is unambiguous.
Mission
Inspect staged changes for correctness, logic integrity, and impact relative to the last commit.
Stash unstaged work first so the working tree is clean and the diff is unambiguous.
Steps
- Abort if nothing is staged. Run `git diff --staged --st
Alternatives in Git
- Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
- Impact Git — Analyze git branch changes and impact 512 ★
- PR Impact — Analyze PR or branch impact using the call graph 193 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Al Commit Split
Inspect the working tree and produce grouped, ready-to-paste commit command blocks
Draft Commit Message
Analyze the staged and unstaged changes, then output a single conventional commit message line.
Detailed Commit
Create a detailed commit message for all staged and unstaged changes.
Karpathy Check
Run Karpathy's 4-principle review on staged changes or the last commit. Checks complexity, diff noise, hidden
Check Secrets
Scan the working tree and recent git history for accidentally-committed BFL API keys, webhook secrets, or othe
Review Commit PR Discipline
Review the current branch's commits and working tree for commit and pull-request discipline, then produce well
Related Agents
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Secrets Auditor
Credential scanner — scans staged diff and working tree for secrets, tokens, and credentials. Groups findings
Red Line Auditor
Pre-commit/pre-deploy auditor for LUMINA's red lines — the violations that fail the assignment outright. Read-