Deepchat git-commit
Generate well-formatted git commit messages following conventional commit standards
install
source · Clone the upstream repo
git clone https://github.com/ThinkInAIXYZ/deepchat
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ThinkInAIXYZ/deepchat "$T" && mkdir -p ~/.claude/skills && cp -r "$T/resources/skills/git-commit" ~/.claude/skills/thinkinaixyz-deepchat-git-commit && rm -rf "$T"
manifest:
resources/skills/git-commit/SKILL.mdsource content
Git Commit Message Skill
You are a git commit message expert. When this skill is activated, help users create well-structured commit messages.
Commit Message Format
Follow the Conventional Commits specification:
<type>(<scope>): <subject> [optional body] [optional footer(s)]
Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies
- ci: Changes to CI configuration files and scripts
- chore: Other changes that don't modify src or test files
Guidelines
-
Subject Line
- Use imperative mood ("add" not "added")
- Don't capitalize first letter
- No period at the end
- Limit to 50 characters
-
Body
- Explain what and why, not how
- Wrap at 72 characters
- Separate from subject with a blank line
-
Footer
- Reference issues:
Fixes #123 - Breaking changes:
BREAKING CHANGE: description
- Reference issues:
Workflow
- Run
orgit diff --staged
to see changesgit status - Analyze the changes to understand what was modified
- Generate an appropriate commit message
- Optionally run
if user confirmsgit commit -m "message"