skillfed

git-stats

git-stats examines your repository's commit history, contributor activity, and code modifications. Run it with command-line flags to filter by date range, list top contributors, or identify the most-changed files.

git-stats analyzes your repository's commit history, contributors, and code changes at a glance.

AI-generated summary based on this skill's SKILL.md

84 15 MIT updated by AIDotNet

Install

AIDotNet/MoYuCode/git-stats · repository language: TypeScript

git clone https://github.com/AIDotNet/MoYuCode
cp -r MoYuCode/skills/tools/git-stats ~/.claude/skills/git-stats
npx skillfed install AIDotNet/MoYuCode/git-stats

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How can I analyze git repository statistics with git-stats?

git-stats examines your repository's commit history, contributor activity, and code modifications. Run it with command-line flags to filter by date range, list top contributors, or identify the most-changed files. The tool generates repository metrics and change reports to help you understand development patterns and code churn across your project.

What does git-stats track about contributor activity?

git-stats tracks contributor activity and code contributions by analyzing commit data. You can use it to identify who contributed most to your repo, see contribution breakdowns by team member, and monitor individual developer activity over time. The tool helps you understand the distribution of work and recognize key contributors to your project.

How many commits are in my repository and how do I find out?

git-stats provides commit analysis capabilities to show you the total number of commits in your repo and break them down by contributor, date range, or other metrics. Run the tool with appropriate flags to generate a commit activity report that displays commit frequency, patterns, and trends across your repository's history.

Can git-stats monitor file modifications and code changes?

Yes, git-stats monitors file modifications and code churn by analyzing which files have changed most frequently. The tool can identify the most-changed files in your repository and track code change metrics over time, helping you spot areas of active development or files that may need refactoring attention.

What repository metrics does git-stats generate?

git-stats generates repository metrics and change reports including commit breakdowns, contributor statistics, file change frequency, and activity trends. It helps audit repository health and development patterns by providing comprehensive analytics on your project's evolution, making it easier to understand code contribution patterns and identify development bottlenecks.

SKILL.md

rendered from the published skill — quoted content, verbatim

Git Stats Tool

Description

Analyze Git repository statistics including commit history, contributor activity, and code changes.

Trigger

  • /git-stats command
  • User needs repository analysis
  • User wants commit statistics

Usage

# Repository overview
python scripts/git_stats.py

# Contributor stats
python scripts/git_stats.py --contributors

# Commit history
python scripts/git_stats.py --commits --since "2024-01-01"

# File changes
python scripts/git_stats.py --files --top 10

Tags

git, stats, repository, commits, analysis

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
skills/tools/git-stats/SKILL.md
skills/tools/git-stats/scripts/git_stats.py

Related skills

Tags

version-control-metrics contributor-tracking commit-analysis code-change-audit repository-insights developer-activity git-reporting collaboration-metrics