
Git Commit
- 220 installs
- 2 repo stars
- Updated July 24, 2026
- ilteoood/harness
This is a copy of git-commit by github - installs and ranking accrue to the original listing.
Turn a messy working tree into one or more Conventional Commits with smart staging when you ask the agent to commit or run /commit.
About
git-commit is an agent skill that runs real git operations to produce Conventional Commits. It inspects your diff to infer the right type and optional scope, drafts a clear subject line, and can stage files in sensible batches instead of one giant commit. Solo builders use it throughout Build and Ship whenever they want semantic history without memorizing the spec or writing messages by hand. The skill encodes the full type table—from feat and fix through perf, test, build, and ci—and documents how to flag breaking changes in the footer. Because it is allowed to use Bash, the agent can stage, commit, and adjust in the same workflow you would run locally. It fits Cursor, Claude Code, and other agents that expose shell tools, and pairs well with PR and code-review skills that expect readable commit logs.
- Derives type, scope, and description from the actual git diff—not generic messages
- Supports 11 Conventional Commit types including feat, fix, docs, ci, and breaking-change footers
- Intelligent staging to group related files into logical commits
- Interactive overrides for type, scope, and description when you want control
- Triggers on natural language (“commit changes”) and the /commit slash command
Git Commit by the numbers
- 220 all-time installs (skills.sh)
- +30 installs in the week ending Jul 25, 2026 (Skillselion tracking)
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 25, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ilteoood/harness --skill git-commitAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 220 |
|---|---|
| repo stars | ★ 2 |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 24, 2026 |
| Repository | ilteoood/harness ↗ |
What it does
Turn a messy working tree into one or more Conventional Commits with smart staging when you ask the agent to commit or run /commit.
Files
Git Commit with Conventional Commits
Overview
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
Conventional Commit Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]Commit Types
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting/style (no logic) |
refactor | Code refactor (no feature/fix) |
perf | Performance improvement |
test | Add/update tests |
build | Build system/dependencies |
ci | CI/config changes |
chore | Maintenance/misc |
revert | Revert commit |
Breaking Changes
# Exclamation mark after type/scope
feat!: remove deprecated endpoint
# BREAKING CHANGE footer
feat: allow config to extend other configs
BREAKING CHANGE: `extends` key behavior changedWorkflow
1. Analyze Diff
# If files are staged, use staged diff
git diff --staged
# If nothing staged, use working tree diff
git diff
# Also check status
git status --porcelain2. Stage Files (if needed)
If nothing is staged or you want to group changes differently:
# Stage specific files
git add path/to/file1 path/to/file2
# Stage by pattern
git add *.test.*
git add src/components/*
# Interactive staging
git add -pNever commit secrets (.env, credentials.json, private keys).
3. Generate Commit Message
Analyze the diff to determine:
- Type: What kind of change is this?
- Scope: What area/module is affected?
- Description: One-line summary of what changed (present tense, imperative mood, <72 chars)
4. Execute Commit
# Single line
git commit -m "<type>[scope]: <description>"
# Multi-line with body/footer
git commit -m "$(cat <<'EOF'
<type>[scope]: <description>
<optional body>
<optional footer>
EOF
)"Best Practices
- One logical change per commit
- Present tense: "add" not "added"
- Imperative mood: "fix bug" not "fixes bug"
- Reference issues:
Closes #123,Refs #456 - Keep description under 72 characters
Git Safety Protocol
- NEVER update git config
- NEVER run destructive commands (--force, hard reset) without explicit request
- NEVER skip hooks (--no-verify) unless user asks
- NEVER force push to main/master
- If commit fails due to hooks, fix and create NEW commit (don't amend)
Related skills
FAQ
Is Git Commit safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.