dev-setup-pre-commit
CommunitySeamless native git pre-commit hook setup.
Authornikbrunner
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Sets up or migrates git pre-commit hooks to use native git core.hooksPath, avoiding Husky, Lefthook, or other wrapper tools. It detects whether the project uses Node or Deno and guides the migration from Husky, Lefthook, or manual pre-commit setups to a minimal, native solution.
Core Features & Use Cases
- Inventory existing pre-commit configurations (e.g., .husky, lefthook.yml, .pre-commit-config.yaml, package.json dependencies, and .git/hooks).
- Propose and perform migration to a .githooks/pre-commit script tailored for Node or Deno projects, mapping checks where possible.
- Verify and finalize installation by setting core.hooksPath, validating hook execution, and providing a clean deprecation path for old tools.
Quick Start
Run the setup on a project to migrate to native git hooks and verify installation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dev-setup-pre-commit Download link: https://github.com/nikbrunner/dots/archive/main.zip#dev-setup-pre-commit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.