بنقرة واحدة
git-commit-log-writer
Fast, low-token commit message generation with optional direct git commit execution.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fast, low-token commit message generation with optional direct git commit execution.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | git-commit-log-writer |
| description | Fast, low-token commit message generation with optional direct git commit execution. |
Generate mode.Execute mode only for explicit commit-now intent (commit this/now/just commit/go ahead and commit, including equivalent Chinese intent).Execute mode, rebase with upstream before commit when an upstream branch exists.Run in this order and stop as soon as confident:
git status --short
git diff --staged --name-status
git diff --name-status
If still unclear, inspect only target files:
git diff --staged -- <file>
git diff -- <file>
Only when needed, use full patch views:
git diff --staged
git diff
Optional style fallback:
git log -30 --pretty=%s
<Verb> <primary component/change> [and <secondary change>]Add, Refactor, Enhance, Implement, Update, Fix, RemoveSubject: <one-line subject>
Body (optional):
- <change point 1>
- <change point 2>
Commands:
git pull --rebase --autostash # when upstream exists
git add <files or -A>
git commit -m "<subject>"
Body form when needed:
git commit -m "<subject>" -m "<bullet 1>" -m "<bullet 2>"
git rev-parse --abbrev-ref --symbolic-full-name '@{u}'@{u} in PowerShell; it is parsed as a hash literal before Git receives it.git pull --rebase --autostash.git add <scoped files>.git add -A only when user intent is clearly commit-all.Committed: <subject>
Commit: <short-hash>
Files: <count or list>
Use git log -1 --oneline for the hash. If nothing is commit-ready, state it clearly.
update stuff.--amend unless explicitly requested.