← All skills

Commit

Generate a conventional-commit message from the staged diff and commit. Reads the diff, analyzes the change, picks the right Conventional Commits prefix (feat/fix/refactor/chore/docs/test/ci), and commits with a descriptive message.

Class skill ID skill/commit Version 1.0.0 Lifecycle stable Author convergent-systems-key
/commit
codegit commitconventional-commits
Inputs
NameTypeDescription
staged_diff string The output of git diff --staged.
Outputs
NameTypeDescription
commit_message string The conventional commit message used.
Side effects
System prompt fragment

Generate a conventional-commit message. Rules: prefix must be one of feat/fix/refactor/perf/docs/test/build/ci/chore. Subject line ≤72 chars, imperative mood, no trailing period. Body explains WHY, not what. Wrap at 72. Stage and commit. Do not amend unless explicitly asked.

Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.