Repository navigation
Add docs-say-cheese screenshot workflow skill - #12104
Open
rahmanunver wants to merge 1 commit into
Open
rahmanunver wants to merge 1 commit into
rahmanunver wants to merge 1 commit into
Conversation
Add a user-invoked Claude Code skill that plans, captures, compares, and places screenshots for documentation pages. Claude builds a shot list from the pages' images and todo markers, takes running-app shots with Playwright, lists the Studio Pro shots the writer must take, compares new captures with current images, and places approved images with alt text. Extracted from the Charts docs overhaul (mendix#12041).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
/docs-say-cheese, a Claude Code skill that updates the screenshots on documentation pages after you've changed their text.You point it at the pages, or at "the pages I changed on my branch", and Claude:
todomarker on those pages, each marked as new, replace, verify, or remove./docs-alt-text.It's user-invoked only, so it adds nothing to Claude's context until you type
/docs-say-cheese.Files
.claude/skills/docs-say-cheese/SKILL.md: the 7 steps..claude/skills/docs-say-cheese/shot-list.md: tracker file format andtodomarkers, for jobs with more than 5 shots or more than one session..claude/skills/docs-say-cheese/capture-playwright.md: getting Playwright (asks before installing anything; nothing is added to the repo'spackage.json), capture settings, and gotchas from real use.There's no Copilot twin in
.github/prompts/yet. A Copilot agent-mode version would need the Playwright MCP server.Case Study
The workflow comes from the Charts documentation overhaul in #12041. In that PR, it:
todomarkers and refreshed about 40 images (Studio Pro dialogs, runtime Chart playground shots, and sample charts in the Studio Pro 11 and 10 guides).The gotchas in
capture-playwright.mdcome from that work. For example: test-app license limits lock you out if you capture in parallel; some apps don't load their own fonts; and overlapping top bars need hiding.Notes for Reviewers
contribute-to-mendix-docs/_index.md) instead of repeating them.