wise-commit-push

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

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-push — draft, commit, and push 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` closes the local loop — stage, draft, commit. The common follow-up on a feature branch is `git push`. Bundling those two steps into one call is the whole point of `/wise-commit-push`: the operator types one command and the change lands on the remote. The skill is a thin wrapper: read the shared [`commit-routine.md`](../wise-commit/commit-routine.md) (co-located with `/wise-commit`, since that's the simpler skill that owns the file), set `PUSH=yes` and `SIMPLIFY=yes`, and follow it. The routine is the source of truth for the §2 pre-staging simplify pass, staging, drafting, committing, the main/master push refuse guard, the upstream check, and the final-line emit format. The per-caller `SIMPLIFY` default policy lives in the routine's §"Inputs the caller sets". ## Invocation ``` /wise-commit-push /wise:wise-commit-push # 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-push ``` If the user wants `--force`, `--no-verify`, or any other es...

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

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

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