AgentStack
SKILL verified MIT Self-run

Pre Commit Guard

skill-netanel-abergel-pa-skills-pre-commit-guard · by netanel-abergel

|-

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-netanel-abergel-pa-skills-pre-commit-guard

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Pre Commit Guard? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Pre-Commit Guard

Last line of defense against the TOOLS.md class of issues.

When to use

  • Auto-run as .git/hooks/pre-commit (preferred)
  • Manual invocation: bash skills/pre-commit-guard/scripts/check_repo.sh

Checks

  1. Credential scan — block if any tracked file matches:
  • eyJ[A-Za-z0-9_\-]{20,}\.eyJ (JWT)
  • gh[ps]_[A-Za-z0-9]{36} (GitHub PAT)
  • xox[bp]-[0-9-]+-[A-Za-z0-9]+ (Slack)
  1. File size — warn on files >100KB tracked under doctrine paths (*.md at repo root)
  2. SKILL.md validation — for each skills/*/SKILL.md, require frontmatter with name: and description: fields

Failure mode

Print failures, exit 1, block commit.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.