ce-commit
Creates a git commit with a clear, value-explaining message for the staged or unstaged changes.
- Kind
- Skill
- Works with
- Claude Code, Codex, Cursor, Any agent
- Source
- EveryInc/compound-engineering-plugin @ 786ac0194183
- Path
- skills/ce-commit/SKILL.md
- License
- MIT
- Jobs
- Git workflow
InstallInstall it from a plugin marketplace.
/plugin install compound-engineering
# Git Commit Create well-crafted local commit(s) from the current working tree. No push, no PR — use `ce-commit-push-pr` for the full ship flow. **Done when:** each logical change is committed with an explicit file list and a message that states the outcome, and `git status` is clean of those changes. **Stop when:** the tree is clean (nothing to commit). ## Context Gather context with each command as its **own** shell tool call (program + args only). Do **not** join with `;`, `&&`, `||`, pipes, `$(...)`, or redirects — that syntax fails under Windows PowerShell. A non-zero exit is a normal state to interpret, not a failure to suppress. | Command | Purpose | Non-zero / empty means | | --- | --- | --- | | `git status` | Working-tree state | Not a git repo — stop | | `git diff HEAD` | Uncommitted changes | Unborn repo / no commits yet | | `git branch --show-current` | Current branch | Empty = detached HEAD | | `git log --oneline -10` | Recent message style | Unborn repo — no history | | `git rev-parse --abbrev-ref origin/HEAD` | Remote default branch | No `origin/HEAD` / bare `HEAD` — try `gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'`, else `main` | …