Skip to content

liuzhao1225/git-commit-cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

git-commit-cn

Cursor Agent Skill:用中文 commit message分析改动并提交;多目的改动时拆成多个 commit;不自动 push(需用户确认)。

作者:liuzhao1225

安装(Cursor)

本仓库目录结构为 git-commit-cn/SKILL.md,与 Cursor 全局技能目录一致。

方式一:复制目录

git clone https://github.com/liuzhao1225/git-commit-cn.git
mkdir -p ~/.cursor/skills
cp -r git-commit-cn/git-commit-cn ~/.cursor/skills/

方式二:sparse / 子目录

若你已把整个仓库 clone 到别处,只需把其中的 git-commit-cn 文件夹拷到 ~/.cursor/skills/git-commit-cn/(即该文件夹内必须有 SKILL.md)。

安装后重启 Cursor或重新打开对话,以便加载技能。

安装(OpenAI Codex CLI,可选)

若使用 Codex 自带的从 GitHub 安装脚本(install-skill-from-github.py),可指定子路径:

# 示例:按你本机 Codex 脚本实际路径调整
python scripts/install-skill-from-github.py --repo liuzhao1225/git-commit-cn --path git-commit-cn

安装目录默认为 ~/.codex/skills,与 Cursor 的 ~/.cursor/skills 不同;按你实际使用的工具选择其一或两者都装。

触发方式

对 Agent 说:提交改动、提交一下、提交代码、commit、帮我 commit 等(详见 SKILL.md)。

许可证

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors