Check Before Commit

Scan staged git changes for sensitive information before committing. Checks for API keys, credentials, infrastructure details, PII, and sensitive config files. Behavior adapts to repo visibility: blocks on public repos, warns on private repos. Supports project-level allowlist via .claude/allowlist.json. Use when: committing code, before commit, check sensitive info, pre-commit check, 扫描泄露, 检查敏感信息, commit 前检查.

jamesshi96 a40b197 2 files · 5.1 KB Updated

File contents

jamesshi96/safe-push/tree/main/ commit a40b1977e9

Frequently asked questions

npx skillmds@latest add jamesshi96/check-before-commit