Commit Msg
Description
# 生成 Git Commit Message 分析未提交的代码变更,生成结构化的 commit message。 ## 执行步骤 ### 1. 获取变更内容 ```bash # 查看已暂存的变更 git diff --cached --stat git diff --cached # 如果没有暂存内容,查看所有变更 git diff --stat git diff ``` ### 2. 分析变更类型 根据变更内容判断类型: | 类型 | 适用场景 | |------|---------| | feat | 新功能 | | fix | 修复 bug | | refactor | 重构(不改变功能) | | style | 格式调整(不影响代码逻辑) | | docs | 文档更新 | | test | 测试相关 | | chore | 构建、依赖、配置等 | ### 3. 生成 commit message 格式要求: ``` <type>: <subject> <body> ``` 规则: - subject: 简洁描述,不超过 50 字符,中文 - body
Installation
Installs to ~/.claude/commands/doccker-cc-use-exp-commit-msg.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/doccker/cc-use-exp/HEAD/.claude/commands/commit-msg.md -o ~/.claude/commands/doccker-cc-use-exp-commit-msg.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git