AgentSkillsCN

repo:commit

Kagenti 提交信息的格式规范——emoji 前缀、签收确认以及各类约定俗成的规则。

SKILL.md
--- frontmatter
name: repo:commit
description: Kagenti commit message format - emoji prefixes, sign-off, and conventions

Kagenti Commit Conventions

Format

code
<emoji> <Short descriptive message>

<Optional longer description>

Signed-off-by: <Name> <email>
Co-authored-by: Claude <noreply@anthropic.com>

Emoji Prefixes

EmojiTypeWhen
FeatureNew functionality
🐛Bug fixFixing broken behavior
📖DocsDocumentation only
📝ProposalDesign proposals
⚠️Breaking changeAPI or behavior changes
🌱OtherTests, CI, refactoring, tooling

Requirements

  1. Signed-off-by is MANDATORY — always use git commit -s
  2. Co-authored-by Claude — include when Claude creates the commit
  3. Imperative mood — "Add feature" not "Added feature"
  4. Under 72 characters — subject line
  5. No "Generated with Claude Code" line — removed per team preference

Examples

code
🌱 Add E2E testing infrastructure and deployment health tests

Implements initial end-to-end testing framework for Kagenti platform.

Signed-off-by: Developer <dev@example.com>
Co-authored-by: Claude <noreply@anthropic.com>
code
🐛 Fix VPC cleanup order: delete subnets before route tables

Signed-off-by: Developer <dev@example.com>

Sign All Commits

After rebase or if commits are unsigned:

bash
git rebase --signoff HEAD~$(git rev-list --count upstream/main..HEAD)

Related Skills

  • git:commit - Git commit mechanics
  • repo:pr - PR creation conventions
  • tdd:ci - TDD commit step