返回 Skill 列表
extension
分类: 开发与工程无需 API Key

helping-with-commits

通过Conventional Commits自动创建Git提交。当用户想要提交更改时使用。(项目)

person作者: jakexiaohubgithub

Commit Helper

Create commits following Conventional Commits specification and project conventions.

Project-Specific Scopes

Use these scopes for leapmultix: arcade, i18n, ui, a11y, perf, pwa, test, deps

Omit scope if changes span multiple domains.

Validation Before Commit

Always run before committing:

npm run format:check  # If fails → npm run format
npm run lint          # If fails → npm run lint:fix
npm test
npm run i18n:compare  # Only if i18n/* modified

Project Examples

feat(arcade): add power-up system to Multimiam
fix(i18n): correct missing Spanish translation keys
refactor(ui): extract modal component logic
chore(deps): update jest to 29.7.0

Rules

  1. Never commit without user approval - Always show the commit message and wait for explicit validation
  2. Never mention AI in commit messages (no "Generated with Claude", no "Co-Authored-By: Claude")
  3. Never commit if tests fail (unless explicit WIP request)
  4. Never commit secrets or API keys
  5. Multiple changes = multiple commits if they have different types (feat + fix = 2 commits)