current-branch-diff

Community

See current-branch diffs, ignoring artifacts.

Authorgreenhat
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers quickly review code changes in the current branch against its parent, while filtering out generated artifacts (.wat, .hir, .masm) and lockfiles (.lock) to reduce noise.

Core Features & Use Cases

  • Ignore generated artifacts (.wat, .hir, .masm) and lockfiles (.lock) when diffing.
  • Print the parent branch with git parent-branch and compare against HEAD.
  • Provide a quick file list option to quickly assess changed files.

Quick Start

Print the parent branch:

  • git parent-branch Review the diff (merge-base comparison) while ignoring artifacts:
  • parent="$(git parent-branch)"
  • git diff --stat "$parent"...HEAD -- . ':(exclude).wat' ':(exclude).hir' ':(exclude).masm' ':(exclude).lock'
  • git diff "$parent"...HEAD -- . ':(exclude).wat' ':(exclude).hir' ':(exclude).masm' ':(exclude).lock'

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: current-branch-diff
Download link: https://github.com/greenhat/agent-skills/archive/main.zip#current-branch-diff

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.