wise-commit

Solid

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`.

Code & Development 4 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /wise-commit — draft a Conventional-Commits subject and commit Before asking any user question, read and follow the [question lifecycle](../../references/workflow-host-control.md#keep-asynchronous-questions-open). Keep asynchronous prompts open until answered; this rule does not authorize questions in autonomous or otherwise prompt-free procedures. ## 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 whitespa...

Details

Author
e1024kb
Repository
e1024kb/wise-claude
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

wise-commit-push

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, run `git commit`, then `git push` to the tracked upstream. If the working tree is already clean but the local branch is ahead of upstream (e.g. a previous skill already committed), skips the commit half and just pushes the existing local commits — the operator types one slash command either way. Refuses to push to `main` / `master` (commit lands locally; push is on the operator) and refuses `--force`, `--force-with-lease`, `--no-verify` entirely. Invoked as `/wise-commit-push` (bare alias) or `/wise:wise-commit-push` (canonical). Use whenever the user says "commit and push", "ship this", "push my changes", "commit and ship", "push the lint commit", or types `/wise-commit-push`. For local-only commits use `/wise-commit` instead; for read-only subject drafting use `/wise-commit-message`.

4 Updated today
e1024kb
Code & Development Solid

wise-commit-message

Draft one Conventional-Commits subject line from your pending git changes — both staged (`git diff --cached`) and unstaged-but-modified tracked files (`git diff`) — Jira-scoped (e.g. `feat(PROJ-777): …`) when a key is detectable from the branch, diff, recent commits, or the live session, and unscoped (e.g. `feat: …`) otherwise. Pass `--copy` to also drop the subject onto the macOS clipboard. Strictly read-only against git — never runs `git commit`, `git add`, or anything that mutates the repo. Invoked as `/wise-commit-message` (bare alias) or `/wise:wise-commit-message` (canonical). Use when the user says "write a commit message", "draft a commit", "conventional commit", "prepare commit message", "one-line commit", or types `/wise-commit-message`.

4 Updated today
e1024kb
AI & Automation Listed

wise-simplify-auto

Autonomously simplify recently-modified code and commit it — dispatches the `code-simplifier` agent over the working tree (cleanup only, behaviour preserved: clarity, consistency, dead-code/redundancy removal), then drafts a Conventional-Commits subject and commits. The lightweight per-commit tier of the plugin's two-tier quality model, as a standalone decision-free building block. NO prompts, never pushes. Invoked as `/wise-simplify-auto` (bare alias) or `/wise:wise-simplify-auto` (canonical). Use when the user says "simplify and commit", "clean up and commit", "run a simplify pass", or types `/wise-simplify-auto`.

4 Updated today
e1024kb