Use when the user invokes $agentpack-resolve.
Examples: $agentpack-resolve pr 123 or $agentpack-resolve PR #123 focus on backward compatibility.
The skill invocation owns the full loop; the internal --check and --reply commands are agent steps, not extra user commands.
- Run
agentpack resolve "$ARGUMENTS"; use--pr <number>when the PR is explicit. - Read
.agentpack/resolve.prompt.mdand.agentpack/resolve-comments.jsoncompletely. - Write every comment disposition to the declared plan TOON with exact source evidence citations.
- Run
agentpack resolve --check; do not edit code until the plan passes. - Apply all validated fixes in one pass, run targeted and relevant project checks, and write one cited reply record per comment.
- Run
agentpack resolve --reply; it refuses missing citations, invalid replies, and a changed PR head. - Start a fresh resolve pass after posting and repeat until no actionable unresolved comment remains or the iteration limit is reached.
- Use concise inline replies: a short bold outcome, one explanation, exact
path:linecitations,Suggested fix:when relevant, and validation status. Do not mark a thread resolved merely because a reply was posted.
If a comment cannot be verified or fixed, record blocked with evidence and explain the blocker. Do not silently defer actionable comments.