contributor_view
Assess whether a single pull request is ready to submit, then get clear fixes and next steps by mapping PR signals to contributor actions.
Instructions
Contributor-facing action decision for a single PR (v1.6.0).
Output answers: 'Is my PR ready to submit? What should I fix?' Maps analyze_pr signals to 5 actions: READY_TO_SUBMIT, FIX_BEFORE_SUBMIT, NEEDS_DISCUSSION, IMPROVE_CHANCE, ASK_MAINTAINER.
Args: title: PR title repo: Target repo (org/name) body: PR body description: Extended description author: PR author username author_association: Author's association (NONE/CONTRIBUTOR/etc.) labels: PR labels star_count: Repo star count repo_merge_rate: External PR merge rate 0.0-1.0 diff_stat: Diff stat string
Returns: dict with keys: persona, repo, title, author, action, action_label, action_icon, reason, next_step, checklist, confidence, merge_probability, impact, review, author_info, context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| repo | Yes | ||
| title | Yes | ||
| author | No | ||
| labels | No | ||
| diff_stat | No | ||
| star_count | No | ||
| description | No | ||
| repo_merge_rate | No | ||
| author_association | No | NONE |