Skill / mattpocock

Setup Pre Commit Codex Skill

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…

Docs reviewedChecked 2026-09-21Runtime not tested

What it adds

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…

browser and testing

Get set up

  1. Run the install command below and pick Codex when the CLI asks which agent to install for.
  2. Start a new Codex thread so the skill loads.
npx skills add https://github.com/mattpocock/skills --skill setup-pre-commit
Review before running
Read the installation source

Before you install

  • Node.js, to run the skills CLI

Compatibility & limitations

SKILL.md format, readable by Codex

Cursor: SKILL.md format; not tested in Cursor.

    This listing is based on source documentation. We have not installed or runtime-tested this asset.

    Sources & provenance

    Reviewed 2026-09-21. Source revision: main (mutable; commit not pinned).