tk-github-image-upload-to-pr
GitHub PR Image Upload
Handle explicit local-image evidence requests for an existing GitHub PR or an exact
tk-pr-open generic manifest handoff with evidence_required: true. Only the parent handoff is an
automatic trigger.
When route selection or pre-installation confirmation is needed, prefer the host's native structured question surface (Claude Code: AskUserQuestion; Codex: request_user_input; Hermes: clarify). If unavailable, ask for the same choice in plain chat and do not mutate before selection.
Scope
Handle one bounded upload: validate and stage local images, upload repository-scoped GitHub attachments, minimally update the PR body or selected comment, and verify source/render output. The default target is the PR body.
For tk-pr-open, validate the producer-neutral evidence fields and never branch on, whitelist, or require a producing
skill name. If required evidence is missing or invalid, mark the evidence handoff Blocked; do not revert an
already-created tk-pr-open PR.