Skip to content

Automated commit digests using Claude Code agents

Notifications You must be signed in to change notification settings

ROCm/repo-digest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Project Digest

Automated summaries of changes to any open source repository using Claude Code. Generate weekly, monthly, or custom-frequency digests with AI-powered analysis.

Features

  • Flexible Scheduling — Generate digests weekly, monthly, or on any custom schedule
  • Multi-Project Support — Configure multiple repositories with different focus areas
  • AI-Powered Analysis — Uses Claude Code multi-agent architecture for intelligent commit categorization
  • Customizable Focus Areas — Define paths, keywords, and priority rules per project

How It Works

A GitHub Action runs on your configured schedule using a multi-agent architecture:

  1. digest — Fetches commits for the specified time range and coordinates analysis
  2. analyze-commit — Sub-agents that analyze individual commits in parallel

The system generates prioritized digests highlighting changes relevant to your defined focus areas.

Project Structure

.claude/
├── agents/
│   ├── digest.md            # Orchestrator agent
│   └── analyze-commit.md    # Commit analyzer sub-agent
├── projects/
│   └── <project>.md         # Project-specific configuration
└── skills/
    └── download-artifacts/  # Skill for downloading digest artifacts
        └── SKILL.md
scripts/
└── download-artifacts.sh    # Download artifacts from GitHub Actions
digests/                     # Generated digest files

Configuration

Project settings are defined in .claude/projects/<project>.md:

  • Repository — GitHub repository path (e.g., owner/repo)
  • Focus areas — Paths and components to prioritize
  • Keywords — Terms to highlight in analysis
  • Priority rules — How to categorize and rank changes
  • Digest template — Output format customization

Adding New Projects

  1. Create a config file in .claude/projects/<project>.md
  2. Define repository path, focus areas, and template
  3. Create a workflow that invokes the digest agent with:
    • Config path (first line)
    • Number of days (second line) - e.g., 1 for daily, 7 for weekly
  4. Configure the cron schedule for your desired frequency

Examples

See the xla_digest_examples/ directory for sample digest outputs from the OpenXLA/XLA repository. These examples demonstrate:

  • Weekly digest format and structure
  • Commit categorization by focus areas (GPU, HLO, PJRT, SPMD)
  • Priority-based change highlighting
  • AI-generated summaries and insights

Downloading Artifacts

Generated digests are uploaded as GitHub Actions artifacts. Use the included script to download them:

# Most recent Triton daily digest
./scripts/download-artifacts.sh -a digest triton-daily-digest.yml

# 3 most recent XLA daily digests
./scripts/download-artifacts.sh -n 3 -a digest xla-daily-digest.yml

# Triton weekly digest
./scripts/download-artifacts.sh -a weekly-digest triton-weekly-digest.yml

# Most recent LLVM daily digest (AMD/AMDGPU/ROCm focus)
./scripts/download-artifacts.sh -a llvm-digest llvm-daily-digest.yml

# Most recent LLVM weekly digest
./scripts/download-artifacts.sh -a llvm-digest-weekly llvm-weekly-digest.yml

Run ./scripts/download-artifacts.sh -h for full usage and available workflows.

If using Claude Code, invoke /download-artifacts to download artifacts interactively.

Manual Trigger

Workflows can be triggered manually via Actions tab:

  • Daily digests: Run the corresponding daily workflow
  • Weekly digests: Run the corresponding weekly workflow

License

MIT

About

Automated commit digests using Claude Code agents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages