कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

pr-risk-analyzer

nerdvana-labs द्वारा

Git & GitHub
449clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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

विवरण

यह स्किल क्या करती है

Evaluates a GitHub pull request for security risks before merging. Checks for exposed secrets, large diffs, and sensitive file modifications. Returns a risk score, flagged issues, and a merge recommendation.

Surfaces security and scope issues in a PR without manually reading every diff or running a separate SAST tool.

इसे कब इस्तेमाल करें

  • Checking if a dependency update PR introduces secrets
  • Reviewing a contractor's PR before merging to main
  • Scanning a large refactor for risky file changes
  • Quick pre-deployment PR audit in a CI review process
  • Flagging high-risk PRs in a busy open source repo

उदाहरण वर्कफ़्लो

इनपुट

User asks: Is PR #142 in acme-org/backend safe to merge?

एजेंट
  1. 1

    Identify repo as acme-org/backend and PR number as 142

  2. 2

    Ask user for GitHub token if repo is private

  3. 3

    POST to pr-risk-analyzer.onrender.com/analyze-pr with repo, pr_number, and token

  4. 4

    Parse riskScore, riskLevel, issues, and summary from response

  5. 5

    Present risk level, bullet-pointed issues, and a clear merge recommendation

आउटपुट

Risk level: Medium. Issues: hardcoded API key in config.js, 1,200 lines changed across 34 files. Recommendation: Needs review before merging.

आवश्यकताएँ

  • GitHub personal access token (required for private repositories)

इंस्टॉलेशन

clawhub install nerdvana-labs/pr-risk-analyzer

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक