Armory
Source
Browse
Hooks

auto-git-add

Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install auto-git-add --cli claude

writes the file to.claude/hooks/auto-git-addListed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/auto-git-add
# then register it in your settings.json "hooks" block.

↳ Add the hook entry to settings.json, then restart the harness.

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.

When to use it

Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.

How to install / invoke

# Wire this hook script into .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/hooks/git-workflow/auto-git-add.json -o .claude/hooks/auto-git-add.json

Notes

Extracted from davila7/claude-code-templates, git-workflow category.