Agent skill
git-sensitive-scan
Run sensitive information scanning before commit. Use to check staged files for secrets, credentials, private keys, and local-only endpoints.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-sensitive-scan-kongxiangning-termlink
SKILL.md
Git Sensitive Scan
Use this skill before git commit to avoid leaking secrets or local/private environment information.
Run commands from repository root:
E:\coding\TermLink
Workflow
- Scan staged files:
powershell -ExecutionPolicy Bypass -File ./scripts/git-sensitive-scan.ps1 -Staged
- Scan specific files (optional):
powershell -ExecutionPolicy Bypass -File ./scripts/git-sensitive-scan.ps1 -Files ./.claude/skills/android-local-build-debug/local-config.ps1
-
If a finding is intentional and safe, add marker
sensitive-scan:allowon that line. -
Commit only after scanner passes.
Notes
- Pre-commit hook calls this scanner automatically once
core.hooksPath=.githooksis enabled. local-config.ps1files should remain local and not be tracked by git.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?