跳到正文
cccskills
免费在 GitHub 公开

pr-review-expert

Systematic PR review with blast-radius analysis, security scanning, and breaking-change and test-coverage deltas. Use when reviewing PRs that touch shared libraries, APIs, database schemas, auth, or security-sensitive code.

中文简介正在准备中。当前显示原文说明。

集成工具GitLab
查看安装方法

包含的文件(7)

  • SKILL.md6.0 KB
  • references/best-practices-and-troubleshooting.md3.5 KB
  • references/review-workflow-commands.md4.7 KB
  • references/writeup-format-and-checklist.md4.2 KB
  • scripts/blast_radius_calculator.py14.3 KB
  • scripts/diff_analyzer.py12.7 KB
  • scripts/review_checklist_generator.py14.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

PR Review Expert

Structured, systematic code review for GitHub PRs and GitLab MRs. Goes beyond style nits to perform blast-radius analysis, security vulnerability scanning, breaking-change detection, test-coverage delta calculation, and performance impact assessment. Produces reviewer-ready reports with prioritized findings categorized as must-fix, should-fix, and suggestions.

Keywords: PR review, code review, pull request, merge request, blast radius, security scan, breaking changes, test coverage, review checklist, code quality

Core Capabilities

  • Blast radius analysis — trace which files, services, and downstream consumers a diff could break; quantify severity CRITICAL/HIGH/MEDIUM/LOW.
  • Security scanning — detect SQL injection, XSS vectors, hardcoded secrets, auth bypass, insecure crypto, path traversal, and prototype pollution in the diff.
  • Breaking-change detection — flag API removals/renames, response-schema and required-field changes, DB column removals, env-var changes, and TS interface edits.
  • Test coverage analysis — new-code vs new-test ratio, missing tests for new public functions, deleted tests without deleted code, coverage delta.
  • Performance assessment — N+1 query patterns, bundle-size regressions, unbounded queries, missing indexes.
  • Reviewer-ready output — prioritized must-fix / should-fix / suggestion report, a 35-item checklist, and consistent comment labels.

When to Use

  • Before merging any PR that touches shared libraries, APIs, or database schemas.
  • When a PR is large (>200 lines changed) and needs structured review.
  • For PRs in security-sensitive code paths (auth, payments, PII handling).
  • After an incident, to proactively review similar code changes.
  • For onboarding new contributors whose PRs need thorough feedback.

Tools

ToolPurposeCommand
blast_radius_calculator.pyCalculate PR blast radius from import chains / dependency trees of changed filesgit diff --name-only main...HEAD | python scripts/blast_radius_calculator.py --root src
diff_analyzer.pyAnalyze a diff for risk indicators (large files, sensitive paths, config/breaking/security patterns)gh pr diff $PR | python scripts/diff_analyzer.py --json
review_checklist_generator.pyGenerate a tailored review checklist from changed file types/patternsgit diff --name-only main...HEAD | python scripts/review_checklist_generator.py

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/review-workflow-commands.md — the 6-step review workflow with the exact gh/grep command catalog for context gathering, blast radius, security scan, breaking-change detection, coverage delta, and performance impact (plus the blast-radius severity table and coverage rules). Read when actually performing a review.
  • references/writeup-format-and-checklist.md — the review report template with worked examples, the complete 35-item review checklist, and the comment-label taxonomy. Read when writing up findings.
  • references/best-practices-and-troubleshooting.md — common reviewer pitfalls, best-practice habits, the troubleshooting table, and the success-criteria bar. Read before and after a review for quality control.

Scope & Limitations

This skill covers:

  • Structured review of GitHub PRs and GitLab MRs using a 35+ item checklist
  • Blast radius analysis for monorepo and multi-service architectures
  • Static security scanning of diffs for common vulnerability patterns (SQLi, XSS, secrets, auth bypass)
  • Breaking change detection for APIs, database schemas, TypeScript interfaces, and environment variables

This skill does NOT cover:

  • Automated code fixes or refactoring — use engineering/saas-scaffolder or engineering/migration-architect for code generation
  • Runtime security analysis, SAST/DAST tool orchestration, or CVE database lookups — use engineering/dependency-auditor for dependency-level vulnerability scanning
  • CI/CD pipeline configuration or build failure triage — use engineering/ci-cd-pipeline-builder for pipeline design
  • Performance benchmarking or load testing — use engineering/performance-profiler for profiling and optimization guidance

Integration Points

SkillIntegrationData Flow
engineering/dependency-auditorRun dependency audit before reviewing PRs that add or upgrade packagesAudit report feeds into the Security section of the review report
engineering/ci-cd-pipeline-builderEmbed review checklist gates into CI pipelines as automated PR checksChecklist items become pass/fail signals in the pipeline
engineering/performance-profilerEscalate N+1 and unbounded query findings for detailed profilingFlagged code paths from review become profiling targets
engineering/migration-architectValidate database migration safety for PRs that include schema changesMigration risk assessment supplements the Breaking Changes section
engineering/release-managerFeed breaking change detection results into release notes and changelogsDetected breaking changes auto-populate release documentation
engineering/api-design-reviewerCross-reference API endpoint changes with API design standardsAPI review findings merge into the Blast Radius and Breaking Changes sections

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9682026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题