claude-code-setup-hooks

Community

Automate code quality checks.

Authorqlawmarq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the setup of project-specific hooks for linting, formatting, and testing, ensuring consistent code quality and streamlining the development workflow.

Core Features & Use Cases

  • Project Type Detection: Automatically identifies project languages (Node.js, Python, Go, Rust, etc.) based on project files.
  • Tool Identification: Detects available linters, formatters, and test runners within the project.
  • Hook Configuration: Creates .claude/settings.json for PostToolUse, PreToolUse, and SessionEnd hooks.
  • Script Generation: Generates language-specific hook scripts in .claude/hooks/.
  • Use Case: When starting a new Node.js project, use this skill to automatically set up Prettier for formatting and ESLint for linting, ensuring all code committed adheres to project standards.

Quick Start

Use the claude-code-setup-hooks skill to set up hooks for a python project.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-code-setup-hooks
Download link: https://github.com/qlawmarq/dotfiles-common/archive/main.zip#claude-code-setup-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.