Git Impact Analyzer is a local CLI for estimating product impact from merged GitHub PRs and analytics data available through OneQuery.
It runs a phased workflow:
- Check configured OneQuery sources.
- Collect PR, tag, release, and changed-file data from GitHub.
- Link PRs to deployment markers and feature groups.
- Score impact from bounded before/after analytics windows.
- Render an interactive report.
./git-impact analyze --since 2026-04-01Other scopes:
./git-impact analyze --pr 6054
./git-impact analyze --feature "creator_feature_request_button"
./git-impact check-sourcesFor machine-readable output:
./git-impact --output json analyze --since 2026-04-01The CLI reads impact-analyzer.yaml by default:
onequery:
org: onequery-demo
github_repository: owner/repo
sources:
github: github-source-key
analytics: analytics-source-key
analysis:
before_window_days: 7
after_window_days: 7
cooldown_hours: 0Use --config to point at another file.
go test ./internal/gitimpact ./internal/wtl ./cmd/git-impactThe repo-root ./git-impact script runs go run ./cmd/git-impact.