Skip to content
anyai.fyi

setup-pre-commit

Skill from mattpocock/skills

Other No risky patterns found curated

Install

npx skills add mattpocock/skills --skill setup-pre-commit

Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.

As a Claude Code plugin

/plugin marketplace add mattpocock/skills /plugin install mattpocock-skills@mattpocock

This skill is part of the plugin “mattpocock-skills”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.

What does the setup-pre-commit skill do?

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.

Description from the SKILL.md in the source repository.

Questions about setup-pre-commit

What does the setup-pre-commit skill do?

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.

How do I install setup-pre-commit?

In a terminal: npx skills add mattpocock/skills --skill setup-pre-commit. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.

Which agents can use setup-pre-commit?

Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.

Is setup-pre-commit safe to use?

Our automatic check found no risky patterns (piped shell scripts, hidden characters, secret access, prompt overrides). It is not a full audit – read the SKILL.md and any scripts before installing.

More skills from mattpocock/skills

grill-me
mattpocock/skills

A relentless interview to sharpen a plan or design.

Other 1510k installs curated
No risky patterns found
grill-with-docs
mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Design & Media 1293k installs curated
No risky patterns found
improve-codebase-architecture
mattpocock/skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

Development 1236k installs curated
No risky patterns found
tdd
mattpocock/skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Testing & QA 1209k installs curated
No risky patterns found
setup-matt-pocock-skills
mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Agents & Workflows 1119k installs curated
No risky patterns found
handoff
mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

Documents & Office 1107k installs curated
No risky patterns found
grilling
mattpocock/skills

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

Testing & QA 1067k installs curated
No risky patterns found
prototype
mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & UI 1050k installs curated
No risky patterns found

Related skills in Other