Setup Pre-Commit

Get skill on GitHubRaw SKILL.md on GitHub

Opens the skill on GitHub

Source Matt Pocock

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

Submit a skill

Overview

Configures Husky pre-commit hooks with lint-staged, typechecking, and tests for the current repository.

Use cases

Alternatives

  • AWS AMI BuilderBuilds Amazon Machine Images with Packer's amazon-ebs builder.Coding agentInfraOps
  • CodeQLRuns CodeQL static analysis with interprocedural dataflow and taint tracking across major languages.Coding agentSecurityTesting
  • Control a browser with playwright-cliThis skill lets an agent run a browser through playwright-cli commands so it can open pages, click, type, and read page snapshots. It can also take screenshots, handle tabs and storage, and help with Playwright tests. It suits web app checks and repeatable browser tasks.Coding agentTestingBrowser
  • EAS UpdateConfigures EAS Update for over-the-air JavaScript and asset releases with expo-updates.Coding agentMobileOps
  • gcloudValidates gcloud CLI operations and constructs commands with Google Cloud safety checks.Coding agentInfraOps
  • Hugging Face CLIOperates the Hugging Face Hub CLI for downloads, uploads, repositories, papers, jobs, and Spaces.Coding agentDataOps