pr-code-reviewer
由 nesquitmx 提供
Coding Agents & IDEs简介
Revisa automáticamente Pull Requests en Bitbucket detectando errores de.
描述
该技能的功能
Automated code reviewer for Bitbucket Pull Requests. Analyzes diffs for syntax errors, security vulnerabilities, bad practices, and team convention violations across JavaScript, TypeScript, Node.js, PHP, and Python. Each finding is classified by severity and paired with a suggested fix.
It replaces running separate linters, security scanners, and manual review checklists by producing a single structured report with per-line corrections and a final merge verdict.
何时使用
- Catching SQL injection before a PHP PR merges to main
- Enforcing TypeScript naming conventions on a shared codebase
- Reviewing a Node.js API change for insecure dependency usage
- Getting a structured approve/reject verdict on a feature branch
- Identifying dead code and console.log leftovers before code review
示例工作流
User asks: Review this PR diff for my Node.js API refactor
- 1
Reads the full diff before commenting
- 2
Detects file extensions and maps each to the relevant rule sets
- 3
Classifies each finding as BLOCKER, WARNING, SUGGESTION, or NIT
- 4
Generates per-file comments showing the problematic code and the corrected version
- 5
Produces a final verdict with a summary of what must change before merge
Structured review report: 2 BLOCKER (hardcoded credentials, missing input validation), 3 WARNING (callback error not handled, var used instead of const), 1 NIT (inconsistent semicolons). Verdict: RECHAZAR.
安装
clawhub install nesquitmx/pr-code-reviewer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。