Analyze PR risk
analyze_pr_riskAssess pull request quality risk with scores, drivers, impacted categories, historical bugs, coverage gaps, and test recommendations. Prevent regressions before merging.
Instructions
Analyze a pull request for quality risk. Returns overall risk score (0-100), risk drivers, impacted categories, similar historical bugs, coverage gaps, and recommended tests to run. Use before merging to catch regressions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_title | Yes | Pull request title. | |
| changed_files | No | List of changed file paths (e.g., ['src/checkout.ts', 'src/payment.ts']). | |
| pr_description | No | Pull request body, summary, or description of changes. |