Pre Commit Hooks — Documentation skill for Claude Code
by aRustyDev - This repository is about pre-commit-hooks in general, but the CLAUDE.md and related .claude/ documentation is exemplary.
How to install Pre Commit Hooks
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open aRustyDev/pre-commit-hooks and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pre Commit Hooks does
[](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/ci.yml) [](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/security.yml) [](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/coverage.yml)
Alternatives in Documentation
- Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
- Context7 — claude-plugins-official Up-to-date library documentation lookup 50.1k ★
- Notion Research Documentation — Research Notion content and synthesize findings into structured briefs 14.6k ★
README
pre-commit-hooks
[](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/ci.yml) [](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/security.yml) [](https://github.com/aRustyDev/pre-commit-hooks/actions/workflows/coverage.yml) [](https://github.com/aRustyDev/pre-commit-hooks/releases) [](https://www.npmjs.com/package/@arustydev/pre-commit-hooks) [](https://pypi.org/project/arustydev-pre-commit-hooks/) [](https://opensource.org/licenses/MIT)
A collection of pre-commit hooks for various languages and tools to ensure code quality, security, and consistency.
Features
- 🔍 Multi-language support: Hooks for Python, JavaScript, Go, Rust, Nix, and more
- 🛡️ Security scanning: Integration with security tools
- 📊 Code quality: Linting, formatting, and style checks
- 🚀 CI/CD ready: Works seamlessly with GitHub Actions
- 📦 Multiple installation methods: pre-commit, npm, pip, or direct download
Installation
Using pre-commit (Recommended)
Add this to your `.pre-commit-config.yaml`:
repos:
- repo: https://github.com/aRustyDev/pre-commit-hooks
rev: v0.1.0 # Use the latest release
hooks:
- id: shellcheck
- id: shfmt
# Add more hooks as needed
Then run:
pre-commit install
pre-commit run --all-files
Using npm
npm install --save-dev @arustydev/pre-commit-hooks
Using pip
pip install arustydev-pre-commit-hooks
Direct Installation
curl -sSL https://github.com/aRustyDev/pre-commit-hooks/releases/latest/download/install.sh | bash
Available Hooks
Shell/Bash
shellcheck- Shell script analysisshfmt- Shell script formatting
Git/Commits
commitizen- Conventional commit messagescommitlint- Commit message lintinggitlint- Git commit message linter
Nix
nix-fmt- Nix code formatternix-lint- Nix linternix-build- Nix build validation
Web Development
...
Related Skills
Cchooks
by GowayLee - A lightweight Python SDK with a clean API and good documentation; simplifies the process of writ
Arra Safety Hooks
Claude Code safety hooks — enforcement over documentation
Cadence Handoff
Scaffold a SESSION handoff doc with machine facts pre-filled
Markdown
Write/review Markdown using 800-markdown.mdc and related docs rules
Md
Convert pasted text into a properly formatted markdown file with frontmatter, save it to the right location in
Maintainer Work
Take a reported issue through the maintenance loop — confirm, verify against source-of-truth, fix, PR into dev
Related Agents
Precheck Reader
Read-only pre-check reader. Before a lot that has no commit is implemented, looks in the repository for a deli
CI Agent
CI/CD validation and workflow integrity. Use when validating Tekton pipelines, checking local/CI parity, debug
Devex
Developer experience specialist. Invoke for CI/CD pipeline design or optimisation, build time reduction, local