[GH-ISSUE #23] Complete git-ai install-hooks to add hooks for Claude, Code, and Cursor hooks #8

Closed
opened 2026-03-02 04:11:13 +03:00 by kerem · 0 comments
Owner

Originally created by @acunniffe on GitHub (Sep 26, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/23

Summary

The git-ai install-hooks command should be enhanced to automatically add git-ai hooks to Claude, Code, and Cursor. This will allow users to have git-ai hooks working across all their projects, instead of needing to configure each project individually.

Acceptance Criteria

  • The install-hooks command installs the necessary hooks for Claude, Code, and Cursor environments.
  • Hooks should be applied globally, so users do not need to repeat the process for every project.

Motivation

Currently, users must manually set up git-ai hooks project by project. Automating this process will greatly improve usability and adoption -- esp in the enterprise.

Additional Context

  • Ensure compatibility with common OSes (macOS, Linux, Windows if feasible).
  • Fallback gracefully if any environment is not detected.
Originally created by @acunniffe on GitHub (Sep 26, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/23 ## Summary The `git-ai install-hooks` command should be enhanced to automatically add git-ai hooks to Claude, Code, and Cursor. This will allow users to have git-ai hooks working across all their projects, instead of needing to configure each project individually. ## Acceptance Criteria - The `install-hooks` command installs the necessary hooks for Claude, Code, and Cursor environments. - Hooks should be applied globally, so users do not need to repeat the process for every project. ## Motivation Currently, users must manually set up git-ai hooks project by project. Automating this process will greatly improve usability and adoption -- esp in the enterprise. ## Additional Context - Ensure compatibility with common OSes (macOS, Linux, Windows if feasible). - Fallback gracefully if any environment is not detected.
kerem 2026-03-02 04:11:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#8
No description provided.