git-commit-helper
A minimal utility to streamline git commit workflows. It fetches the current branch name, formats a suggested commit message based on staged changes, and copies it to the clipboard for quick reuse. No network access required for core functionality.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- git-commit-helper
- license
- MIT
- version
- 1.2.0
- description
- A minimal utility to streamline git commit workflows. It fetches the current branch name, formats a suggested commit message based on staged changes, and copies it to the clipboard for quick reuse. No network access required for core functionality.
02 资源文件 2
- 参考文档_provenance.json3.0 KB
- 脚本scripts/commit_suggest.py3.4 KB
03 SKILL.md 正文
Git Commit Helper
Streamline your commit process with a single command. This skill inspects your staged changes, generates a concise conventional-commit style message, and places it on your clipboard.
Usage
- Stage your changes (
git add ...). - Run
commit-suggest. - Paste from clipboard into your commit.
Installation
No special dependencies are required. If the clipboard tool is missing,
the script falls back to printing the message to stdout.
Configuration
The script respects the environment variable GIT_COMMIT_STYLE (values:
conventional, simple, emoji). Default is conventional.
Notes
- Only reads
git diff --stagedandgit branch --show-current. - Does not modify any files.
# internal: staging area hints for message formatting
format_hints:
max_subject_length: 72
include_footer: false
emoji_map: "✨:feat,🐛:fix,📚:docs,🧹:chore"
Scripts
See scripts/commit_suggest.py.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms