git-hooks

Configure Git pre-commit hooks to run Prettier and offload ESLint to CI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/orient-bot/orient --skill git-hooks-orient-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-hooks
Source: https://github.com/orient-bot/orient/tree/main/.claude/skills/git-hooks
Command: npx skills add https://github.com/orient-bot/orient --skill git-hooks-orient-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses slow Git commit times caused by lengthy pre-commit checks, offering strategies to optimize performance and streamline CI integration.

Core Features & Use Cases

  • Fast Pre-commit Hook: Implements a lightweight hook that runs only Prettier for quick formatting checks (~1-2 seconds).
  • CI Offloading: Moves heavier checks like ESLint and typechecking to the Continuous Integration pipeline.
  • Commit Bypassing: Provides methods to instantly bypass all checks for temporary or work-in-progress commits.
  • Use Case: Developers can commit code rapidly without waiting minutes for linters and type checkers, improving their workflow efficiency.

Quick Start

Commit your changes using git commit -m "feat: add new feature".

Frequently Asked Questions about git-hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I speed up slow git pre-commit hooks?

Speed up slow git pre-commit hooks by offloading heavy checks like ESLint and typechecking to CI, and implementing a fast Prettier-only hook for quick local formatting validation.

What is the best way to move ESLint checks to CI?

The best way to move ESLint checks to CI is delegating them entirely to the Continuous Integration pipeline, reducing local commit times to 1-2 seconds using Prettier-only hooks.

Can I bypass pre-commit hooks for temporary commits?

Yes, you can bypass pre-commit hooks for temporary commits by using specific commit bypassing methods, allowing you to instantly skip all formatting and linting checks for work-in-progress code.

How do I optimize git commit performance in a monorepo?

Optimize git commit performance in a monorepo by addressing slow ESLint execution locally, moving heavy typechecking to CI, and running lightweight Prettier formatting checks on commit.