boonkgim

Commit With Prompts — Git skill for Claude Code

Git community

Claude Code skill: commit with a message that logs every prompt from the conversation, verbatim, with per-prompt summaries.

How to install Commit With Prompts

This entry records only its repository, not the path inside it, so there is no exact command to give. Open boonkgim/commit-with-prompts and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Commit With Prompts does

Claude Code skill: commit with a message that logs every prompt from the conversation, verbatim, with per-prompt summaries.

Alternatives in Git

  • Maintainers — Jarrod Watts (https://github.com/jarrodwatts) If you are interested in becoming a maintainer, open an issue to 10.9k ★
  • Commit Msg — 生成 Git Commit Message 1k ★
  • Husky — by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st 440 ★

README

commit-with-prompts

**Your prompt history dies in a chat window. This writes it to `git log`.**

An [agent skill](https://agentskills.io) for Claude Code, Codex, and any other AI coding agent that reads `SKILL.md`. It commits your work with a message containing every prompt from the session, verbatim and in order, each followed by a one-line summary of what it changed:

git log showing a commit message that lists each prompt from the session, verbatim, with a one-line summary of what it changed

**That is a real commit from this repo.** Every commit here is written by the skill. [Read the history](https://github.com/boonkgim/commit-with-prompts/commits/master) before you install anything.

Why you would want this

The session ends and the reasoning evaporates. The diff survives; the request that caused it does not. Writing the request to `git log` puts it in the one place that is already versioned, greppable, and travels with the code. Three things get better the longer you do it:

  • You can find how you prompted something. You know you got the agent to do this exact thing three weeks ago, and you cannot find how you asked. git log --grep over your own words beats remembering which chat it was in.
  • Your history becomes training data. Every commit is a prompt → diff pair with a real outcome attached. That is what you need to sharpen a skill, a CLAUDE.md, or an eval set, and the prompts that took three corrections to land are exactly where your setup is weak.
  • Your repo gets a memory. An agent picking up the project can read git log and learn what was asked for and why, in the user's own words. No separate memory store to maintain, no sync to go stale. It is versioned with the code and clones with it.

You get all three as a byproduct of committing normally.

Install

Paste this to your agent:

install the skill at https://github.com/boonkgim/commit-