pr-trends
Skill0 starsChanged 10 months agoMITView on GitHub
Generate weekly and monthly pull request trend tables for a git repository, including created PRs, merged PRs, average days to merge, and lines changed. Use when a user asks for PR throughput trends, repo contribution trends, weekly or monthly PR summaries, merge velocity, or a table like Created/Merged/Avg Days/Lines Δ.
In this repository35 other files it gives its agents.
- skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- bunSkill
- central-stationSkill
- chrome-devtoolsSkill
- databaseSkill
- deploymentSkill
- design-spec-rulesSkill
- deslopSkill
- faviconSkill
- find-skillsSkill
- git-commit-messageSkill
- githubSkill
- interfaces-raunofreibergSkill
- knipSkill
- mymindSkill
- next-best-practicesSkill
- paper-mcpSkill
- projectsSkill
- railway-docsSkill
- ramsSkill
- reclaudeSkill
- sentrySkill
- serviceSkill
- simplifySkill
- skill-creatorSkill
- statusSkill
- tailwind-v4Skill
- technical-writing-styleguideSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
- web-interface-guidelinesSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user wants a repo-level pull request trend report.
- Distinctive: line 12
Run the bundled script from the target repository:
- Very specific: line 48
Run from the repo root unless --repo is provided.
- Distinctive: line 50
If the fallback note mentions missing PR numbers, treat those as likely closed, unmerged, or otherwise not reconstructable from local git …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
PR Trends
Use this skill when the user wants a repo-level pull request trend report.
Quick start
Run the bundled script from the target repository:
node .agents/skills/pr-trends/scripts/report-pr-trends.mjsUseful options:
node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --repo /path/to/repo
node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --mode gh
node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --mode gitSource selection
--mode auto: trygh pr listfirst for exact PRcreatedAt,mergedAt, and line counts. Fall back togitifghis unavailable or offline.--mode gh: require GitHub CLI data. Use this when the user needs exact PR creation trends and accurate days-to-merge.--mode git: use only local mainline history. This gives reliable merged counts and merged lines changed, but it cannot recover exact PR creation timestamps or closed-unmerged PRs.
Output
The script prints:
- A weekly summary table
- A monthly summary table
- A short note describing which data source was used
Interpretation
Createdis grouped by PR creation time when GitHub metadata is available.Merged,Avg Days, andLines Δare grouped by merge time.- In
gitfallback mode,CreatedandAvg Daysare shown as-because local git history does not preserve complete PR lifecycle metadata.
Notes
- Run from the repo root unless
--repois provided. - The script reads first-parent history so the report reflects the mainline branch.
- If the fallback note mentions missing PR numbers, treat those as likely closed, unmerged, or otherwise not reconstructable from local git alone.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

