home / skills / willsigmon / sigstack / leavn-commit-machine
This skill generates clean, descriptive git commits with emoji prefixes and detailed summaries to improve project history.
npx playbooks add skill willsigmon/sigstack --skill leavn-commit-machineReview the files below or copy the command above to add this skill to your agents.
---
name: Leavn Commit Machine
description: Create clean, descriptive git commits for Leavn app following emoji prefix convention with comprehensive change summaries
allowed-tools: Bash, Read
---
# Leavn Commit Machine
## Instructions
Create commits following Leavn's emoji convention:
1. **Check what changed**:
```bash
git status
git diff --stat
git diff
```
2. **Choose emoji prefix**:
- ๐ง `:wrench:` - Bug fixes, corrections
- ๐ `:rocket:` - New features, major improvements
- ๐งน `:broom:` - Code cleanup, deletions
- โก๏ธ `:zap:` - Performance improvements
- ๐ก๏ธ `:shield:` - Security, error handling
- ๐ `:twisted_rightwards_arrows:` - Merge, consolidation
- ๐ `:bug:` - Bug fixes (visual/functional)
- ๐จ `:art:` - UI/UX improvements
- ๐ต `:musical_note:` - Audio features
- ๐ `:memo:` - Documentation
3. **Write commit message**:
```
{emoji} Brief summary (50 chars)
- Bullet point details
- File counts, line changes
- Impact statement
๐ค Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
```
4. **Commit**:
```bash
git add -A
git commit -m "$(cat <<'EOF'
Message here
EOF
)"
```
Use this skill when: Ready to commit changes, multiple files modified, need good commit message
This skill generates clean, descriptive git commits for the Leavn app using the project's emoji prefix convention. It produces a concise header, a short detailed body with file/line change notes and impact statements, and a standard footer that includes generation metadata. The output is formatted for direct use with a shell heredoc commit command to ensure consistent history.
The skill inspects git status and diffs to summarize what changed, then selects the appropriate emoji prefix based on change type (feature, bug, cleanup, etc.). It builds a two-part commit message: a one-line summary under 50 characters and a bulleted body with specifics like file counts, line changes, and impact. Finally it emits the exact commit payload wrapped for use with git add and a heredoc commit command.
Can I customize the emoji list?
Yes. Use the emoji that matches your team's convention; ensure the commit body remains structured.
What if multiple change types apply?
Prefer the primary intent of the commit. For mixed changes, choose the most impactful emoji and clarify other types in the body.
How do I run the commit safely from the shell?
Stage changes with git add -A, then use the provided heredoc pattern to pass the multi-line message to git commit.