Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Enforce Repo Hygiene With Pre Commit Hooks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-enforce-repo-hygiene-with-pre-commit-hooks)
---
name: "Enforce repo hygiene with pre-commit hooks"
slug: "enforce-repo-hygiene-with-pre-commit-hooks"
description: "Run a repeatable pre-commit gate that catches formatting, lint, secret, and policy issues before they land in the repo."
github_stars: 15163
verification: "listed"
source: "https://github.com/pre-commit/pre-commit"
author: "pre-commit maintainers"
publisher_type: "organization"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "pre-commit/pre-commit"
github_stars: 15163
---
# Enforce repo hygiene with pre-commit hooks
Run a repeatable pre-commit gate that catches formatting, lint, secret, and policy issues before they land in the repo.
## Prerequisites
pre-commit
## Installation
No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.
- Source: https://github.com/pre-commit/pre-commit
## Documentation
- https://pre-commit.com/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-repo-hygiene-with-pre-commit-hooks/)