Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

pr-code-reviewer

bởi nesquitmx

Coding Agents & IDEs
780Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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.

Cài đặt

clawhub install nesquitmx/pr-code-reviewer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết