Back to list
greenhat

current-branch-diff

by greenhat

0🍴 0📅 Jan 19, 2026

SKILL.md


name: current-branch-diff description: | Read the code changes in the current Git branch compared to its parent branch, ignoring generated artifacts (.wat, .hir, .masm) and lockfiles (.lock). Run git parent-branch to print the parent branch name.

Current Branch Diff (ignore artifacts)

Quick start

  1. Print the parent branch:
    • git parent-branch
  2. Review the diff (merge-base comparison) while ignoring .wat, .hir, .masm, and .lock files:
    • 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'

Notes

  • Prefer "$parent"...HEAD (three dots) to compare against the merge-base with the parent branch.
  • If you want a quick file list first:
    • git diff --name-only "$parent"...HEAD -- . ':(exclude)*.wat' ':(exclude)*.hir' ':(exclude)*.masm' ':(exclude)*.lock'

Score

Total Score

35/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon