agentleFS
CodeAlive-AICodeAlive-AI/ai-driven-development/skills/repo-activity-summary/SKILL.md

repo-activity-summary

Skill169 starsChanged 56 days agoMITView on GitHub

Summarize a repository's recent engineering activity from git history — technologies, work types, churn hotspots, contributor patterns, and velocity. Use when asking "what has this repo been working on", "is this project active", "who contributes what", "where are the hotspots", or before onboarding onto an unfamiliar codebase.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user asks:

    line 18
  2. Distinctive:

    Before onboarding onto an unfamiliar codebase.

    line 25
  3. Very specific:

    Do not use this skill for file-level blame or provenance — use investigating-repository-history for that.

    line 27
  4. Distinctive:

    Prefer the facts in the report (counts, paths, subjects, dates) over the keyword labels.

    line 74
  5. Very specific:

    When classification.unreliable is true, or the unclassified share is high, classify from the emitted subjects (or re-run with …

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Repo Activity Summary

Answer "what's been happening in this repo" from local git history — no network, no tokens, no setup.

Trigger conditions

Use this skill when the user asks:

  • "What has this repo been working on recently?"
  • "What technologies does this project use?"
  • "Where are the high-churn files / hotspots?"
  • "Who's contributing and what are they working on?"
  • "Is this project actively maintained?"
  • Before onboarding onto an unfamiliar codebase.

Do not use this skill for file-level blame or provenance — use investigating-repository-history for that.

Quick start

python3 scripts/activity_summary.py --repo-dir . --days 90
FlagDefaultDescription
--repo-dir.Path to the git repository
--days90Days of history to analyze
--author(all)Filter to one author
--formatmarkdownmarkdown, json, or text
--max-commits500Cap for very active repos
--branch(current)Branch / revision to analyze (must not start with -)
--output / -o(stdout)Write the report to a file (UTF-8)
--classify-threshold0.25If the share of unclassified commits exceeds this fraction, mark work-type classification unreliable and emit subject samples
--max-unclassified-samples40Cap on unclassified commit subjects included in the report
--raw-subjectsoffEmit every filtered commit subject with sha and date for agent-side classification
--version—Print version (1.1.0) and exit

What it produces

A structured report with:

  1. Overview — commit count, date range, contributors, lines added/deleted
  2. Technologies — languages and frameworks inferred from file paths (heuristic)
  3. Work type breakdown — feature / bugfix / refactor / docs / infra / release / … (keyword heuristic)
  4. Unclassified subjects — when keyword classification is unreliable, the raw subjects so the agent can classify them
  5. Churn hotspots — most frequently modified files and directories (lockfiles/generated paths excluded)
  6. Contributor patterns — per-author commits, lines, and primary focus
  7. Velocity — commits/week, active days, average commit size (same noise filter as churn)
  8. Project health — test modules (by basename/path convention), CI, docs, recency

How it works

  1. Collects commits via git log --numstat --no-renames with an explicit UTC --since timestamp
  2. Filters bots (GitHub-style [bot] names and known automation identities) and keeps the filtered count
  3. Detects technologies from extensions, exact manifest filenames, and path segments — never bare path substrings; requires a manifest hit or at least two source files
  4. Classifies work types with precompiled word-boundary regexes and scored multi-label tie-break; does not present a large "Other" bucket as a finding
  5. Ranks files/directories by modification frequency
  6. Aggregates per-author stats using the same classifier
  7. Checks for test modules, CI config, documentation, and last activity date

Agent guidance

  • Prefer the facts in the report (counts, paths, subjects, dates) over the keyword labels.
  • When classification.unreliable is true, or the unclassified share is high, classify from the emitted subjects (or re-run with --raw-subjects) instead of trusting the work-type percentages.
  • Technology labels are path heuristics, not an import graph — verify against manifests when it matters.

Limitations

  • Shallow clones (--depth 1) limit the analysis window.
  • Technology detection is a heuristic (extensions, manifests, path segments — not imports or lockfile graphs). Labels are hints.
  • Work-type classification is a keyword heuristic, not ground truth. Conventional-commit prefixes classify well; free-form subjects often do not. When the unclassified share exceeds --classify-threshold (default 25%), the report says so and emits subjects for the agent to classify.
  • Average commit size and churn exclude lockfiles and common generated/vendor paths; the report states this filter.
  • Summarizes activity, not code quality.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.