posting-review-summary
Installation
SKILL.md
Posting Review Summary
Context Detection
Check contexts in this order — use the first match:
| Context | How to Detect | Action |
|---|---|---|
| Local output in effect | An OUTPUT: local files line in the prompt's leading directive block, or a caller that passes local files as the destination in effect. Check this first, and never key it on which tools happen to be available |
Write to review-summary.md in working directory |
| Local target, no GitHub destination | The review target is local changes and no caller declared a GitHub destination | Write to review-summary.md in working directory |
| Agent Mode | Sticky comment context provided in prompt (comment ID + <!-- bitwarden-code-review --> marker) |
Write summary to /tmp/review-summary.md |
| GitHub Actions (tag mode) | mcp__github_comment__update_claude_comment available AND no sticky comment context |
Update sticky comment via MCP tool |
| Local review | Neither agent mode context nor MCP tool available | Write to review-summary.md in working directory |
FORBIDDEN: Do not use gh pr comment to create summary comments.
PR Metadata Assessment
If PR title, description, or test plan is genuinely deficient, add as a finding in the Code Review Details collapsible section.