Agent skill

Ds Update Screenshots

by baloise in baloise/design-system

Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components.

Apache-2.0Auto-check passedTesting & QA

Install Ds Update Screenshots

skills CLI
$ npx skills add baloise/design-system --skill ds-update-screenshots -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install baloise/design-system ds-update-screenshots --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/baloise/design-system.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ds-update-screenshots .claude/skills/ds-update-screenshots && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ds-update-screenshots
GitHub stars
114
Token cost
~861 tokens
SKILL.md length
414 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components.

  • Works in 5 steps: Resolve the target PR → Validate the component name(s) → Confirm before posting → …
  • This proactively
  • SKILL.md covers Usage, Workflow and Notes
  • Calls gh

What it does

Ds Update Screenshots is an agent skill from baloise/design-system. Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components. User-invoked only — never trigger this proactively.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Visual regression testing. The repository describes itself as: The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications. The licence is Apache-2.0.

When your agent uses it

  • This proactively
  • Tasks that involve Visual regression testing

Example prompts

  • “/ds-update-screenshots”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Resolve the target PR
  2. Validate the component name(s)
  3. Confirm before posting
  4. Post the comment
  5. Report back

What it can do on your machine

Read from SKILL.md and the folder at commit 19063c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ds Update Screenshots loads about 861 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 414 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~861

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from baloise/design-system at commit 19063c5, republished under its Apache-2.0 licence (© baloise). 414 words, ~861 tokens.

