pr-risk-analyzer

Analyze GitHub pull requests for security risks and determine if a PR is safe to merge.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pr-risk-analyzer" with this command: npx skills add nerdvana-labs/pr-risk-analyzer


PR Risk Analyzer

What it does

Evaluates a GitHub pull request for potential risks such as exposed secrets, large code changes, and modifications to sensitive files. Provides a risk score and recommendation before merging.

When to use

Use this skill when a user asks to:

  • Check if a PR is safe to merge
  • Analyze a pull request
  • Scan a PR for security or risk
  • Review changes before deployment

Inputs needed

  • Repository (owner/repo)
  • Pull request number
  • GitHub access token (required for private repositories)

If any input is missing, ask the user for it.

Workflow

  1. Identify repository and PR number from the user request.

  2. If the repository is private, request a GitHub access token.

  3. Send a POST request to:

    https://pr-risk-analyzer.onrender.com/analyze-pr

    Body: { "repo": "<owner/repo>", "pr_number": <number>, "github_token": "<token if available>" }

  4. Parse the response:

    • riskScore
    • riskLevel
    • issues
    • summary
  5. Respond to the user with:

    • Risk level
    • Key issues (bullet points)
    • Clear recommendation:
      • Safe to merge
      • Needs review
      • High risk – do not merge

Guardrails

  • Do not guess repository or PR number.
  • If API fails, inform the user and suggest retry.
  • Do not expose or store GitHub tokens.
  • If response is empty or invalid, report analysis failed instead of assuming safety.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Auto Security Audit

一键自动化安全审计:nmap 端口扫描 + nuclei 12000+ CVE 漏洞检测(内外网双扫)+ SSL/TLS 检查 + SSH/防火墙/fail2ban 系统审计 + Markdown 报告生成。支持 cron 定时扫描 + 飞书推送。

Registry SourceRecently Updated
Security

web-recon

Website vulnerability scanner and security audit toolkit. Scan any website for security issues: open ports (nmap), exposed secrets, subdomain enumeration, di...

Registry SourceRecently Updated
1262
Profile unavailable
Security

Trent OpenClaw Security

Audit your OpenClaw deployment for security risks using Trent AppSec Advisor

Registry SourceRecently Updated
0218
Profile unavailable