← ClaudeAtlas

wise-commitlisted

Sweep every working-tree change into the index (`git add -A` — modifications, deletions, and new untracked files), draft a Conventional-Commits subject from the staged diff (Jira-scoped when a key is detectable from the branch / diff / log / session), and run `git commit`. Closes the loop that `/wise-commit-message` opens — that one drafts and hands the subject back to the user; `/wise-commit` drafts AND commits. Invoked as `/wise-commit` (bare alias) or `/wise:wise-commit` (canonical). Strictly local — never pushes (use `/wise-commit-push` for that), never amends, never bypasses hooks. Use whenever the user says "commit", "commit changes", "make a commit", "commit my work", or types `/wise-commit`.
e1024kb/wise-claude · ★ 1 · Code & Development · score 80
Install: claude install-skill e1024kb/wise-claude
# /wise-commit — draft a Conventional-Commits subject and commit ## Why this skill exists `/wise-commit-message` is read-only on purpose: it drafts a subject and hands it back, so the user can review, tweak, or reject the prose before any commit object exists. That's the right shape when the operator is sitting at the keyboard. `/wise-commit` is the right shape when the operator already trusts the drafter to pick the type, scope, and prose — they want one call that stages tracked modifications, drafts the subject, and commits. No clipboard round-trip, no second invocation. The skill is a thin wrapper: read the shared [`commit-routine.md`](./commit-routine.md), set `PUSH=no` and `SIMPLIFY=yes`, and follow it. The routine is the source of truth for staging discipline, the §2 pre-staging simplify pass, Jira detection, type classification, and the final-line emit format. Pushing is `/wise-commit-push`'s job; the per-caller `SIMPLIFY` default policy lives in the routine's §"Inputs the caller sets". ## Invocation ``` /wise-commit /wise:wise-commit # canonical namespaced form ``` No positionals, no flags. If the argument string contains anything other than optional whitespace, stop with: ``` Unknown argument(s): <the extra tokens> Usage: /wise-commit ``` If the user wants `--no-verify`, partial staging, or `--amend`, they run `git commit` directly. This skill's argument surface is deliberately empty so the routine's behaviour is predictable. ## Procedure