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
---
name: design-editor-repro
description: Reproduce and verify Design editor issues against the application itself.
---

# Reproduce Design editor issues

Use this skill for defects that need a real Design editor session. Work from a
local or production copy of an Agent-Native design and describe the observed
application behavior directly.

## Setup

1. Start the worktree's Design app with
   .agents/skills/design-editor-repro/harness/start-dev.sh.
2. Run
   node .agents/skills/design-editor-repro/harness/doctor.mjs
   until the local app and editor session are ready.
3. Copy a source design with
   node .agents/skills/design-editor-repro/scripts/copy-design.mjs <design-id>.
   Use a production copy only when DESIGN_TEST_EMAIL and
   DESIGN_TEST_PASSWORD are configured. Remove that copy when finished.
4. Reproduce the reported steps before changing application code. Save only
   task-relevant files under templates/design/.tmp/editor-repro/.

## Investigation

- Use the helpers in harness/dlib.mjs to open the editor, select layers, inspect
  fields, trigger actions, and read persisted files.
- Prefer Playwright input through the app page. Use the OS input helper only
  when browser input cannot exercise the reported path.
- Capture screenshots with harness/shot.mjs when visual evidence will help
  explain the application state. The helper returns local paths for inspection.
- Check the relevant implementation and neighboring tests before changing code.
  Keep fixes at the application boundary and add a regression test where the
  existing suite supports it.
- Keep diagnostic data local to the task. Do not commit screenshots, copied
  user designs, session data, credentials, or temporary exports.

## Verification

- Reproduce the original steps on the changed build.
- Run the narrowest relevant unit or browser tests, then the required Design
  interaction lane when the change affects canvas behavior.
- Inspect the rendered application when the fix changes visible behavior.
- Close the editor page and delete any temporary production copy before
  reporting completion.

For details, see harness-recipes.md, reference/input-and-osmouse.md,
reference/fixing.md, reference/tests-and-blast-radius.md, and
reference/performance.md.
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