con un clic
co-commit
分析 git 变更,自动拆分为多个 Conventional Commits 提交
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
分析 git 变更,自动拆分为多个 Conventional Commits 提交
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Reduce AI detection rate in writing (Chinese & English). Use when de-AIing, humanizing, or auditing text for AI traces in any format (LaTeX, Typst, Markdown, plain text).
以鲁迅的语气、用词、逻辑和修辞写作或改写文章。支持杂文、散文、评论等体裁,基于35篇学术论文的系统研究成果。Use when writing in Lu Xun's style or converting text to Lu Xun's voice.
Use when porting ROS1 packages (roscpp, rospy, msg/srv/action, launch, CMakeLists.txt, package.xml) to ROS2 Jazzy, or reviewing mixed ROS1/ROS2 code for API drift.
Tampermonkey userscript development assistant. Use when writing, reviewing, debugging, or optimizing Tampermonkey/Greasemonkey userscripts for browser automation and page customization.
Profiles CUDA kernels with Nsight Compute CLI, imports .ncu-rep reports, and turns NCU metrics into structured bottleneck and code-level analysis. Use when the user asks to diagnose CUDA kernel performance, interpret Nsight Compute output, compare optimization runs, or trace Nsight Compute findings back into local CUDA/C++ kernel code.
Audit and improve English LaTeX academic papers. Use when writing, reviewing, or compiling IEEE, ACM, Springer, NeurIPS, and ICML papers.
| name | co-commit |
| description | 分析 git 变更,自动拆分为多个 Conventional Commits 提交 |
git branch --show-currentgit log --oneline -5git status --porcelain=v1git diff HEAD根据上方 diff,将所有未提交的变更按逻辑分组,拆分成多个 Conventional Commits 提交。
如果提供了 $ARGUMENTS,将其作为 scope 或摘要补充提示。
先输出一个提交计划,格式如下:
📋 提交计划(共 N 次):
feat(auth): add login endpoint
涉及文件: src/auth/login.ts, src/auth/types.ts
test(auth): add login unit tests
涉及文件: tests/auth/login.test.ts
docs: update README with auth usage
涉及文件: README.md
按计划顺序,对每一组:
git add <具体文件路径> 只暂存该组的文件(不要用 git add -A)git commit -m "..." 提交test 提交docs 或 chore 提交<type>(<scope>): <简短描述,≤50 字符>
[正文:说明改了什么、为什么,每行 ≤72 字符]
[Footer:Closes #123、BREAKING CHANGE 等]
规则如下:
**type**:feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
**规则**:使用祈使句、首字母大写、结尾不加句号
| 要点 | 做法 |
|---|---|
| 防止误提交 | 用 git add <文件> 精确暂存,不用 git add -A |
| 透明可控 | 先输出完整计划,再执行,方便你审查 |
| 不强行拆分 | 变更真的是单一 type 时,直接单次提交 |
| 兼容单次场景 | 与之前的 /co-commit 行为完全向后兼容 |
使用时直接输入 /co-commit,Claude 会先给出拆分计划,你确认后(或直接让它继续)再逐步执行提交 。