marclove

Lint Diff — Git skill for Claude Code

Git community

Lint only changed files against a base reference (fast feedback on PR diffs).

How to install Lint Diff

Installs to ~/.claude/commands/marclove-typeforge-lint-diff.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/marclove/typeforge/HEAD/.claude/commands/lint-diff.md -o ~/.claude/commands/marclove-typeforge-lint-diff.md

Restart Claude Code, or start a new session, for it to be picked up.

What Lint Diff does


allowed-tools: Bash(just lint-diff) argument-hint: [base-ref] [head-sha] description: Lint only changed files against a base reference (fast feedback on PR diffs)

If `$1` or `$2` are provided, set environment variables and run:

  • BASE_REF=$1 HEAD_SHA=$2 just lint-diff Otherwise, run just lint-diff with the default base detection.

Summarize issues and suggest fixes.

Alternatives in Git

  • Brooks Review — Run a Brooks-Lint PR code review 1.5k ★
  • CodeReview — Review local code changes against base branch 512 ★
  • Review My Shit — Self-review before PR - lint, types, common mistakes, generate PR description 508 ★

Full documentation available on GitHub

View Source Repository