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/start-dev.sh
View on GitHub#!/usr/bin/env bash
# Local only: boots this worktree's Design dev server on its own port and
# database (see harness-env.mjs). Exits happily if its server already runs.
# A Fusion branch runs its dev server already, on 8080.
set -euo pipefail
cd "$(dirname "$0")"
{ read -r PORT; read -r PGLITE; read -r WORKTREE; } < <(node -e '
import("./harness-env.mjs").then((m) => {
console.log([m.PORT, m.PGLITE, m.WORKTREE].join("\n"));
process.exit(0);
})')
PIN="$WORKTREE/templates/design/.tmp/editor-repro/.port"
answers() { curl -s -o /dev/null --max-time 5 "http://127.0.0.1:$1/"; }
# The pin holds "<port> <pid>" of the server this script started.
PIN_PORT="" PIN_PID=""
[ -f "$PIN" ] && read -r PIN_PORT PIN_PID < "$PIN" || true
if answers "$PORT"; then
if [ "$PIN_PORT" = "$PORT" ] && kill -0 "${PIN_PID:-0}" 2>/dev/null; then
echo "already up on $PORT"; exit 0
fi
# The port comes from a hash of the path, so another worktree's server can hold it.
while answers "$PORT"; do PORT=$((PORT + 1)); done
fi
echo "starting the design dev server on $PORT (db: ${PGLITE##*/})"
mkdir -p "$(dirname "$PIN")"
cd "$WORKTREE/templates/design"
# Its own process group, so a failed start can stop pnpm and everything it spawned.
set -m
PORT="$PORT" DATABASE_URL="$PGLITE" pnpm dev > "/tmp/design-dev-$PORT.log" 2>&1 &
DEV_PID=$!
set +m
echo "$PORT $DEV_PID" > "$PIN"
for _ in $(seq 1 30); do
answers "$PORT" && { echo "up on $PORT"; exit 0; }
sleep 4
done
kill -- "-$DEV_PID" 2>/dev/null || true
rm -f "$PIN"
echo "FAILED to come up; see /tmp/design-dev-$PORT.log" >&2; exit 1
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 |