Skip to main content

upload-photo

Attach a screenshot/image/video to a PR or issue, or embed an image in a GitHub comment.

Informações da origem

Repositório
different-ai/openwork
Última atividade na origem
4 de setembro de 2026 às 06:23
Idioma detectado do SKILL.md
inglês
Estrelas
24.310
Forks
2.463

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
upload-photo
description
Attach a screenshot/image/video to a PR or issue, or embed an image in a GitHub comment.
# Upload Photo Use GitHub CLI 2.99 or newer. Check and upgrade it if needed: ```sh gh --version brew upgrade gh ``` Attach a file to a new comment, putting alt text after `#`: ```sh gh pr comment <n> --attach './shot.png#Alt text' gh issue comment <n> --attach './shot.png#Alt text' ``` `gh pr create`, `gh pr edit`, `gh issue create`, and `gh issue edit` also accept repeatable `--attach` flags, with at most 50 files. To place an image in the body, reference the same path: ```sh printf '![Alt text](./shot.png)\n' | gh pr comment <n> --body-file - --attach './shot.png#Alt text' ``` GitHub rewrites that Markdown reference to the uploaded asset. Unreferenced attachments are appended to the comment. There is no standalone “get a URL” command. The asset URL lives in the posted comment; read it back with `gh api repos/{owner}/{repo}/issues/comments/<id> --jq .body`.
Ver no GitHub