code-simplifier
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing…
Generate a comprehensive repo recap (PRs, issues, releases) for sharing with team. Pass "en" or "fr" as argument for language (default fr).
$ npx -y skills add rtk-ai/rtk --skill repo-recap --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/repo-recapContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate a comprehensive repo recap (PRs, issues, releases) for sharing with team. Pass "en" or "fr" as argument for language (default fr).
description: Generate a comprehensive repo recap (PRs, issues, releases) for sharing with team. Pass "en" or "fr" as argument for language (default fr). allowed-tools: Bash Read Grep
Generate a structured recap of the repository state: open PRs, open issues, recent releases, and executive summary. Output is formatted as Markdown with clickable GitHub links, ready to share.
Before gathering data, verify:
# Must be inside a git repo git rev-parse --is-inside-work-tree # Must have gh CLI authenticated gh auth status
If either fails, stop and tell the user what's missing.
Run these commands in parallel via `gh` CLI:
# Repo identity (for links) gh repo view --json nameWithOwner -q .nameWithOwner # Open PRs with metadata gh pr list --state open --limit 50 --json number,title,author,createdAt,changedFiles,additions,deletions,reviewDecision,isDraft # Open issues with metadata gh issue list --state open --limit 50 --json number,title,author,createdAt,labels,assignees # Recent releases (for version history) gh release list --limit 5 # Recently merged PRs (for contributor activity) gh pr list --state merged --limit 10 --json number,title,author,mergedAt
Note: `author` in JSON results is an object `{login: "..."}` — always extract `.author.login` when processing.
To distinguish "our PRs" from external contributions:
gh api repos/{owner}/{repo}/collaborators --jq '.[].login'If this fails (permissions), fallback: authors with write/admin access are those who merged PRs recently. When in doubt, ask the user.
**Our PRs** (author is a repo collaborator):
**External — Reviewable** (manageable size, no major blockers):
**External — Problematic** (any of: too large, CI failing, overlapping, merge conflict):
**Size labels** (use in "Taille" column for quick visual triage):
| Label | Additions | | ----- | --------- | | XS | < 50 | | S | 50-200 | | M | 200-500 | | L | 500-1000 | | XL | > 1000 |
Format: `+{additions}, {files} files ({label})` — e.g., `+245, 2 files (S)`
Two PRs overlap if they modify the same files. Use `changedFiles` from the JSON data. If >50% file overlap between 2 PRs, flag both as overlapping and cross-reference them.
If one author has 3+ open PRs, note it as a "cluster" with suggested review order (smallest first, or by dependency chain).
From `gh release list` output, extract version, date, and name. List the 5 most recent.
If no releases found, check merged PRs for release-please pattern (title matching `chore(*): release *`) as fallback.
Produce 5-6 bullet points:
Structure the full recap as Markdown with:
**Empty data handling**:
After displaying the recap, automatically copy it to clipboard:
# Cross-platform clipboard
clip() {
if command -v pbcopy &>/dev/null; then pbcopy
elif command -v xclip &>/dev/null; then xclip -selection clipboard
elif command -v wl-copy &>/dev/null; then wl-copy
else cat
fi
}
cat << 'EOF' | clip
{formatted recap content}
EOFConfirm with: "Copié dans le presse-papier." (FR) or "Copied to clipboard." (EN)
# {Repo Name} — Récap au {date}
## Releases récentes
| Version | Date | Highlights |
| ------- | ---- | ---------- |
| ... | ... | ... |
---
## PRs ouvertes ({count} total)
### Nos PRs
| PR | Titre | Taille | Status |
| -- | ----- | ------ | ------ |
### Contributeurs externes — Reviewables
| PR | Auteur | Titre | Taille | Status | Action |
| -- | ------ | ----- | ------ | ------ | ------ |
### Contributeurs externes — Problématiques
| PR | Auteur | Titre | Taille | Problème | Action |
| -- | ------ | ----- | ------ | -------- | ------ |
---
## Issues ouvertes ({count}CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Repo: rtk-ai/rtk
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing…
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or…
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue…
CLI performance optimization - startup time, memory usage, token savings benchmarking
Batch review des PRs RTK par ordre de complexité croissante (XS → S → M → L). Pour chaque PR : vérifie l'état (conflits, CLA, reviews), lit le diff complet,…
PR triage: audit open PRs, deep review selected ones, draft and post review comments. Args: "all" to review all, PR numbers to focus (e.g. "42 57"), "en"/"fr"…