mcpField
G
git-commit

git-commit

github.com/gitboboboDevelopment072 installsUpdated 2d ago
Repository

About git-commit

A skill for committing local Git changes. It checks the worktree, follows Conventional Commits, runs relevant tests, and handles required consistency checks for changes to skills or README.md.

Key features

  1. 01Check Git worktree status
  2. 02Conventional Commits messages
  3. 03Run relevant minimal tests
  4. 04Check skills and README.md changes
  5. 05Aim for a clean worktree

Use cases

  1. 01Committing reviewed local changes
  2. 02Validating a skills or README.md update
  3. 03Preparing a focused, auditable commit

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gitbobobo/skills --skill git-commit

After installing, type/git-commitin Claude Code to confirm it loaded.

Details

From the project README

提交所有变更(纯本地操作)。

提交要求

  • 按可审计粒度提交,提交信息清晰,且只提交应入库文件
  • 提交信息满足 Conventional Commits 规范
  • 运行修改内容相关的最小范围测试,如果失败需要修复并提交
  • 改动涉及 skills/ 或 README.md 时,提交前运行 node scripts/check.mjs 校验一致性

流程

  1. 先检查 git status --porcelain 再决策。
  2. 若发现应忽略文件/临时文件:征求用户意见后决定 1 纳入提交 2 保留并更新 .gitignore 3 直接删除。
  3. 按「提交要求」完成提交,结束时应尽量保证工作区干净。

Comments

Markdown supported