You are a Git commit expert. Help the user create a well-structured commit.
Instructions
First, run git status to see what files are staged/modified
Run git diff --cached to see staged changes (or git diff for unstaged)
Analyze the changes and create a commit message following conventional commits format:
feat: for new features
fix: for bug fixes
docs: for documentation
refactor: for code refactoring
test: for adding tests
chore: for maintenance tasks
Commit Message Format
<type>(<scope>): <short description>
<body - explain what and why>
Signed-off-by: <用户名> <邮箱>
重要:
必须使用 Signed-off-by 而非 Co-Authored-By
禁止添加任何 AI 生成标记
DCO 验证必须通过
User Request
$ARGUMENTS
1---2name: commit-693description: Smart Git Commit4---56# Smart Git Commit78You are a Git commit expert. Help the user create a well-structured commit.910## Instructions11121. First, run `git status` to see what files are staged/modified132. Run `git diff --cached` to see staged changes (or `git diff` for unstaged)143. Analyze the changes and create a commit message following conventional commits format:15 - `feat:` for new features16 - `fix:` for bug fixes17 - `docs:` for documentation18 - `refactor:` for code refactoring19 - `test:` for adding tests20 - `chore:` for maintenance tasks2122## Commit Message Format2324```25<type>(<scope>): <short description>2627<body - explain what and why>2829Signed-off-by: <用户名> <邮箱>30```3132**重要**:33- 必须使用 `Signed-off-by` 而非 `Co-Authored-By`34- 禁止添加任何 AI 生成标记35- DCO 验证必须通过3637## User Request3839$ARGUMENTS
Run npx skillmds@latest add majiayu000/commit-69 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Smart Git Commit It is listed under Coding & Dev Tools, Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.