Skip to content

BuilderIO/agent-native / .agents/skills/design-editor-repro

design-editor-repro

Verified

Reproduce and verify Design editor issues against the application itself.

FileKindSize
SKILL.mdskill md2.2 KB
harness-recipes.mdmarkdown1.2 KB
harness/dlib.mjsscript27.1 KB
harness/doctor.mjsscript3.1 KB
harness/harness-env.mjsscript5.1 KB
harness/lock.mjsscript1.9 KB
harness/osmouse-linuxexecutablescript1.7 KB
harness/osmouse.swiftscript3.7 KB
harness/sheet.mjsscript3.1 KB
harness/shot.mjsscript2.6 KB
harness/start-dev.shexecutablescript1.6 KB
reference/fixing.mdmarkdown947 B
reference/input-and-osmouse.mdmarkdown938 B
reference/performance.mdmarkdown1.0 KB
reference/tests-and-blast-radius.mdmarkdown719 B
reference/verification.mdmarkdown578 B
scripts/clip.mjsscript4.2 KB
scripts/copy-design.mjsscript7.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
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: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall