AgentSkillsCN

determining-git-commit-messages

提供关于如何撰写符合项目规范的 Git 提交信息的指导。适用于生成、修改或审查 Git 提交信息时。

SKILL.md
--- frontmatter
name: determining-git-commit-messages
description: Provide guidelines on how to determine appropriate git commit messages that are compliant with project standards. Should be used when generating, modifying, or reviewing git commit messages.

The determining-git-commit-messages skill

This skill provides guidelines on how to determine appropriate git commit messages that are compliant with project standards. It should be used when generating, modifying, or reviewing git commit messages.

Rule of thumb

Always read the previous commit messages of the staged files and mimic the style and format used in those messages.

If there are no previous commit messages for the staged files, refer to previous commit messages in similar files or modules within the same project to maintain consistency.