git-batch-commit SKILL.md skillA
git-batch-commit from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/git-batch-commit@v1.5.0Pins v1.5.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/git-batch-commit/SKILL.md- Versions recorded
- 5
- Latest version
- v1.5.0, committed Oct 3, 2026
- First version recorded
- May 31, 2026
- Size
- 11,898 bytes
- Repository stars
- 775
- License
- none declared
智能 Git 批量提交快捷按钮。触发词:"git 提交"、"批量提交"、"拆分提交"、"整理提交",或用户明确要把已暂存变更拆成多个聚焦 commit 时使用。只负责 commit 拆分和提交信息生成;分支、PR、push、merge、Issue 关闭语义以 git-workflow 为准。提交完成后,若仓库内存在 skill-publish-sync 或 subtree-publish 配置、或仓库已登记于本技能 config/subtree-repos.yaml(按仓库个性化触发时点与推送命令),本技能会提示是否将涉及版本更新的技能同步发布到 ClawHub/SkillHub 或推送 subtree 独立仓库——这些发布/推送动作均需用户显式确认。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Git 批量提交工具 ## 概述 将混合的修改自动拆分为多个聚焦的、逻辑清晰的提交。而不是创建一个包含"更新各种文件"的大提交,而是创建多个清晰的提交,如"docs: 更新 README"、"chore: 更新依赖"、"license: 更新 license 文件"。 ## 与 git-workflow 的职责边界 `git-batch-commit` 是提交拆分工具,不是完整 Git 工作流控制器。 | 场景 | 使用哪个 Skill | 说明 | |------|---------------|------| | 将已暂存的混合变更拆成多个 commit | `git-batch-commit` | 本 Skill 的核心职责 | | 判断是否能 merge / push / close PR | `git-workflow` | 本 Skill 不做合并门禁 | | PR 合入 main 的 commit 标题是否带 `(#N)` | `git-workflow` | 本 Skill 只在生成普通 commit 时保留 Issue/Task 引用 | | 直接解决 GitHub Issue 是否应写 `Closes #N` | `git-workflow` | 本 Skill 只写 `Refs #N`,不关闭 Issue | | 项目本地任务引用 | `cross-agent-collab` 定任务来源,`git-batch-commit` 写引用 | 使用 `--local-ref "project-task Issue #13"` | 当用户只是说“把这些改动提交一下 / 拆分提交”,使用本 Skill;当用户说“合并 PR / 拉 PR 到 main / 推送 / 关闭 issue”,同时遵循 `git-workflow`。 ## 隐私预检与依赖 运行脚本需要 Python 3.10+、Git、PyYAML(缺失时运行 `python3 -m pip install PyYAML`),并同时安装同级 `git-workflow` 技能。共享 checker 仅使用 Python 标准库;缺失时失败关闭。 在预览、确认或创建第一笔提交前,检查所有分组最终完整提交说明(含 Markdown 标题/列表提取、Issue 和本地任务引用)、暂存变更路径、完整 blob 和 patch。`--yes` 只跳过交互确认,`--dry-run` 也须检查,均不能跳过隐私门禁。任一组失败不创建任何提交,也不输出敏感原文。 …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/git-batch-commit@sha256:0e8eda6705ce75acThe line at the top of this page pins the label v1.5.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ob2z6rdiz47oygmz)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 31, 2026 and Oct 3, 2026, about one every 31 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.5.0 latest | 2026-10-03 | 7d68c10 | 11,898 B | A | view · diff |
| v1.4.3 | 2026-09-29 | 1320607 | 10,613 B | A | view · diff |
| v1.4.2 | 2026-08-13 | 98f2717 | 9,706 B | A | view · diff |
| v1.4.2 | 2026-08-05 | 383f271 | 9,658 B | A | view · diff |
| v1.4.1 | 2026-05-31 | d34666f | 7,421 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11898 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ob2z6rdiz47oygmz GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/git-batch-commit GET https://markdownregistry.com/api/v1/blob/0e8eda6705ce75ace6f3b0ffb550584fd7f73c5145e85affa642fae1b22287ec
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from cat-xierluo/legal-skills
Every file in cat-xierluo/legal-skills