AgentSkillsCN

generating-jj-commit-messages

根据 jj 差异生成清晰的提交信息。当撰写 jj 提交信息时,可使用此技能。触发条件包括:提交更改、提交文件、使用 jj 提交、jj 提交。

SKILL.md
--- frontmatter
name: generating-jj-commit-messages
description: "Generates clear commit messages from jj diffs. Use when writing jj commit messages, Triggers on: commit changes, commit files, commit with jj, jj commit"

Generating Commit Messages

Instructions

  1. Run jj diff --git to see changes
  2. I'll suggest a commit message with:
    • Summary under 50 characters
    • Detailed description. Sacrifice grammar for the sake of concision.
    • Affected components

Best practices

  • Use present tense
  • Explain what and why, not how
  • Sacrifice grammar for the sake of concision.