pre-commit-gate

Community

Block bad commits with lint, typecheck, test.

Authorbordenet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers often skip local quality checks, leading to wasted CI cycles, broken builds, and embarrassing failures when code is pushed without linting, typechecking, or testing.

Core Features & Use Cases

  • Safety Scan: Detects dangerous shell patterns before committing.
  • Lint, Typecheck, Test: Runs npm lint, typecheck, and test commands locally and requires zero errors.
  • Commit Gate Chain: Integrates with subsequent commit gates (style guide, code review, language audit, IP audit) to enforce a full quality pipeline.
  • Use Case: Before committing a feature or hotfix, run this gate to guarantee code quality and avoid CI failures.

Quick Start

Run the pre‑commit gate before committing to ensure all checks pass.

Dependency Matrix

Required Modules

None required

Components

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: pre-commit-gate
Download link: https://github.com/bordenet/superpowers-plus/archive/main.zip#pre-commit-gate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.