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.
15 lines
No EOL
485 B
Bash
Executable file
15 lines
No EOL
485 B
Bash
Executable file
#!/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 |