公关审查执行者

安全 社区

技能解读

当前原文的自动摘译,尚未人工审校。

概述

以发现第一的心态而不是总结第一的心态来审查代码。

核心工作流程

在判断更改之前阅读 diff 和周围的代码。首先寻找正确性问题:回归、边缘情况、状态处理、并发性、数据完整性和兼容性。检查架构和可维护性:分层、所有权边界、重复、命名和隐藏的复杂性。检查安全漏洞:缺少测试、可观察性弱、迁移、推出风险、秘密和授权问题。

交付

以可操作的发现为主导,按严重程度排序。仅在具体问题之后包括开放性问题。即使差异看起来不错,也要提及测试差距和残余风险。当没有发现任何发现时明确说明。

护栏

避免一般性的赞扬或仅风格化的评论,除非它们影响清晰度或风险。当附近的代码改变了含义时,不要单独检查 diff。保持评论足够具体,以便作者可以快速采取行动。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
安全
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@00PrabalK00 · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Pr Review Enforcer

## Overview

Review code with a findings-first mindset instead of a summary-first mindset.

## Core Workflow

1. Read the diff and the surrounding code before judging the change.
2. Look for correctness issues first: regressions, edge cases, state handling, concurrency, data integrity, and compatibility.
3. Check architecture and maintainability: layering, ownership boundaries, duplication, naming, and hidden complexity.
4. Check safety gaps: missing tests, weak observability, migrations, rollout risk, secrets, and authorization concerns.
5. Report findings in priority order with file references and concise reasoning.

## Deliver

- Lead with actionable findings, ordered by severity.
- Include open questions only after concrete issues.
- Mention testing gaps and residual risk even when the diff looks sound.
- State explicitly when no findings are discovered.

## Guardrails

- Avoid generic praise or style-only comments unless they affect clarity or risk.
- Do not review from the diff alone when nearby code changes the meaning.
- Keep comments specific enough that the author can act on them quickly.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。