SKILL497.3K installs304.2K

Setup Pre Commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Type
Skill
Author
mattpocock
Category
Devops
GitHub stars
304.2K
Installs
497.3K
Last updated
November 1, 2026

Install

npx skills add https://github.com/mattpocock/skills --skill setup-pre-commit

Use cases


Frequently Asked Questions

What does this skill automate?

It automates tasks related to pre-commit hooks in Git.

What tools does it configure?

It configures Husky, lint-staged, Prettier, type checking, and tests.

What is the purpose of using this setup?

It is useful for enforcing code quality and style guidelines before committing code.


About this skill

Setup Pre Commit is a collection of skills from the author's personal .claude directory. It's likely used to automate tasks related to pre-commit hooks in Git. This is useful for developers who want to enforce code quality and style guidelines before committing code.

Summary written with AI assistance from the project's public description.


Categories


More from mattpocock


Similar Skills