sovereign-git-commit-analyzer
由 ryudi84 提供
Git & GitHub简介
A comprehensive git commit history analysis tool that generates detailed reports.
描述
该技能的功能
Analyzes a git repository's commit history and produces reports covering contributor rankings, file change frequency, and commit message quality scores. Configurable time windows, branch filters, and output formats (markdown, JSON, plain text) are supported. Designed for team leads and developers who want visibility into how a codebase evolves.
Combines frequency, contributor, heatmap, and message quality analysis into a single command instead of requiring multiple git log invocations and manual aggregation.
何时使用
- Reviewing contributor activity before a quarterly engineering retrospective
- Identifying the most frequently modified files to prioritize refactoring work
- Auditing commit message quality before enforcing conventional commits on a team
- Generating a JSON commit report as a CI quality gate in a pull request workflow
- Filtering one developer's commits over a custom date range for a code review
示例工作流
User asks: Show me commit quality for the last 90 days on the develop branch
- 1
Runs the analyzer against the develop branch with a 90-day window
- 2
Walks commit history and scores each message against five quality criteria
- 3
Aggregates per-criterion pass rates into an overall percentage score
- 4
Identifies and lists the worst-offending commit messages by pattern
- 5
Outputs a formatted markdown report to stdout
A markdown report showing an overall quality score out of 100, per-criterion pass rates, and the specific vague or malformed commit messages that lowered the score
安装
clawhub install ryudi84/sovereign-git-commit-analyzer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。