Change Risk Assessment
risk_assessmentAssess the risk of uncommitted changes or a commit range using file hotspot history, change size, files count, author familiarity, and file type sensitivity. Returns a 0-100 score with per-file breakdown and recommendations.
Instructions
Assess the risk profile of uncommitted changes or a specific commit range. Combines multiple signals: file hotspot history, change size, number of files, author familiarity, and file type sensitivity. Returns a score 0-100 with per-file breakdown and actionable recommendations. NOTE: If the server was not started inside a git repo, you MUST provide repo_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_range | No | Git ref range to assess (e.g., "main..feature-branch"). Defaults to uncommitted changes. | |
| repo_path | No | Absolute path to the git repository to analyze. Required if Claude Code was not opened in a git repo. |