auto-git-save

Automatically run git add and commit when a file-change threshold is reached.

1|Updated Sep 20, 2025
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Enterprise_Framework --skill auto-git-save
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-git-save
Source: https://github.com/Alex1980Alex/1C-Enterprise_Framework/tree/main/.claude/skills/auto-git-save
Command: npx skills add https://github.com/Alex1980Alex/1C-Enterprise_Framework --skill auto-git-save

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates git add and git commit from a hook when the configured file-change threshold is reached, eliminating manual, error-prone commits and reducing drift in local development.

Core Features & Use Cases

  • Auto-commit on threshold: triggers a deterministic git commit when the file-change threshold is met.
  • Zombie task prevention: detects and prevents stalled or orphaned tasks by syncing pending tasks with Git state.
  • Adaptive governance: enforces stop-time safeguards and task-enforcement to ensure governance during development cycles.
  • Metadata-driven workflow: records commit actions and task metadata to maintain traceability and recoverability in case of failures.
  • Use Case: a developer workflow where frequent changes should be committed automatically to maintain a clean history and reduce manual overhead.

Quick Start

Set up the auto-git-save hook and configure CLAUDE_COMMIT_THRESHOLD to automatically commit when the threshold is reached.

Frequently Asked Questions about auto-git-save

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

FAQPage Schema
How do I automatically commit file changes in git when reaching a certain threshold?

You can automatically commit file changes by configuring a git hook with a file-change threshold. This Skill triggers git add and git commit deterministically once the configured change limit is met, eliminating manual commits.

What is zombie task prevention in a development workflow?

Zombie task prevention detects and stalls orphaned tasks by syncing pending tasks with the current Git state. This ensures stalled development cycles are flagged and managed through adaptive governance during stop events.

How do I set up auto-commit hooks for my local development environment?

To set up auto-commit hooks, install the .claude/hooks scripts and configure the CLAUDE_COMMIT_THRESHOLD variable. This enables the hook to automatically perform git add and git commit when your file changes reach the specified limit.

Do I need Python and Git to run automated commit hooks?

Yes, both Python and Git are required to run the automated commit hooks. The .claude/hooks scripts rely on Python to manage commit actions and track task metadata for governance across local and CI environments.

Can I use automated git commits to enforce governance during CI stop events?

Yes, automated git commits enforce stop-time safeguards and task-enforcement during development cycles. The hook records commit actions and task metadata to maintain traceability and recoverability in case of CI failures.

What is the best way to maintain a clean git history without manual commits?

The best way to maintain a clean git history without manual overhead is using an auto-commit hook triggered by a file-change threshold. This metadata-driven workflow records commit actions to ensure traceability and reduce drift.