跳到正文
TakoAPI
返回技能列表

pr-code-reviewer

由 nesquitmx 提供

Coding Agents & IDEs
780下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Reads the full diff before commenting

  2. 2

    Detects file extensions and maps each to the relevant rule sets

  3. 3

    Classifies each finding as BLOCKER, WARNING, SUGGESTION, or NIT

  4. 4

    Generates per-file comments showing the problematic code and the corrected version

  5. 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 或你在用的任意编程智能体里。

链接