AgentSkillsCN

commit

以规范化的提交信息完成 Git 提交

SKILL.md
--- frontmatter
name: commit
description: Create a git commit with proper message
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)

Context

  • Current git status: !git status
  • Current git diff: !git diff HEAD
  • Recent commits: !git log --oneline -5

Task

Based on the changes above, create a single atomic git commit with a descriptive message.