From 7b78c474f561f82a701eb6f23829f0f08175797b Mon Sep 17 00:00:00 2001 From: kavren Date: Sun, 7 Dec 2025 22:18:42 -0500 Subject: [PATCH] docs: Add git commit policy to CLAUDE.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instructs Claude to commit frequently and evaluate after each tool call whether changes should be committed. Includes commit message format and guidelines for immediate vs batched commits. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 72c7c36..7010135 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,35 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## Git Commit Policy - IMPORTANT + +**You MUST commit and push changes frequently.** Evaluate after each tool call whether a commit makes sense: + +### Commit immediately after: +- Any Edit or Write to documentation files (docs/*.md, CLAUDE.md) +- Creating or modifying Traefik configs +- Adding new services to infrastructure +- Completing a discrete task or fix + +### Commit in batches for: +- Multiple related file edits (e.g., updating INFRASTRUCTURE.md + CHANGELOG.md together) +- Exploratory changes that may be reverted + +### Commit message format: +``` +: + + + +🤖 Generated with [Claude Code](https://claude.com/claude-code) + +Co-Authored-By: Claude Opus 4.5 +``` + +Types: `add`, `update`, `fix`, `docs`, `config` + +**Remote**: `origin` → http://10.4.2.7:3000/kavren/proxmox-infra.git + ## Repository Purpose Infrastructure documentation and management repository for the **KavCorp** Proxmox cluster - a 5-node homelab cluster running self-hosted services. This repository supports migration from Docker containers to Proxmox LXCs where appropriate.