Runs before every git commit on heleni-memory. Checks: no credentials in tracked files, no oversized files, valid SKILL.md frontmatter for any new/modified skill. Triggers: "commit", "before push", "validate repo", or auto-runs as a git pre-commit hook.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add netanel-abergel/pa-skills --skill pre-commit-guard --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pre Commit Guard?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/netanel-abergel-pre-commit-guard)More formats (shields.io, HTML) on the badges page.
---
name: pre-commit-guard
description: |-
Runs before every git commit on heleni-memory. Checks: no credentials in tracked files,
no oversized files, valid SKILL.md frontmatter for any new/modified skill.
Triggers: "commit", "before push", "validate repo", or auto-runs as a git pre-commit hook.
---
# 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)
2. **File size** — warn on files >100KB tracked under doctrine paths (`*.md` at repo root)
3. **SKILL.md validation** — for each `skills/*/SKILL.md`, require frontmatter with `name:` and `description:` fields
## Failure mode
Print failures, exit 1, block commit.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...