Lint Diff — Git skill for Claude Code
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
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-diffOtherwise, runjust lint-diffwith 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 RepositoryRelated Skills
PR Desc
Reads git diff between the current branch and main (or a specified base branch), analyzes changed files, and g
Concurrency Atomicity
Run a concurrency-correctness and atomicity review against a diff, PR, or branch — race conditions, TOCTOU, de
PR Describe
Review the current branch's diff against the base branch and update the GitHub PR with a clear title and descr
Cdd Pre PR
Run a pre-PR checklist for the current branch. Compare against the base branch to identify all changes. This i
Secrets Hunt
Hunt leaked credentials in a filesystem path, git history, JS bundles from a recon run, or an entire GitHub or
PR Ready
Verify the branch is ready to open a PR — typecheck, tests, lint, diff summary, commit message suggestion
Related Agents
Backend Convention Checker
Use this agent when a plan file's lint verification stage needs to be executed — specifically to check recentl
PR Summarizer
Generates comprehensive PR summaries after all automated tests pass. Analyzes the full diff against the base b
Frontend Gate
Very senior frontend engineer who gates a code diff BEFORE it lands on develop. Reviews the changed UI for the