commit-objectively

Installation
SKILL.md

Commit Objectively

Generate a commit message from the diff alone, then execute the commit.

The message comes from the diff — not from what the user said, not from what you infer. This keeps the commit history accurate and reviewable without needing to remember conversation context.

<skill_directory> is the parent directory of this SKILL.md.

How it works

  1. Gather context: Run <skill_dir>/scripts/ctx.cmd (Windows) or <skill_dir>/scripts/ctx.sh (Unix) to fetch upstream and see recent commit style.

  2. Determine diff base: Use HEAD~1 by default, or the branch the user specifies (e.g., origin/main, develop).

Installs
8
GitHub Stars
1
First Seen
1 day ago
commit-objectively — sunyanbox/skills