본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)7.6k · #13122

visual-edit

하는 일

이 스킬은 실행 중인 로컬 앱을 호스팅된 시각 편집기에서 엽니다. 앱의 경로가 캔버스 위의 화면으로 나타납니다. 에이전트와 함께 실제 앱을 시각적으로 검토하거나 편집하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓실행 중인 로컬 앱을 실제 화면으로 살펴보고 싶을 때.
  • ✓로컬 앱의 화면을 검토를 위해 팀원과 공유하고 싶을 때.
  • ✓앱을 시각적으로 편집하고 변경 사항을 소스 코드로 되돌리고 싶을 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-design/skills/visual-edit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-design/skills/visual-edit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“실행 중인 앱을 시각 편집기에서 열어서, 가입 화면과 로그인 화면을 함께 볼 수 있게 해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 앱의 페이지가 응답하는지 확인한 뒤, 호스팅된 시각 편집기에서 그 페이지를 엽니다. 로컬 앱과 브리지는 내 컴퓨터에서 실행되고, 편집기는 온라인에서 호스팅됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Visual Edit

Use /visual-edit when the user wants to inspect or edit a real local app visually instead of generating standalone Alpine HTML. The source of truth is the running localhost app plus its route URLs. Design shows those routes as iframe-backed screens on the infinite canvas.

The editor is hosted at https://design.agent-native.com. Never start local Design; only the target app and bridge run locally.

See the Visual Edit guide for a worked onboarding-flow example.

Fast local startup

  • Do not install this skill into the target app or start a local Design server. The skill belongs to the coding host; Design is always the hosted app above.
  • If you need to start an Agent-Native framework app yourself, use AUTH_DISABLED=1 with its normal dev command. This is local-only and gives the visual editor the framework's dev identity without a user login.
  • If an agent-owned local server redirects a requested screen to /sign-in, restart that server with AUTH_DISABLED=1 and probe the route again before opening Design. Never present a sign-in page as the requested screen.
  • Before calling open-visual-edit, verify the target URL responds. Start an agent-owned dev server with its normal command when it is down, and wait for the requested routes to respond before opening Design. Never leave a dead localhost URL in the canvas.
  • Preserve a server you did not start; use its existing authenticated browser session or explain that the target app, rather than Design, requires login.
  • When the user gives explicit paths, skip route inventory and place those paths directly. Discover routes only when paths were not supplied.

Installation

npx @agent-native/core@latest skills add visual-edit installs the skill and hosted Design MCP connector. npx skills@latest add BuilderIO/agent-native --skill visual-edit installs instructions only; page-capable WebMCP hosts need no connector installation.

Put Design Beside The Chat

Prefer the MCP App from open-visual-edit: it keeps Design beside chat. Use Copy prompt to hand the visual edits to the coding agent; the host may request conversation confirmation. Otherwise, openUrl is a credential-free, read-only fallback; never claim it is editable.

  • Inline-browser hosts should open https://design.agent-native.com/visual-edit and call its open-visual-edit WebMCP tool. It works signed in or out; the one-time capability is not a Design account session. A page-capable browser controller is enough, so Claude-in-Chrome, Claude Code browser tools, the ChatGPT Chrome/browser extension, Puppeteer or Playwright MCP, CDP, and similar JavaScript-capable controllers do not need the hosted MCP connector.
  • VS Code uses its Design webview/deep link. Without page WebMCP, use the hosted Design MCP connector and its normal OAuth/device authorization. Never replace either path with a local Design server.

Inside Design, use Show/Hide UI from the Cmd K menu or press the Shift \ shortcut to toggle all editing chrome so only the canvas remains.

Browser WebMCP (Default Without Connector)

Without a connected Design MCP, use a visible browser tab with a main-world JavaScript evaluator. Prefer the host's inline browser; use external Chrome only when requested or unavailable. Open https://design.agent-native.com/visual-edit, keep it visible while tools register, and read the title before work. Never enter, copy, or request passwords, cookies, tokens, or codes. Signed-out loopback visual-edit works; other pages that block tools behind sign-in still require a signed-in tab. If the browser exposes CDP permissions, grant local-network-access to https://design.agent-native.com before calling page tools; otherwise use the page's Connect button and let the browser's permission prompt complete.

Use a native browser-session WebMCP bridge when the host provides one: list once with list-browser-session-webmcp-tools and run with run-browser-session-webmcp-tool, or use the list-host-webmcp-tools and run-host-webmcp-tool pair. Preserve the exact discovered name, origin, and args. Otherwise use the page-world API. Agent-Native pages expose this helper:

Example assumes signed-in or existing bridge; fresh signed-out loopback must add the locally held bridgeToken described below.

const an = window.__agentNativeWebMcp;
const status = await an.ready
자주 묻는 질문

편집기가 내 컴퓨터에서 실행되나요?

아니요. 편집기는 온라인에서 호스팅되며, 로컬에서는 앱과 브리지만 실행됩니다.

페이지가 로그인을 요구하면 어떻게 하나요?

이 스킬은 실제 화면이 보이도록, 개발용으로 로그인을 끈 상태에서 로컬 앱을 다시 시작하라고 안내합니다.

내 코드를 바꾸나요?

이 스킬은 편집 내용을 소스로 되돌리는 과정도 다루므로, 변경은 코드를 통해 이루어집니다.

상세 정보

작성자의 원본 설명

Open and collaboratively edit a running local app in Design, with shared fallback previews and source handoff. Use when the user asks to inspect, share, or edit a real local app in Design.

repo: BuilderIO/agent-native

인기도

GitHub 스타
7.6k
순위
#13122
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