Download SKILL.mdSave it as .claude/skills/ds-update-screenshots/SKILL.md (or your agent's skills folder).
name
ds-update-screenshots
description
Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components. User-invoked only — never trigger this proactively.

ds-update-screenshots

Posts a /update-screenshots <component> comment on the pull request associated with the current branch, which triggers .github/workflows/screenshots.yml to re-run Playwright visual tests with --update-snapshots and commit the new baselines back to the PR.

This skill only runs when the user explicitly invokes it (e.g. /ds-update-screenshots input-slider). Do not run it on your own initiative, even if you just changed a component's styles — posting a PR comment is a visible, shared-state action the user must ask for.

Usage

/ds-update-screenshots <component>[,<component>...]

Examples:

/ds-update-screenshots input-slider
/ds-update-screenshots hint,popup,drawer

With no component given, ask the user which component(s) to update — do not default to updating all components without an explicit ask, since that re-baselines the entire visual suite.

Workflow

Step 1: Resolve the target PR

Find the pull request for the current branch:

bash
gh pr view --json number,url,headRefName,state
  • If no PR is associated with the current branch, tell the user and stop — don't create a PR as a side effect of this skill.
  • If the PR is closed/merged, confirm with the user before proceeding (the bot command only works on open PRs).
Step 2: Validate the component name(s)

For each component passed in, confirm it exists as a kebab-case slug:

bash
find packages/core/src/components -mindepth 2 -maxdepth 2 -type d -name "<name>"

(Components live under a category folder, e.g. packages/core/src/components/actions/button/ — the component name is the last path segment, not the category. Foundation-level names like colors are also valid — check packages/core/src/foundation/ if not found under components/.)

If a name doesn't match anything, flag it to the user rather than posting a comment with a typo'd component name.

Show full SKILL.md (175 more words)Show less
Step 3: Confirm before posting

Posting a PR comment is visible to the whole team and triggers a CI run — always show the user the exact PR and comment body and get explicit confirmation before posting, even though they invoked this skill directly (they may want to adjust the component list first).

Show:

  • PR number/URL from Step 1
  • Comment body: /update-screenshots <comma-separated component list>
Step 4: Post the comment

Once confirmed, post via gh (uses the user's own authenticated gh credentials, so the comment is attributed to them):

bash
gh pr comment <number> --body "/update-screenshots <component1,component2>"
Step 5: Report back

Print the resulting comment URL (gh pr comment prints it on success) so the user can watch the workflow run.

Notes

  • The bot command requires the commenter to have OWNER, COLLABORATOR, or MEMBER association on the repo — if the workflow doesn't trigger, that's the likely cause, not a malformed comment.
  • Component names are kebab-case folder names under packages/core/src/components/<category>/, not PascalCase — e.g. slider, not Slider.
  • See ARCHITECTURE.md ("Bot Commands" table) and CONTRIBUTING.md for the full list of supported PR bot commands (/update-screenshots, /snapshot, /cib).

© baloise, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/ds-update-screenshots of baloise/design-system.

Open the folder on GitHubat commit 19063c5

Compare with similar skills

Ds Update Screenshots next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ds Update Screenshots compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ds Update Screenshots this skillbaloise/design-system114—~861Automated safety check: PassApache-2.0
Review Local UI Screenshotsxiaocang/easydict_win32101—~1.1kAutomated safety check: PassGPL-3.0
Handsontable Visual Test Demoshandsontable/handsontable22k—~1.3kAutomated safety check: PassCustom licence
Kc Screenshotimran31415/kube-coder388—~870Automated safety check: NotesMIT
Visual QAliangdabiao/Godogen127—~1.4kAutomated safety check: PassMIT
Meticulous FixFlintSH/Flare135—~2.3kAutomated safety check: PassMIT

Similar skills

  • Review Local UI Screenshots

    xiaocang/easydict_win32

    Review Easydict UI automation screenshot artifacts already present in local artifacts/ui-screenshots, screenshots, or a user-provided artifact directory.

    101 GitHub stars~1.1k tokensUpdated 16 days ago
    Testing & QAAuto-check passed
  • Handsontable Visual Test Demos

    handsontable/handsontable

    Explains how to add or change the demo pages that Handsontable's visual regression suite photographs, including per-feature routes in the js demo and the shared grid.

    22k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Kc Screenshot

    imran31415/kube-coder

    Capture desktop + mobile, dark + light screenshots of the kube-coder dashboard SPA for visual QA of a UI change.

    388 GitHub stars~870 tokensUpdated today
    Testing & QAAuto-check: notes
  • Visual QA

    liangdabiao/Godogen

    Visual quality assurance — analyze game screenshots for defects, compare against reference, check motion in frame sequences.

    127 GitHub stars~1.4k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Meticulous Fix

    FlintSH/Flare

    Fix the visual diffs that have been reviewed and rejected on a Meticulous test run, following their review comments if given.

    135 GitHub stars~2.3k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Visual QA For Web And Terminal UIs

    code-yeongyu/oh-my-openagent

    Checks a built UI against a human-interface checklist and any reference image, pairing day and night screenshots at two screen widths.

    70k GitHub stars~9.5k tokensUpdated today
    Testing & QAAuto-check passed

More from baloise/design-system

All 10 skills in this repo
  • Ds Migrate From Baloise

    baloise/design-system

    Migrate a consuming app from the Baloise Design System (bal-) to the Helvetia Design System (ds-).

    114 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Ds Changeset

    baloise/design-system

    Create a changeset entry for pending changes using the repo's create-changeset.mjs CLI.

    114 GitHub stars~719 tokensUpdated yesterday
    Auto-check passed
  • Ds Create Component

    baloise/design-system

    Create new web components in the Helvetia Design System. An agent skill from baloise/design-system.

    114 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Ds Lint Component

    baloise/design-system

    Lint and fix Helvetia Design System components for style guide compliance.

    114 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Ds Test Component

    baloise/design-system

    Auto-generate all test files for DS components including visual, a11y, component, page object, and unit tests.

    114 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Ds Token Lint

    baloise/design-system

    Check a component's design tokens in Base.tokens.json against the canonical naming convention (packages/tokens/CONTEXT.md "Token Naming Anatomy"), report violations as a markdown table, and apply…

    114 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Ds Update Screenshots

What does Ds Update Screenshots do?

Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components. Ds Update Screenshots is an agent skill from baloise/design-system. Post the /update-screenshots bot command as a PR comment to re-baseline visual regression snapshots for one or more components.

When should I use Ds Update Screenshots?

Ds Update Screenshots fits situations like: this proactively; tasks that involve Visual regression testing.

How do I install Ds Update Screenshots in Claude Code?

Run `npx skills add baloise/design-system --skill ds-update-screenshots -a claude-code`. Or copy the skill folder (.claude/skills/ds-update-screenshots in baloise/design-system) into .claude/skills/ds-update-screenshots in your project. Claude Code loads it when a task matches its description.

How do I install Ds Update Screenshots in Codex?

Run `npx skills add baloise/design-system --skill ds-update-screenshots -a codex`. Or copy the skill folder (.claude/skills/ds-update-screenshots in baloise/design-system) into .agents/skills/ds-update-screenshots in your project. Codex loads it when a task matches its description.

Can I use Ds Update Screenshots in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add baloise/design-system --skill ds-update-screenshots -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ds-update-screenshots, .gemini/skills/ds-update-screenshots, .github/skills/ds-update-screenshots and .opencode/skills/ds-update-screenshots in your project.

What does Ds Update Screenshots need to run?

Going by SKILL.md and its folder, Ds Update Screenshots needs the command-line tools its instructions call (gh).

Does Ds Update Screenshots access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Ds Update Screenshots safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ds Update Screenshots use?

Ds Update Screenshots is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ds Update Screenshots use?

About 861 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ds Update Screenshots?

Skills that share tags, products or a category with Ds Update Screenshots: Review Local UI Screenshots (xiaocang/easydict_win32, 101 stars), Handsontable Visual Test Demos (handsontable/handsontable, 22k stars), Kc Screenshot (imran31415/kube-coder, 388 stars) and Visual QA (liangdabiao/Godogen, 127 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ds Update Screenshots?

baloise (a GitHub organization) maintains it in baloise/design-system, which has 114 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: baloise/design-system on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.