Skip to main content
skill CX Codex

w-push — Claude Code skill: branch checks and installation

w-push — a skill for Claude Code checks changes before pushing the intended branch. It runs when asked to publish the current task.

MIT 647 installs ★ 1 updated 2026-10-02

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add blockmatic-icebox/basilic-skills --skill w-push -a claude-code
Open on GitHub

What w-push does

w-push reviews the diff and required check results before pushing. It removes temporary debug code added for the task, while leaving unrelated staged and untracked files alone. If the task changes need a commit, it follows the w-commit skill’s instructions.

The skill pushes to the inspected upstream. If there is no upstream, it uses the repository’s intended remote and current branch, resolving any ambiguity before publishing. When a push is rejected, it checks branch divergence and follows a non-destructive sync workflow. Force-pushes and hook bypasses are off limits. It won’t open a PR, deploy, or monitor CI unless asked.

What it helps with

  • check a diff and required results before pushing
  • push the current branch to its inspected upstream
  • keep unrelated staged and untracked files intact
  • handle a rejected push without force-pushing

Example prompts for the agent

  • Push the current task to the remote repository.
  • Check the changes and push the current branch.
  • Handle the rejected push without overwriting remote history.

How to install w-push

1Skills CLI (Vercel)

npx skills add blockmatic-icebox/basilic-skills --skill w-push -a claude-code

2Manually: put the files in place

~/.claude/skills/w-push/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/w-push/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about w-push

How do I install w-push in Claude Code?

Run npx skills add blockmatic-icebox/basilic-skills --skill w-push -a claude-code. The skill file is at ~/.claude/skills/w-push/SKILL.md.

What does w-push do?

It checks the diff and required results, then pushes the intended branch to its upstream. For a rejected push, it inspects divergence and uses a non-destructive sync workflow.

What happens if a push is rejected?

The skill checks how the branches diverged and follows a non-destructive synchronization workflow. It won’t force-push or bypass hooks.

Source text

SKILL.md · MIT
---
name: w-push
description: Validate and push the intended branch while preserving unrelated work.
disable-model-invocation: true
---

Invocation requests pushing the current task. Follow [git publish](references/git-publish.md).

1. Review the intended diff and required check results. Remove only temporary debug code introduced by the task.
2. If task changes need committing, follow [commit](../w-commit/SKILL.md). Preserve unrelated staged and untracked files.
3. Push to the inspected upstream. If none exists, use the repository's intended remote and current branch; resolve ambiguity before publishing.
4. 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.

© blockmatic-icebox · MIT · blockmatic-icebox/basilic-skills

Similar skills

All skills for Git and GitHub →

From the same set45

The whole set →
w-fix-push The w-fix-push Claude Code skill addresses reported issues, runs a matching check, then commits and pushes the changes. It starts from a request to fix specific problems. CX Codex +1 647installs w-git-repair The w-git-repair Claude Code skill diagnoses local Git problems and conflicts. It checks repository state before suggesting repair commands. CX Codex +1 647installs w-comments The w-comments Claude Code skill handles reviewer comments on pull requests and applies requested fixes. It drafts a reply for each comment and only commits after /w-commit is invoked. CX Codex +1 647installs w-pr The w-pr Claude Code skill creates or updates a pull request for the intended branch. It publishes the branch, writes the PR description, and checks the result. CX Codex +1 647installs w-commit The w-commit Claude Code skill reviews task changes and creates a repository-style commit. It runs when a commit is requested. CX Codex +1 647installs w-retro The w-retro Claude Code skill reviews completed work and suggests changes for the next similar task. It runs after a task is finished. CX Codex +1 647installs w-build w-build — a skill for Claude Code that implements an agreed task in small slices and checks the result. It starts from an existing plan or a clear implementation request. CX Codex +1 647installs w-council The w-council Claude Code skill explores a codebase with parallel agents. It gathers architectural findings and hands them off for follow-up work. CX Codex +1 647installs

Project sponsors

Companies that keep this analytics open