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.

Install it, pinned
mdr add cat-xierluo/legal-skills/git-batch-commit@v1.5.0

Pins 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

The exact contents, by fingerprint
mdr add cat-xierluo/legal-skills/git-batch-commit@sha256:0e8eda6705ce75ac

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ob2z6rdiz47oygmz.svg)](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.

versioncommittedcommitsizeaudit
v1.5.0 latest2026-10-03 7d68c10 11,898 BA view · diff
v1.4.32026-09-29 1320607 10,613 BA view · diff
v1.4.22026-08-13 98f2717 9,706 BA view · diff
v1.4.22026-08-05 383f271 9,658 BA view · diff
v1.4.12026-05-31 d34666f 7,421 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
cat-xierluo/legal-skills · AGENTS.md
git:20261016.c4c878c · audit A · 775 stars
CLAUDE.md CLAUDE.md file
cat-xierluo/legal-skills · CLAUDE.md
git:20261016.280e2bf · audit B · 775 stars
agent-email SKILL.md skill
cat-xierluo/legal-skills · skills/agent-email/SKILL.md · Agent 专用邮箱统一管理:让 Claude Code、Codex 等平台的 Agent 用一套命令收发邮件、整理收件箱、分发任务。支持网易 ClawEmail(claw.163.com)和腾讯 Agent Mail(QQ…
v0.4.1 · audit C · 775 stars
apple-smart-schedule SKILL.md skill
cat-xierluo/legal-skills · skills/apple-smart-schedule/SKILL.md · 把一句自然语言(机票/高铁/开庭/会议/截止日期/聚会/看病等)或一张票据截图,自动变成苹果「日历」事件 + 一串按事件类型智能提前的「提醒事项」。在 macOS 上运行、经 iCloud 同步到…
v0.2.0 · audit A · 775 stars
article2book SKILL.md skill
cat-xierluo/legal-skills · skills/article2book/SKILL.md · 基于现有文章、专栏、课程讲稿、逐字稿、访谈、课件、会议纪要、案例材料、PDF 文本、Word 文档和笔记等内容资产,判断它们最适合转化为书、小册子、课程、系列文章、实务手册或知识库,并输出精简策划意见;用户提到“把现有内容整理成书”“判断素…
v1.0.0 · audit A · 775 stars
case-dashboard SKILL.md skill
cat-xierluo/legal-skills · skills/case-dashboard/SKILL.md · 律师案件看板。本地零依赖看板服务(案件总览、任务三态看板、期限预警、进度写回)+周研判分析。当用户说"打开看板/dashboard/案件面板/看下案件进度/给我案件周报研判"时使用。案件状态写入与上下文管理用…
v0.1.0 · audit A · 775 stars
case-progress SKILL.md skill
cat-xierluo/legal-skills · skills/case-progress/SKILL.md · 案件进度与状态台账管理。案件 case.yaml 的唯一写入引擎(新增任务、推进任务、登记期限、更新案件阶段、校验、存量迁移),Agent 会话的进度加载与写回契约,以及案件进度监控对账。当用户或 Agent…
v0.9.0 · audit A · 775 stars
code2patent SKILL.md skill
cat-xierluo/legal-skills · skills/code2patent/SKILL.md · 从已开发代码项目中提取技术实现证据,围绕候选专利方案生成算法/软件类说明书式技术交底书,并以“权利要求布局卡 → 发明专利初稿”两步法继续生成接近可申报版的中国发明专利起草材料。触发场景包括:读取代码仓库后撰写技术交底书、将人工总结的专利方…
v1.6.0 · audit A · 775 stars
contract-copilot SKILL.md skill
cat-xierluo/legal-skills · skills/contract-copilot/SKILL.md · 合同起草与审查助手。基于分层分析与四步流程,输出可执行的风险清单、起草骨架、修改建议、推荐措辞和审查意见书,支持批注与修订两种文档处理方式。用户通过飞书或其他 IM 对话发送合同文件并要求审查或起草时,也应使用本…
v1.6.3 · audit A · 775 stars
course-generator SKILL.md skill
cat-xierluo/legal-skills · skills/course-generator/SKILL.md · 将课程转录稿、逐字稿、讲稿或文献整理为可独立阅读的 Markdown 课程,并通过来源索引、素材账本和确定性验收保留关键案例、操作步骤与专业判断。用户要求从一份或多份现有文本生成课程总览、章节或完整课程时使用。
v2.10.2 · audit A · 775 stars
court-sms SKILL.md skill
cat-xierluo/legal-skills · skills/court-sms/SKILL.md · 本技能应在用户收到法院短信(文书送达、立案通知、开庭提醒等)时使用,自动提取案号、当事人、下载链接,下载文书并归档到对应案件目录。会落盘敏感诉讼数据到本地,请确认目标位置私密。
v1.5.4 · audit A · 775 stars
cross-agent-coordination SKILL.md skill
cat-xierluo/legal-skills · skills/cross-agent-coordination/SKILL.md · 跨平台 Agent 任务协调枢纽。本技能应在多个不同平台的 Agent 需要围绕项目任务源分配任务、标记归属、能力路由和交接上下文时使用。不要用于单一平台内的本地并行执行,或 Git 分支、提交、PR、merge 安全规则。
v1.0.0 · audit A · 775 stars

Every file in cat-xierluo/legal-skills

Other files named git-batch-commit

git-batch-commit SKILL.md skill
evovexai/evoflow · skills/public/git-batch-commit/SKILL.md · 智能 Git 批量提交工具。当用户说 "git 提交"、"git commit"、"批量提交"、"拆分提交"、"整理提交" 时使用,或者当用户暂存了多个不同类型的文件需要分开提交时使用。自动将混合的文件修改按类型分类(依赖管理、文档更新、l…
v1.2.2 · audit A · 540 stars

Browse by kind, by grade A, or by owner.