Generate weekly code-review digest docs from PR review comments for any GitHub repo, capturing themes, repeated issues, and concrete takeaways.
Generates weekly code-review digest docs from PR comments, highlighting themes and repeated issues.
/plugin marketplace add diversioteam/agent-skills-marketplace/plugin install code-review-digest-writer@diversiotechThis skill is limited to using the following tools:
If the user does not provide both a start and end date, ask them to specify:
YYYY-MM-DD → YYYY-MM-DD before proceeding.
owner/service-repo and highlight repeated issues.”docs/review-digests/AGENTS.md with
project-specific digest guidelines. If not, fall back to the generic structure
described in this Skill and any existing digest files.docs/review-digests/YYYY-MM-DD.md
where the date is the end date of the reporting window.docs/review-digests/.docs/review-digests/ does not exist yet, create the directory before
writing the digest file, so future digests can be added and past ones read.When using Bash, assume:
gh (GitHub CLI) is installed and authenticated for the target repository
(or for a default GitHub identity that can see it).--repo owner/name
explicitly to gh commands, if needed).If gh is not available, gracefully fall back to:
When asked to generate or update a digest, follow this workflow:
Confirm time window
start_date and end_date (inclusive).Load local digest guidelines
docs/review-digests/AGENTS.md and read it carefully.docs/review-digests/ as a reference.Inspect existing digests
docs/review-digests/ directory exists:
Glob or Bash to list docs/review-digests/*.md.Fetch PR and review data for the window
Bash with gh to query PRs whose:
createdAt is between [start_date, end_date], ORclosedAt is between [start_date, end_date].__typename == "User").github-actions, log-only bots, CI status updates).Cluster feedback into themes
Detect repeated issues
dict[str, Any] in payloads”, “avoid Django Ninja Query() constants”,
“reuse shared fixtures instead of copy-paste”), treat it as a repeated issue.[NEW] for themes that appear for the first time.[REPEAT] for themes that have appeared in previous digests.Draft the digest file
docs/review-digests/END_DATE.md
2025-11-13 → 2025-11-27 → docs/review-digests/2025-11-27.md.docs/review-digests/AGENTS.md and the
most recent digest, including:
[NEW] or [REPEAT].Linking to PRs and comments
[#2519 – Fix Teams Start Survey race condition][pr-2519]Key comment: [Fixture reuse recommendation][c-2519-3]pr-<number> for PRs.c-<number>-<n> for specific review comments.ic-<number>-<n> for issue comments, if needed.Respect tone and intent
Save and review
Edit to create or update the digest file for END_DATE.[NEW] / [REPEAT] tags are applied consistently.When this Skill is active and asked to generate a digest, your final output should be:
docs/review-digests/YYYY-MM-DD.md.[REPEAT] vs [NEW].If you were unable to access GitHub or some PRs, clearly note in the digest and in your summary which data sources were missing and how that might limit the digest.
Instead of issue severities, this Skill uses learning/emphasis tags:
[NEW] – First time this theme appears in digests.[REPEAT] – Theme appeared in at least one prior digest.[HIGH-IMPACT] – Optional extra tag for themes with clear business impact
(e.g., security invariants, multi-tenant correctness, high-risk migrations).Use these tags sparingly and consistently; they should help readers prioritize which lessons to internalize first.
This Skill is designed to work with both Claude Code and OpenAI Codex.
plugins/code-review-digest-writer/commands/).name: code-review-digest-writer.For installation, see this repo's README.md.
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.