Skip to content
#2035 Overall#168 in CodingVerified SKILL.md

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.

Claude CodeCodexSKILL.md
0Total downloads
0Active installs
227.6KCommunity stars
Momentum rank

Overview

What It Does

Setup Pre Commit packages a focused coding & development workflow for an AI agent. 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. It is best suited to users who can review the resulting actions and provide only the accounts, files, or command access needed for the task. It is not a substitute for human approval on destructive, financial, security-sensitive, or public-facing actions.

Task ideas

Popular Use Cases

  • Review and improve a code change
  • Automate a repeatable development task
  • Investigate failures and prepare a fix
  • Work with repositories and developer tooling

Installation

Install this Agent Skill

Claude Code

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

Commands derived from the public GitHub SKILL.md record. Checked 2026-09-02. Review the source before running them.

Before you start

Requirements

Claude CodeRequired / review
CodexRequired / review
Public SKILL.md sourceRequired / review
Review instructions and requested permissions before installationRequired / review
Paid serviceCheck source
Supported systemCheck source

Popularity context

Why It’s Popular

Setup Pre Commit is a verified Agent Skill from mattpocock with a public SKILL.md, compatible with Claude Code, Codex.

Alternatives

Similar Skills