screenshots
Skill664 starsChanged 5 months agoMITView on GitHub
Capture and regenerate SwiftShift marketing screenshots for README/website assets. Use when updating light/dark SwiftShift screenshots, especially `www/src/images/screenshot-light.jpg` and `www/src/images/screenshot-dark.jpg`.
- Installs packages
16 other projects use a version of this.
Adopted by
Most recently taken up by
- yicheng47/runnertheir own version, first seen Nov 8, 2026
- solo-ist/prosetheir own version, first seen Nov 8, 2026
- artsy/eigentheir own version, first seen Nov 2, 2026
- bloknayrb/tandemtheir own version, first seen Oct 29, 2026
- petecurran/sortedtheir own version, first seen Oct 17, 2026
- xfstudio/skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- tabler/tabler★ 42ksame name
- artsy/eigen★ 3.8ksame name
- d4rken-org/permission-pilot★ 694same name
- yicheng47/runner★ 490same name
- bloknayrb/tandem★ 28same name
- xfstudio/skills★ 9same name
- solo-ist/prose★ 8same name
- keinstn/drover★ 4same name
- moasq/ios-dev-agent★ 4same name
- magnusrodseth/dotfiles★ 3same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- axiom-liquid-glassSkill
- swiftui-expert-skillSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 67
If the app UI gets taller/wider, update the background skeletons and placement constants together.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SwiftShift screenshots
This skill regenerates the app settings screenshots as clean 843×670 composites:
- clean background + empty menu bar skeletons live in
assets/bg-light.jpgandassets/bg-dark.jpg - real desktop wallpapers live in
assets/wallpaper-light.jpgandassets/wallpaper-dark.jpg - fresh Swift Shift Dev settings window is captured from the local build using macOS window capture plus a full-screen tint crop
- full screenshot outputs default to
www/src/images/screenshot-light.jpgandwww/src/images/screenshot-dark.jpg - mouse feature crops default to
www/src/images/mouse-light.jpgandwww/src/images/mouse-dark.jpg - debug step images are written to
.agents/skills/screenshots/debug/
Requirements
- macOS
peekaboowith Screen Recording and Accessibility permissions- ImageMagick (
magick):brew install imagemagick python3and macOSscreencapture- Xcode command line build works for this repo
Command
From the repo root:
.agents/skills/screenshots/bin/capture-swiftshift-screenshots.shOptional output directory:
.agents/skills/screenshots/bin/capture-swiftshift-screenshots.sh /tmp/swiftshift-screenshotsWhat the script does
- Saves current appearance and wallpaper.
- Builds and runs the local dev app with
make build && make run-app. - Temporarily switches to light mode, applies
assets/wallpaper-light.jpgas the real desktop wallpaper, hides other apps, and opens the Swift Shift menu bar window. - Captures the window-only PNG by CoreGraphics window id for rounded-corner/shadow alpha.
- Captures a full-screen image and crops the same window rectangle for the true SwiftUI material tint from the real wallpaper.
- Applies the window-only alpha to the tinted crop and composites that onto
assets/bg-light.jpg. - Repeats for dark mode with
assets/wallpaper-dark.jpgandassets/bg-dark.jpg. - Restores the original appearance and wallpaper.
The script intentionally uses clean skeleton backgrounds so the final menu bar contains only the SwiftShift icon, while the app window keeps the real glass tint from the matching wallpaper.
Layout constants
The app window is placed at +255+31 in the final 843×670 image. The mouse feature visual is cropped from that final image at 633×310+125+260.
Override if the design changes:
SWIFTSHIFT_SCREENSHOT_X=250 SWIFTSHIFT_SCREENSHOT_Y=31 \
SWIFTSHIFT_MOUSE_CROP_X=125 SWIFTSHIFT_MOUSE_CROP_Y=260 \
.agents/skills/screenshots/bin/capture-swiftshift-screenshots.shNotes
- The script will briefly change the Mac appearance/wallpaper and hide visible apps.
- If the app UI gets taller/wider, update the background skeletons and placement constants together.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

