Skill · Testing

setup-pre-commit

Testingmcpso

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.

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

Generic steps — the original listing is authoritative. Copy the command, run it where you keep agent skills, then confirm version and requirements in the original listing.

At a glance

  • Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo.
  • Published by mattpocock — listed by mcpso. Setup details live in the original listing.

How to use

  1. Copy the Install command above.
  2. Run it where you keep agent skills.
  3. Confirm version and requirements in the original listing.

More in Testing

  • explore-code — Rigor Improve implementation leaf skill for auditable candidate implementation in deep learning research repos
  • safe-debug — Rigor Debug / Rigor Audit skill for deep learning research work.
  • minimal-run-and-audit — Rigor Run skill for README-first deep learning repo reproduction.
  • migrate-to-shoehorn — Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, w
  • copy-editing — When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content.
  • review — Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does t

More from mattpocock

  • grill-me — Get grilled on any topic
  • grilling — Socratic grilling for deeper understanding
  • grill-with-docs — Grilling grounded in your docs
  • ask-matt — Ask questions via question-driven learning loops

← Back to Skills catalog · View original listing ↗

Outdated or wrong? Report this listing.