setup-pre-commit
CommunityAutomate code quality with pre-commit hooks.
Authorwalid-mos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the setup of pre-commit hooks to ensure code quality and consistency before each commit, reducing errors and manual checks.
Core Features & Use Cases
- Automated Code Formatting: Integrates Prettier to automatically format staged code.
- Linting & Type Checking: Sets up
lint-stagedto run linters and optional type checks on staged files. - Use Case: When starting a new project or onboarding a new developer, quickly set up robust pre-commit hooks to maintain code standards across the team.
Quick Start
Use the setup-pre-commit skill to add Husky, lint-staged, and Prettier to the current project.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: setup-pre-commit Download link: https://github.com/walid-mos/mac-config/archive/main.zip#setup-pre-commit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.