Commit

Create a git commit with conventional commit format. Injects current git state automatically.

kevin-liu-01 9a02117 867 B Updated

File contents

Context

  • Status: !git status -sb
  • Diff: !git diff HEAD --stat
  • Branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Rules

Commits are terse one-liner conventional commits: type(scope): description.

  • type: feat, fix, refactor, docs, test, chore
  • scope: affected area (module, package, or feature)
  • description: imperative mood, lowercase, no period, under 72 characters
  • Never use "and" in a commit message. Two changes = two commits.

Stage files by name (never git add -A or git add .). Group changes by intent.

Task

Based on the context above, stage the relevant files and create the commit. Do not use any other tools. Do not send any text besides the tool calls.

kevin-liu-01/agent-machines/tree/main/knowledge/skills/commit commit 9a021176de

Frequently asked questions

npx skillmds@latest add kevin-liu-01/commit