Never write commit messages again. Auto-checkpoint every change, auto-squash into professional git history. For Claude Code.
git clone https://github.com/vanzan01/Claude-Code-MindPalace.gitClaude Code MindPalace automates git history management by creating descriptive checkpoint commits after every file modification and intelligently squashing them into professional conventional commits when tasks finish. The skill eliminates manual commit message writing by generating meaningful, formatted commits based on actual code changes. It works universally across Node.js, Rust, Python, and other project types, with optional code formatting integration. Users benefit from a clean, persistent git history that serves as AI context while ensuring no work is ever lost. Setup requires adding Claude Code hooks to a settings.json file, after which the system operates completely automatically.
Create a .claude/settings.json file (project-level or ~/.claude for global use) and add the provided hook configuration with preToolUse, postToolUse, stop, and preCompact commands. Ensure your git repository has user.name and user.email configured. Optional: install code formatters (ESLint/Prettier for Node.js, cargo for Rust, black or ruff for Python) for auto-formatting before Claude changes files. The system activates automatically—make changes through Claude Code and checkpoints appear in your git log.
Maintain professional git history automatically during Claude Code development sessions
Prevent lost work with automatic checkpoints for every file modification
Generate conventional commit messages without manual writing
Create clean, squashed commits from multiple checkpoint commits at task completion
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/vanzan01/Claude-Code-MindPalaceCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a Git commit assistant. For the following code changes, generate a concise, professional commit message. Then, suggest a strategy to auto-squash these changes into a clean git history. Use the following context: [CODE_CHANGES], [PROJECT_NAME], [TEAM_CONVENTIONS].
# Git Commit Assistant ## Commit Message **Feature**: Add user authentication to the dashboard - Implement JWT-based authentication - Create login/logout endpoints - Add session management ## Auto-Squash Strategy 1. **Identify related commits**: Group commits that belong to the same feature or bug fix. 2. **Create a new branch**: Branch off from the main branch to prepare for squashing. 3. **Interactive rebase**: Use `git rebase -i` to combine related commits into a single, coherent commit. 4. **Force push**: Push the squashed commits to the remote repository. > **Note**: Always ensure that the squashed commit history maintains a clear and logical progression of changes.
Plan and execute trucking fleet operations
Accounting software with automated invoicing and reporting
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan