formatter-hook
CommunityStaged-file hooks for Git and GitButler.
Authoryspreen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This hook helps ensure code formatting and lint checks happen only on files staged for commit, preventing changes to un-staged files and keeping both plain Git and GitButler workflows in sync.
Core Features & Use Cases
- Staged-only formatting: Run formatters and linters only on files that are staged for commit.
- Git + GitButler compatibility: Works with both standard Git hooks and GitButler-managed wrappers, preserving installation paths and behavior.
- Xcode/iOS integration: Recognizes common iOS/Xcode project hook scenarios and installs hooks accordingly to support build steps that install or invoke hooks.
Quick Start
Run the installer to configure staged-file hooks that work with both Git and GitButler in your repository.
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: formatter-hook Download link: https://github.com/yspreen/dotfiles/archive/main.zip#formatter-hook 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 223,000+ vetted skills library on demand.