GitHub Copilot’s “Generate Commit Message” in VS Code is very useful. Once the quota is exhausted, the reset cycle can feel long. This post is a practical attempt to replace that feature with local Agent Skills.

Problem and Goal
The goal of this post is to provide a practical alternative: use git-commit-push-zh skill agents to complete standardized commits and pushes.
Alternative: git-commit-push-zh
This skill turns your current changes into a fixed workflow:
- Check change status.
- Confirm the current branch.
- Stage changes.
- Generate a Chinese commit message.
- Run commit.
- Push to the remote branch.
The corresponding commands are:
|
|
Suggested Commit Message Convention
Use this format consistently:
|
|
Type examples:
feat: New featurefix: Bug fixdocs: Documentation updaterefactor: Refactoringchore: Maintenance changes
Examples:
feat(site): 新增全站 head 广告脚本注入fix(i18n): 修正 relref 相关文章链接路径chore(content): 合并 AI 工作流分类到 AI工具
Common Failure Scenarios
nothing to commit: no new changes to commit; stop before pushing.pushfailed: check permissions, remote branch state, and conflicts first.- SSH/permission issues: verify credentials and access, then retry.
Appendix: Original SKILL.md
The content below is the original git-commit-push-zh document, preserved as-is for reuse and maintenance.
|
|