policybot
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "policybot" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3f56a9b9c6b431a03c5be72458660b54a7cd2886f8195348d9a55f675454ca3f. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/enforce-pull-request-approval-policy-with-policy-bot before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Encode complex GitHub review rules, evaluate pull requests, and expose approval status as a required check.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Policy Bot GitHub App, GitHub repository, policy.yml
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 Policy Bot 强制执行拉取请求批准策略"
slug: "enforce-pull-request-approval-policy-with-policy-bot"
version: "1.0.0"
displayName: "使用 Policy Bot 强制执行拉取请求批准策略"
summary: "将复杂的GitHub审查规则编码化,评估拉取请求,并将批准状态作为必需检查项暴露出来。"
license: "MIT"
description: "将复杂的GitHub审查规则编码化,评估拉取请求,并将批准状态作为必需检查项暴露出来。"
github_stars: 1032
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 1032使用 Policy Bot 强制执行拉取请求批准策略
Codify complex GitHub review rules, evaluate pull requests, and expose approval status as a required check.
Prerequisites
Policy Bot GitHub App, GitHub repository, policy.yml
Installation
Use the upstream install or setup path that matches your environment:
- make it easier for developers to figure out who they should ask for approval.
- yarn install
- yarn run build
- docker run --rm -v "$(pwd)/config:/secrets/" -p 8080:8080 palantirtechnologies/policy-bot:latest
Requirements and caveats from upstream:
- Require reviews from specific users, organizations, or teams
- policy requires that all of its rules are approved to approve the pull request.
Basic usage or getting-started notes:
-
After evaluation, a rule can be in one of four states:
-
approved - all of the predicates and requirements are true
-
pending - all of the predicates are true but one or more requirements are not true
-
Extracted from upstream docs: https://raw.githubusercontent.com/palantir/policy-bot/HEAD/README.md
Documentation
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 GitHub 审查规则的编码化能力,对开发团队有明确实用价值
- 集成 Policy Bot 工具,解决拉取请求批准策略的自动化需求
Areas to improve
-
触发词覆盖不全 Reported severity: Minor
description 描述了核心功能,但未覆盖常见变体如 'PR approval'、'code review policy' 等
Recommendation: 建议在 description 中补充更多相关触发词变体,提高被检索到的概率
Highlights
- description 清晰描述了将审查规则编码化和评估拉取请求的核心功能
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档包含基本使用信息,但缺少完整的端到端操作示例
Recommendation: 建议添加一个完整的 policy.yml 配置示例和对应的执行结果说明
Highlights
- 文档结构基本完整,包含 Prerequisites、Installation、Requirements 等必要章节
- frontmatter 信息完整,包含版本、作者、分类等元数据
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
提供了基本安装命令,但未说明常见错误的处理方式和验证方法
Recommendation: 建议补充安装验证步骤和常见错误排查指南
Highlights
- 工具来源明确,提供了官方的 Docker 镜像和 GitHub 仓库地址
- 包含了基本的运行命令和配置说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- hub.docker.com
- img.shields.io
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Policy Bot GitHub App, GitHub repository, policy.yml
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.