使用 PAL MCP 进行涵盖质量、安全性、性能和架构的系统代码审查。用于拉取请求审查、代码审核或预提交验证。触发审核请求、PR 审核或代码质量检查。
📖 中文导读:使用 PAL MCP 进行涵盖质量、安全性、性能和架构的系统代码审查。用于拉取请求审查、代码审核或预提交验证。触发审核请求、PR 审核或代码质量检查。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: pal-codereview
description: Systematic code review covering quality, security, performance, and architecture using PAL MCP. Use for pull request reviews, code audits, or pre-commit validation. Triggers on review requests, PR reviews, or code quality checks.
PAL Code Review
Structured code review with expert validation across quality, security, performance, and architecture.
When to Use
Pull request reviews
Pre-merge code audits
Security-focused reviews
Performance reviews
Code quality assessments
Quick Start
# Start a code review
result = mcp__pal__codereview(
step="Reviewing authentication changes for security and quality",
step_number=1,
total_steps=2,
next_step_required=True,
findings="Beginning comprehensive review",
review_type="full",
relevant_files=[
"/app/auth/login.py",
"/app/auth/tokens.py"
],
confidence="exploring"
)