aRustyDev

Pre Commit Hooks — Documentation skill for Claude Code

Documentation community intermediate

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 analysis
  • shfmt - Shell script formatting

Git/Commits

  • commitizen - Conventional commit messages
  • commitlint - Commit message linting
  • gitlint - Git commit message linter

Nix

  • nix-fmt - Nix code formatter
  • nix-lint - Nix linter
  • nix-build - Nix build validation

Web Development

...