AgentSkillsCN

commit

按照Conventional Commits规范创建提交。自动分析暂存的更改,并自动生成恰当的提交信息。当用户说“提交”“提交更改”“提交暂存文件”等指令时,或在需要将Git变更正式提交时,均可使用此技能。

SKILL.md
--- frontmatter
name: commit
description: Create commits following Conventional Commits format. Analyzes staged changes and auto-generates appropriate commit messages. Use when the user says "commit", "commit changes", "commit staged files", etc., or when git changes need to be committed.

Commit Creation Skill

Project-Specific Rules

  • Do not add Co-Authored-By
  • Body is required by default - See commit-rules.md for omission conditions
  • Use only one scope - Split commits if multiple scopes are needed
  • Check recent commit style with git log --oneline -5 before creating message