BuilderIO/agent-native / .agents/skills/design-editor-repro
design-editor-repro
VerifiedReproduce and verify Design editor issues against the application itself.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.2 KB |
| harness-recipes.md | markdown | 1.2 KB |
| harness/dlib.mjs | script | 27.1 KB |
| harness/doctor.mjs | script | 3.1 KB |
| harness/harness-env.mjs | script | 5.1 KB |
| harness/lock.mjs | script | 1.9 KB |
| harness/osmouse-linuxexecutable | script | 1.7 KB |
| harness/osmouse.swift | script | 3.7 KB |
| harness/sheet.mjs | script | 3.1 KB |
| harness/shot.mjs | script | 2.6 KB |
| harness/start-dev.shexecutable | script | 1.6 KB |
| reference/fixing.md | markdown | 947 B |
| reference/input-and-osmouse.md | markdown | 938 B |
| reference/performance.md | markdown | 1.0 KB |
| reference/tests-and-blast-radius.md | markdown | 719 B |
| reference/verification.md | markdown | 578 B |
| scripts/clip.mjs | script | 4.2 KB |
| scripts/copy-design.mjs | script | 7.2 KB |
harness/osmouse-linux
View on GitHub#!/usr/bin/env bash
# Linux osmouse: same CLI as the macOS CGEvent tool, over xdotool (XTEST) on $DISPLAY.
set -euo pipefail
export DISPLAY="${DISPLAY:-:99}"
here() { eval "$(xdotool getmouselocation --shell)"; }
cmd="${1:-}"; shift || true
case "$cmd" in
pos) here; echo "{\"x\":$X,\"y\":$Y}" ;;
trusted) echo '{"accessibility":true}' ;;
move) xdotool mousemove "$1" "$2"; echo "{\"moved\":[$1,$2]}" ;;
click) xdotool mousemove "$1" "$2" sleep 0.04 mousedown 1 sleep 0.04 mouseup 1; echo "{\"clicked\":[$1,$2]}" ;;
down) xdotool mousemove "$1" "$2" sleep 0.06 mousedown 1; echo "{\"down\":[$1,$2]}" ;;
up) xdotool mouseup 1; here; echo "{\"up\":[$X,$Y]}" ;;
dragto)
steps="${3:-20}"; here
for i in $(seq 1 "$steps"); do
xdotool mousemove $(( X + ($1 - X) * i / steps )) $(( Y + ($2 - Y) * i / steps )); sleep 0.016
done
echo "{\"dragto\":[$1,$2]}" ;;
jiggle)
n="${1:-10}"; here
for i in $(seq 0 $(( n - 1 ))); do
xdotool mousemove $(( X + (i % 2 == 0 ? 1 : -1) )) $(( Y + (i % 4 < 2 ? 1 : -1) )); sleep 0.09
done
echo "{\"jiggled\":$n}" ;;
drag)
x1=$1 y1=$2 x2=$3 y2=$4 steps="${5:-40}" hold="${6:-700}"
xdotool mousemove "$x1" "$y1" sleep 0.12 mousedown 1 sleep 0.22
for i in $(seq 1 "$steps"); do
xdotool mousemove $(( x1 + (x2 - x1) * i / steps )) $(( y1 + (y2 - y1) * i / steps )); sleep 0.016
done
for i in 0 1 2 3 4 5 6 7; do
xdotool mousemove $(( x2 + (i % 2 == 0 ? 1 : -1) )) $(( y2 + (i % 4 < 2 ? 1 : -1) )); sleep "$(awk "BEGIN{print $hold/8000}")"
done
xdotool mouseup 1
echo "{\"dragged\":[[$x1,$y1],[$x2,$y2]]}" ;;
*) echo "usage: osmouse pos|trusted|move X Y|click X Y|down X Y|up|dragto X Y [steps]|jiggle [n]|drag X1 Y1 X2 Y2 [steps] [holdMs]"; exit 2 ;;
esac
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |