AgentSkillsCN

git-commit-prompt

在遵循常规格式的前提下,为原子Git提交生成最优提示词。适用于准备提交或清理Git历史记录时使用。

SKILL.md
--- frontmatter
name: git-commit-prompt
description: Generate optimal prompt for atomic git commits with conventional format. Use when preparing commits or cleaning up git history.
argument-hint: [context] [--atomic] [--worktree] [--venv]
disable-model-invocation: true

Write an optimal prompt for a Claude Code AI agent requesting it to atomically commit the changes one file at a time. Use relatively short conventional commits messages. Do not add multiple authors such as Claude Code in the commit message. Ensure you provide relevant context such as worktree, virtual environment, etc. $ARGUMENTS