Repository navigation
Description
Skill Overview
shared/pr-code-review-config.md already exists and provides cache-memory, GitHub PR tools (pull_requests, repos toolsets), and create-pull-request-review-comment / submit-pull-request-review safe-outputs. However, only 3 workflows (grumpy-reviewer, pr-nitpick-reviewer, security-review) currently import it. At least 4 more PR-triggered code review workflows independently re-define the same tools and safe-output patterns rather than importing this shared component.
Current Usage
Workflows that already import shared/pr-code-review-config.md:
- ✅
grumpy-reviewer.md - ✅
pr-nitpick-reviewer.md - ✅
security-review.md
Workflows that perform PR code review but do not import it:
-
ci-doctor.md— posts PR check diagnoses viaadd-comment, usescache-memory: true,github:tools -
design-decision-gate.md— reviews PR diffs for ADR compliance; has nearly-identicalgithub:,bash:tool block -
approach-validator.md— validates PR approaches, hasgithub:tools, posts review comments -
test-quality-sentinel.md— reviews test quality in PRs; definesgit diff:*,git log:*,github:,submit-pull-request-reviewinline
Proposed Enhancement
Extend shared/pr-code-review-config.md with a brief section documenting the submit-pull-request-review pattern (already present) and ensure the following workflows adopt it:
File: .github/workflows/shared/pr-code-review-config.md (existing — extend, not replace)
The shared component already provides:
tools:
cache-memory: true
github:
toolsets: [pull_requests, repos]
safe-outputs:
create-pull-request-review-comment:
side: "RIGHT"
submit-pull-request-review:
max: 1Usage Example:
# In a PR review workflow
imports:
- shared/github-guard-policy.md # already in some
- shared/pr-code-review-config.md # add this
- shared/reporting.mdImpact
- Workflows to migrate: 4 additional workflows
- Lines saved: ~8-12 per workflow, ~32-48 total
- Consistency benefit: All PR review agents will consistently use cache-memory to avoid repeating comments, have access to the same PR toolsets, and submit reviews in a unified format
Implementation Plan
- Review
ci-doctor.md— identify inline config that duplicatespr-code-review-configand replace with import - Review
design-decision-gate.md— remove duplicatedgithub: toolsets: [pull_requests, repos]+ add import - Review
approach-validator.md— align its tool/safe-output config with shared component, add import - Review
test-quality-sentinel.md— replace inlinesubmit-pull-request-review+ git tools with import of bothshared/pr-code-review-config.mdandshared/git-bash-tools.md - Consider adding
git-bash-tools.mdas a nested import withinpr-code-review-config.mdif git access is needed by all PR review workflows - Run
make recompileand verify all lock files regenerate cleanly - Test at least one PR review workflow manually
Related Analysis
This recommendation comes from the Workflow Skill Extractor analysis run on 2026-04-09. See also issue #25450 (shared/git-bash-tools.md) — test-quality-sentinel.md could benefit from both.
Generated by Workflow Skill Extractor · ● 2.6M · ◷
- expires on Apr 11, 2026, 11:43 AM UTC
Activity
github-actions commentedon Apr 9, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot coding agent.
The Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Apr 11, 2026
This issue was automatically closed because it expired on 2026-04-11T11:43:36.320Z.