Lewati ke konten
TakoAPI
Kembali ke skill

pr-code-reviewer

oleh nesquitmx

Coding Agents & IDEs
780Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Revisa automáticamente Pull Requests en Bitbucket detectando errores de.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

User asks: Review this PR diff for my Node.js API refactor

AGENT
  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

OUTPUT

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.

Instalasi

clawhub install nesquitmx/pr-code-reviewer

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan