setup-precommit-and-ci

Community

Keep local pre-commit in sync with CI.

Authorbaleen37
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps ensure local pre-commit configurations stay in sync with CI, preventing drift where local checks pass but CI fails.

Core Features & Use Cases

  • Template generation: Create and align pre-commit config and CI workflow templates.
  • Enforced protections: Provide a straightforward path to enable branch protection to require CI success.
  • Consistent workflow: Streamlines setup when adding or updating pre-commit hooks and CI.

Quick Start

Run the setup-precommit-and-ci skill from this directory to generate templates and then apply branch protection. For example, run the branch protection script with: bash scripts/setup-branch-protection.sh --yes --branch main

Dependency Matrix

Required Modules

ghjq

Components

scripts

💻 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: setup-precommit-and-ci
Download link: https://github.com/baleen37/dotfiles/archive/main.zip#setup-precommit-and-ci

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