跳到正文
TakoAPI
返回技能列表

sovereign-git-commit-analyzer

由 ryudi84 提供

Git & GitHub
341下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Runs the analyzer against the develop branch with a 90-day window

  2. 2

    Walks commit history and scores each message against five quality criteria

  3. 3

    Aggregates per-criterion pass rates into an overall percentage score

  4. 4

    Identifies and lists the worst-offending commit messages by pattern

  5. 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 或你在用的任意编程智能体里。

链接