Review changes in samples/book-app-web for accessibility, responsive layout, tests/build validation, and small beginner-safe changes.
日本語の概要は準備中です。原文の説明を表示しています。
Wrap a raster image in an SVG and overlay a numbered red "step" circle for course screenshots. Use when running /create-svg-image, or when asked to add a numbered callout badge to an image (e.g. a red circle with a "1" pointing at a UI control) that must still render on a GitHub README.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill to take a screenshot or image and produce an SVG that shows the image with a numbered red circle placed on top of it. This is for adding "step 1 / step 2" call-out badges that point at a specific UI control in a course screenshot.
The caller always provides three things:
.webp, .png, or .jpg file in the repo.Optional inputs: circle --radius, fill --color, --text-color, and --out
path.
GitHub renders an SVG referenced from Markdown () inside a
sandboxed <img>. In that mode GitHub:
<svg> from README HTML, so you cannot paste raw <svg>
markup into the Markdown, and<image href="photo.webp">, so an SVG
that merely points at the raster shows a blank photo.The reliable approach is therefore an SVG file that embeds the raster as a
data: base64 URI and draws the <circle> + <text> on top. The photo renders
on GitHub and the badge stays editable as plain SVG markup. (Baking the number
into the PNG/webp with an image editor also works, but then the number is no
longer editable text — prefer the SVG.)
sample_codes/create-svg-badge.sh does the
whole job: detects the image size and mime type, base64-encodes the raster, writes
the SVG, validates it with xmllint, and renders a PNG preview you can view to
confirm placement.
# Required: --image, --x, --y, --number
bash .github/skills/create-svg-image/sample_codes/create-svg-badge.sh \
--image 02-sessions-worktrees-context/assets/app-create-from-icon.webp \
--x 710 --y 72 --number 1
# -> writes assets/app-create-from-icon-step1.svg and prints a PREVIEW png path
Useful options: --radius (defaults to ~2.5% of the image width so badges stay a
consistent on-screen size, see below), --color "#d1242f" (GitHub danger red),
--out PATH, --grid (coordinate finder, below), --no-preview.
Find the circle coordinates if the caller gave an approximate spot ("left of
the Create from icon") rather than exact pixels. Run the script in --grid
mode, which overlays a labeled coordinate grid on the image and renders a
preview without writing anything to the repo:
bash .github/skills/create-svg-image/sample_codes/create-svg-badge.sh \
--image <path> --number 1 --grid
View the printed GRID_PREVIEW PNG, read the green (X) and magenta (Y) labels
to pick the target pixel, then continue. Coordinates are in the image's native
pixel space (the SVG viewBox equals the image's pixel dimensions).
Generate the badged SVG with the chosen --x, --y, and --number:
bash .github/skills/create-svg-image/sample_codes/create-svg-badge.sh \
--image <path> --x <N> --y <N> --number <N>
Verify by viewing the preview. Open the printed PREVIEW PNG with the image
view tool and confirm the circle sits where the caller wanted. Note: macOS
qlmanage pads the preview to a square canvas — only the top strip (the image's
real height) is the actual image; the white area below is padding, not output.
Adjust if needed. Nudge by re-running with new values: smaller --x moves
the circle left, larger --x right; --y moves it up/down; --radius resizes
it (the font scales automatically). Iterate until the placement is right.
Wire it into the chapter (only when the caller asks for the README change):
reference the new .svg instead of the original raster, keeping descriptive alt
text:

<stem>-step<number>.svg, matching this repo's per-chapter assets/ layout..svg.#d1242f, white number, thin white
outline so it reads on light or dark screenshots.radius 24 badge on a 936px-wide capture and a
radius 56 badge on a 2240px-wide capture look identical. Only pass --radius
for a deliberate one-off; otherwise let the default keep things uniform.-step1, -step2
files or hand-add extra <circle>/<text> pairs to the SVG.$TMPDIR/create-svg-badge), never into the repo.--grid writes nothing to the repo; it is purely a coordinate-finding preview..svg when the user asks; generating
the asset and changing the Markdown are separate steps.--grid coordinate-finding workflow, but for storytelling panels and
recurring cartoon characters rather than single numbered step badges.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Review changes in samples/book-app-web for accessibility, responsive layout, tests/build validation, and small beginner-safe changes.
日本語の概要は準備中です。原文の説明を表示しています。
Verify GitHub Copilot app screenshots match the course content. Use when running /check-screenshots-content, or when asked to confirm that app- prefixed screenshots in chapter assets folders are consistent with the README labels, button names, menu items, dialog options, and step-by-step instructions that reference them.
日本語の概要は準備中です。原文の説明を表示しています。
Automate and research the GitHub Copilot app desktop experience. Use for driving Copilot App sessions, creating isolated app experiments, mapping app UI/accessibility controls, taking app screenshots, saving PNG captures, optimizing WebP images, testing prompts without submitting, using app/session APIs, canvases, automations, macOS Accessibility, AppleScript, and safe end-to-end Copilot App workflow probes.
日本語の概要は準備中です。原文の説明を表示しています。
Rebuild or update the course overview video (about 98 seconds) for this course in videos/overview. Use when running /overview-video, or when asked to refresh the course overview video, add a chapter or feature to it, retake its dark-mode app screenshots, change its copy or timing, add music, or render a new MP4.
日本語の概要は準備中です。原文の説明を表示しています。