This directory contains custom slash commands for Claude Code.
Generates a comprehensive team statistics report comparing contributor performance across two years. Use this to analyze PR and git commit metrics, identify top performers, and get strategic insights for team productivity analysis.
/plugin marketplace add rryter/claude-plugins/plugin install consulting@twy-marketplaceThis directory contains custom slash commands for Claude Code.
/team-stats - Comprehensive Team Statistics ReportGenerates a detailed analysis of team contributor statistics comparing two years.
What it does:
Usage:
/team-stats
The command will:
Requirements:
gh CLI (GitHub CLI) installed and authenticatedOutput: A comprehensive markdown report including:
Example:
/team-stats
This will generate a full report comparing 2024 vs 2025 for the top 10 contributors.
The command uses these helper scripts in .claude/scripts/:
find-top-contributors.shFinds top N contributors by PR count for a given year.
Usage:
bash .claude/scripts/find-top-contributors.sh [year] [limit]
Example:
bash .claude/scripts/find-top-contributors.sh 2025 10
gather-contributor-metrics.shGathers PR metrics for specified contributors.
Usage:
bash .claude/scripts/gather-contributor-metrics.sh "user1,user2,user3" [year1] [year2]
Example:
bash .claude/scripts/gather-contributor-metrics.sh "rryter,rfe-css,tthttl" 2024 2025
gather-git-metrics.shGathers git commit metrics based on identity patterns.
Usage:
bash .claude/scripts/gather-git-metrics.sh <identities_file> [year1] [year2]
Example:
# First create identities file
cat > /tmp/identities.txt << EOF
rryter|reto|ryter|reto.ryter@css.ch|reto@twy.gmbh
rfe-css|raphael|felber|p17875|raphael.felber@css.ch
EOF
# Then run the script
bash .claude/scripts/gather-git-metrics.sh /tmp/identities.txt 2024 2025
You can modify the scripts to:
"gh: command not found"
"Permission denied"
chmod +x .claude/scripts/*.shEmpty or incomplete data
gh auth login