create_pr_comment
Generate a GitHub PR comment with in-line accessibility patch suggestions for a single file, ordered by severity. Returns markdown ready to post.
Instructions
[pr] Generate a PER-FILE GitHub PR comment with in-line gh pr suggestion blocks for a11y patches against ONE file, ordered by severity. Returns markdown ready to post.
vs format_pr_comment: audit-level summary. vs generate_pr: opens the actual PR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file being patched (for comment header) | |
| patches | Yes | Array of patches with optional verification status. Patches are ordered by severity (critical first). | |
| include_unverified | No | Include patches without verification (default: true) | |
| include_failed | No | Include patches that failed verification (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |