feat(tools): add claude-commit AI-powered git commit tool

Implemented a comprehensive AI-powered commit message generator using Claude that:
- Automatically generates Conventional Commit formatted messages
- Analyzes git diff to create context-aware commit messages
- Works globally across all git repositories with 'git cc' command
- Supports multi-computer setup through portable dotfiles

Major changes:
- Added global claude-commit script with git aliases (git cc, git smart-commit)
- Created organized documentation in docs/tools/claude-commit/
- Included portable dotfiles structure for easy multi-machine deployment
- Updated README with TLDR Node.js quickstart section featuring all Brainy capabilities
- Moved documentation section to bottom of README for better flow
- Added CLAUDE.md with project-specific instructions for Claude Code

The tool eliminates manual commit message writing by leveraging AI to understand
code changes and generate properly formatted, meaningful commit messages that
follow the Conventional Commits specification.
This commit is contained in:
David Snelling 2025-08-04 10:14:33 -07:00
parent ab0ee4d4ad
commit d2cef55644
10 changed files with 1565 additions and 1797 deletions

15
scripts/claude-commit.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
# This script now calls the global claude-commit command
# The global version is located at ~/.local/bin/claude-commit
# Or can be installed from docs/tools/claude-commit/setup.sh
if command -v claude-commit >/dev/null 2>&1; then
exec claude-commit "$@"
elif [ -x "$HOME/.local/bin/claude-commit" ]; then
exec "$HOME/.local/bin/claude-commit" "$@"
else
echo "claude-commit not found. Please run:"
echo " ./docs/tools/claude-commit/setup.sh"
exit 1
fi