/github:attach-imagesfrom github
This skill should be used when the user wants to put images (screenshots, mockups, diagrams) in a pull request, issue, or comment without committing them to the repository. Uploads them as GitHub attachments from the command line, the same ones drag-and-drop creates in the web UI, and returns the tags to paste in the body. Activates on: "attach screenshots", "screenshots in the PR", "upload images to github", "add screenshots to PR", "attach images", "image in issue", "user-attachments", "allega screenshot", "screenshot nella PR", "carica immagini su github", "aggiungi screenshot alla PR", "immagini nella issue".
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Upload local images as GitHub attachments and embed them in a PR, issue, or comment body. Nothing is committed: the files live on github.com/user-attachments, as if dragged into the web editor.
${CLAUDE_PLUGIN_ROOT}/skills/attach-images/scripts/upload-images.sh — uploads and prints the tags. Requires gh (authenticated), curl and jq.gh: to write the tags into the PR/issue body or a comment.Supported types: PNG, JPEG, GIF, WebP. Name each file after what it shows (light.png, dark.png, before.png): the name becomes the alt text.
Before uploading, check each image shows nothing that should not leave the machine (real customer data, tokens, internal URLs). On a private repository an attachment is readable only by whoever can read the repository. On a public one it stays private until a body or comment references it, then anyone can open it, and deleting that body or comment does not take it back.
From inside the repository the images belong to:
"${CLAUDE_PLUGIN_ROOT}/skills/attach-images/scripts/upload-images.sh" -w 250 light.png dark.png
-R owner/repo targets another repository; the attachment inherits that repository's visibility.-w <px> sets the display width, useful for phone screenshots. Omit it for full width.It prints one <img> tag per file, in the order given.
Paste the tags in the body. Side by side, in a table:
| Light | Dark |
|---|---|
| <img src="..." alt="light" width="250"> | <img src="..." alt="dark" width="250"> |
Update the body with the GitHub MCP (update_pull_request, issue_write) or gh pr edit --body-file / gh issue edit --body-file. Do not use --body with a body that contains backticks or $: the shell mangles it.
| Situation | Action |
|---|---|
gh not authenticated | Stop, tell user to run gh auth login or /github:setup |
Not in a repository and no -R | Rerun with -R owner/repo |
unsupported image type | Convert to PNG (sips -s format png on macOS) and retry |
not available in Claude Code web sessions | Their proxy only forwards repos/{owner}/{repo}/... paths and refuses this upload before it reaches GitHub. Tell the user to run the upload from a local session; do not commit the images instead |
upload failed for <file>: HTTP <status> <body> | The endpoint is undocumented and may have changed. Stop and show the user the status and body; do not fall back to committing the images or driving a browser without asking |
/github:feature — opens the PR the images go into/github:setup — verifies gh authenticationWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fabn/claude-plugins --plugin githubOther plugins' skills for the same job
10 skills in this plugin
/actionlintgithub:actionlintThis skill should be used when the user wants to configure actionlint CI
on a repository to automatically lint GitHub Actions workflow files on
push and pull request events using reviewdog/action-actionlint.
Activates on: "actionlint", "setup actionlint", "configure actionlint",
"lint actions", "lint workflows", "lint github actions", "action linter",
"workflow linting", "configurare actionlint", "lint azioni github",
"lint workflow github".
/address-reviewgithub:address-reviewThis skill should be used when the user wants to address review comments on a
pull request: read and reason about each comment, decide whether to implement,
answer, or push back, apply code changes, reply to individual threads, push the
new commit, and optionally update the PR description.
Activates on: "address review", "pr review", "review comments", "respond to review",
"fix review", "implement feedback", "resolve comments", "reply to review",
"address feedback", "implementare feedback", "risolvere commenti",
"rispondere alla review", "gestire review", "affrontare review".
/dependabotgithub:dependabotThis skill should be used when the user wants to triage the open Dependabot
PRs of a repository, in any ecosystem: close the dead ones, fix and review
the rest, give majors a verdict, optionally auto-merge safe patch/minor.
Activates on: "dependabot", "dependabot PRs", "triage dependabot",
"merge dependabot PRs", "dependabot backlog", "clean up dependabot",
"dependabot alerts", "vulnerable dependencies", "PR di dependabot",
"PR dependabot aperte", "smaltire dependabot", "pulizia dependabot",
"aggiornamenti dipendenze dependabot".