
vibe-commit
Commit with AI session context - includes user prompts and session metadata
- version
- 1.0.0
Install
/plugin install vibe-commit@vibe-commitRun it inside Claude Code after adding the marketplace with /plugin marketplace add stared/vibe-commit.
Contents
Discovered from sourceSkills 1
Commit with User Prompts
Create git commits that include the user prompts that led to the changes.
Instructions
-
Extract User Prompts: Collect user messages from this conversation that led to the changes. Include them in chronological order.
-
Analyze Changes:
git status git diff --staged -
Get Session Info:
uv run {baseDir}/ai-blame.py session-info -
Generate Commit Message:
<brief summary of changes> User prompts: - "<first user prompt>" - "<second user prompt>" (context if prompt is ambiguous) AI-Session-ID: <from session-info> AI Agent: <from session-info> Model: <from session-info> -
Execute Commit:
git add -A && git commit -m "$(cat <<'EOF' <your commit message here> EOF )"
Rules
- Only include prompts that led to file changes (not
/commitor meta-discussion) - Preserve exact wording, add (context) in parentheses if prompt is ambiguous
- Summary line under 50 characters
- Each prompt on a single line, no mid-sentence wrapping
Sponsors
Details
- Marketplace
- stared/vibe-commit
- Category
- Community