About w-push
A workflow skill for coding agents handling requests to push the current task. It covers reviewing changes, preserving unrelated work, selecting the upstream, and responding to rejected pushes without force-pushing.
Key features
- 01Review diffs and required checks
- 02Preserve unrelated staged and untracked files
- 03Push to the inspected upstream
- 04Use non-destructive recovery for rejected pushes
Use cases
- 01Publish completed task changes
- 02Resolve a rejected push safely
- 03Clarify the intended remote before publishing
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic-icebox/ basilic-skills --skill w-pushAfter installing, type/w-pushin Claude Code to confirm it loaded.
Details
From the project READMEInvocation requests pushing the current task. Follow git publish.
- Review the intended diff and required check results. Remove only temporary debug code introduced by the task.
- If task changes need committing, follow commit. Preserve unrelated staged and untracked files.
- Push to the inspected upstream. If none exists, use the repository's intended remote and current branch; resolve ambiguity before publishing.
- For a rejected push, inspect divergence and use the repository's non-destructive synchronization workflow. Never force-push or bypass hooks. Do not create a PR, deploy, or start watching CI unless requested.
Comments
Markdown supported