mcpField
W
w-git-repair

w-git-repair

github.com/blockmatic-iceboxDevelopment1647 installsUpdated 4w ago
Repository

About w-git-repair

w-git-repair is a Basilic workflow skill for diagnosing and handling local Git problems such as conflicts, detached HEAD, and upstream divergence. It emphasizes inspecting repository state and using the smallest safe commands, with authorization safeguards for destructive or history-rewriting operations.

Key features

  1. 01Inspect status, branches, and logs
  2. 02Diagnose local Git problems
  3. 03Propose minimal safe commands
  4. 04Require confirmation for destructive commands
  5. 05Recheck status after authorized changes

Use cases

  1. 01Resolve merge conflicts
  2. 02Recover from detached HEAD
  3. 03Address upstream divergence

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/blockmatic-icebox/basilic-skills --skill w-git-repair

After installing, type/w-git-repairin Claude Code to confirm it loaded.

Details

From the project README

Help with conflicts, detached HEAD, upstream divergence, and similar local Git problems. Follow git publish. Do not rewrite published history unless the user asked.

  1. Inspect git status, git branch -vv, and the relevant log. State the current problem in one sentence.
  2. Propose the smallest safe commands. Explain what they change. Require explicit confirmation before commands that can discard local changes (git reset --hard, git clean, git restore). Require an explicit user request before history-rewriting commands (git rebase, git commit --amend of a published commit).
  3. After an authorized command, re-inspect status and remaining conflicts. Never force-push or bypass hooks.

Comments

Markdown supported