commit-pushlisted
Install: claude install-skill enebin/groundwork
Commit the current branch's changes and push them. The argument, if any, is a hint for the commit message.
## 0. Read the config
Read `reference/config.md` under the plugin root (two directories above this skill's directory), then `GROUNDWORK.md` at the repository root as it says. Stop if the file is missing or a key this skill needs is missing.
Talk to the user in `language.conversation`. Write the commit message in `language.artifacts`.
Run only when the user asked in so many words to commit and push. A vague request ("ship it", "upload this", "wrap it up") is not enough; ask first.
`commit-push` belongs to the `quick` workflow: it pushes the current branch as it is, with no rebase and no PR. When `workflow.bundle` is `step-loop`, `design-first`, or `tdd-loop`, point the user to `/groundwork:takeoff <id>`, which rebases, re-verifies, and opens the PR, and continue only if they still want a plain push.
In plan mode, do not refuse. Inspect with read-only tools, write the concrete plan (files to stage, commit message, push command), and ask for approval. After approval, carry it out as planned.
If `docs.rules` and this skill disagree, follow `docs.rules`.
## Steps
1. **Status.** `git status`. If nothing changed, tell the user and stop.
2. **Diff.** Read `git diff` and `git diff --staged`.
3. **Style.** Read `git log --oneline -5` to match recent commits.
4. **Message.** Use the commit message format in `docs.rules`. If it defines none, write a short imperative subject