AgentSkillsCN

commit-helper

从Git差异中自动生成清晰明了的提交信息。当您需要撰写提交信息,或审查暂存的代码变更时,此服务将为您提供专业支持。

SKILL.md
--- frontmatter
name: commit-helper
description: Generates clear commit messages from git diffs. Use when writing commit messages or reviewing staged changes.

Generating Commit Messages

Instructions

  1. Run git diff --staged to see changes
  2. I'll suggest a commit message with:
    • Summary under 50 characters
    • Detailed description
    • Affected components

Best practices

  • Use present tense
  • Explain what and why, not how
  • Add ticket number if applicable, prompt if not offered