Skip to content
S

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged

by mattpocockFree

Launch
#137in AI Skills
0In stores

Description

setup-pre-commit is an agent skill from Matt Pocock's skills collection, listed on skills.sh. It sets up Husky pre-commit hooks with lint-st…

Highlights

  • Husky and lint-staged
  • Prettier on staged files
  • Typecheck and tests before commit

Ratings & Reviews

No ratings yet

Be the first to rate setup-pre-commit.

People also visit

C

content-research-writer

Assists in writing high-quality content by conducting research

AI Skills
Launch
B

batch-grill-me

A relentless interview that asks every frontier question at once, round by round

AI Skills
Launch
C

coding-agent

Delegate coding work to Codex, Claude Code, or OpenCode as background workers

AI Skills
Launch
B

brand-guidelines

Applies Anthropic's official brand colors and typography

AI Skills
Launch
C

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy

AI Skills
Launch
C

changelog-generator

Automatically creates user-facing changelogs from git commits

AI Skills
Launch

setup-pre-commit FAQ

What does the setup-pre-commit skill do?

It sets up Husky pre-commit hooks with lint-staged running Prettier on staged files, plus type check and test scripts, detecting npm, pnpm, yarn or bun.

How do I install the setup-pre-commit skill?

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

Is it free?

Yes. It is free and open source.

What is an agent skill?

A SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent such as Claude Code loads when a task needs it, so it handles that task the same careful way every time.

Has it been checked for security?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass. A Warn is worth reading before you install.

What are the best setup-pre-commit alternatives?

Popular alternatives to setup-pre-commit include content-research-writer, batch-grill-me and coding-agent. See all setup-pre-commit alternatives

Developer Stuff

Badges