pr-genius
PR 评估和建议工具 — 基于历史反模式和成功模式
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zsxh1990/pr-genius说明文档
阅读完整 README ↗🤖 MCP Configuration
{
"mcpServers": {
"pr-genius": {
"command": "python",
"args": ["-m", "prgenius", "mcp", "serve"]
}
}
}
Docker: docker run --rm -i ghcr.io/zsxh1990/pr-genius:1.3.0
8 MCP Tools
| Tool | Purpose | Required Args |
|---|---|---|
analyze_pr | Merge probability + optimization path + 3-tier risk | title, repo |
coach_pr | Go/no-go decision (pass/fail) | title, repo |
triage_pr | Maintainer policy check (9 rules) | title, repo |
get_repo_profile | Repo profile (17 fields) | repo |
list_open_prs | Open PR list | repo |
get_case_study | PR case study details | case_id |
search_patterns | Anti-pattern/success-pattern search | query |
schema_info | OKF schema versions | (none) |
Tool Parameter Notes
title(required foranalyze_pr,coach_pr,triage_pr): The PR title, e.g."fix: timeout in connection pool"repo(required for most tools): Repository inowner/nameformat, e.g."encode/httpx"pr_description(optional): Additional PR body text for deeper analysisquery(required forsearch_patterns): Search keywords, e.g."connection timeout"