Agent Skills › nightly-labs/openbot › Prototype Build

Prototype Build

GitHub

将想法转化为可点击的静态原型,生成截图和视频演示。支持发布至公共站点或创建草稿PR,严格限制资源大小与文件类型,确保交互流程可用。

marketplace/production-catalog/skills/prototype-build/SKILL.md nightly-labs/openbot

触发场景

用户希望快速验证想法的可操作性 需要基于草图或Figma设计生成可交互原型

安装

npx skills add nightly-labs/openbot --skill Prototype Build -g -y
更多选项

非标准路径

npx skills add https://github.com/nightly-labs/openbot/tree/main/marketplace/production-catalog/skills/prototype-build -g -y

不安装直接使用

npx skills use nightly-labs/openbot@Prototype Build

指定 Agent (Claude Code)

npx skills add nightly-labs/openbot --skill Prototype Build -a claude-code -g -y

安装 repo 全部 skill

npx skills add nightly-labs/openbot --all -g -y

预览 repo 内 skill

npx skills add nightly-labs/openbot --list

SKILL.md

Frontmatter
{
    "name": "Prototype Build",
    "description": "Turn an idea into the smallest clickable static prototype, click through it in the browser, and return screenshots of the click path and a short video. Publishes to a public site only after the user says publish. Can open a draft pull request instead when the user asks."
}

Prototype Build

When to use

  • When the user wants to click an idea, not read about it.
  • Not for production code or a design review (use Interface Critique).

Inputs

  1. The idea. From the user, a scope document, a sketch, a screenshot, or a Figma frame (an installed Figma plugin, found with tool_search in the openbot tools, or a signed-in Figma tab in openbot_browser).
  2. The click path. The 2 to 5 steps a person must be able to do. If it is not clear, ask one question with ask_user: "What is the one thing a person should be able to do in this prototype?"
  3. Content. Use the user's words when given. Else use plain sample content, labeled as sample.

Steps

  1. Write the click path as numbered steps. Build only the screens these steps need.
  2. Build in a new workspace folder prototypes/<short-name>/ with vanilla HTML, CSS and JavaScript, as the built-in site hosting skill says. No framework, no library for one component, no outside scripts. Put the start screen in index.html. Use semantic HTML, real buttons and links, and visible focus.
  3. For a new idea, use Distinctive Frontend Design for the visual direction. Reuse the user's brand when given.
  4. Keep inside the hosting limits from the start: at most 20 files, 2 MB in total, 1 MB per file. Allowed types: HTML, CSS, JavaScript, JSON, SVG, WebP, PNG, JPEG, ICO, WOFF2, TXT and web manifests.
  5. Preview it. The browser opens web addresses, not file paths. Start a local static file server for the folder in the workspace shell (for example the one built into Python), bound to 127.0.0.1. Open the exact address that the command prints in openbot_browser. Stop the server when you are done.
  6. Start openbot_browser.recording_start. Do the click path as a user: click and type, do not call scripts. Take one screenshot per step. Stop with openbot_browser.recording_stop.
  7. Check the mobile width with openbot_browser.set_environment. Fix what breaks, then repeat step 6.
  8. Send the result and ask whether to publish.

Checks

  • Every click-path step works by click or keyboard, and its screenshot shows the result.
  • Parts that only look real are labeled "not built".
  • The folder fits the hosting limits and has no keys, .env files, archives or source maps.

Output

Prototype: <name> — folder: prototypes/<short-name>/ — status: local only, not published

Click path
1. <step> — works — screenshot 1
2. <step> — works — screenshot 2
Not built: <parts that only look real>
Sample content: <what is sample>
Size: <n> files, <size>

Publish to a public site address? It expires after 30 days.

Attach the screenshots and the video with attach_files_to_response.

Publish and pull request paths

  • Call openbot.publish_site only after the user says publish. A request to build or preview is not a yes.
  • The site is public. Tell the user before you publish. Remove private data first.
  • The user can have 10 active sites. Call openbot.list_sites before a retry. To update a published prototype, use openbot.replace_site after the user says so; it keeps the address.
  • When the user asks for the prototype in their repository instead: make a branch, commit, push, and open a draft pull request with gh. Never merge it and never mark it ready.

Approvals and stop conditions

  • Never publish, replace, delete a site, share a link, merge, or add a dependency without the user's yes.
  • If the idea needs a server, payments or real sign-in, say that the prototype only pretends to do it.

Common failures

  • Building every screen instead of the click path.
  • A framework or a build step for three screens.
  • Publishing because the user said "show me".
  • Sample content that looks like real customer data.

版本历史

  • ac99196 当前 2026-11-02 08:41

同 Skill 集合

.agents/skills/babysit/SKILL.md
.agents/skills/biome-anti-slop/SKILL.md
.agents/skills/openpanel/SKILL.md
.agents/skills/prototype/SKILL.md
.agents/skills/react-to-solid/SKILL.md
.agents/skills/release-upgrade-safety/SKILL.md
.agents/skills/ship/SKILL.md
.agents/skills/signal-deploy/SKILL.md
.agents/skills/smoke-and-ship/SKILL.md
.agents/skills/smoke/SKILL.md
.agents/skills/triage/SKILL.md
.agents/skills/zaidan/SKILL.md
marketplace/production-catalog/skills/acceptance-check/SKILL.md
marketplace/production-catalog/skills/accessibility-audit/SKILL.md
marketplace/production-catalog/skills/account-brief/SKILL.md
marketplace/production-catalog/skills/agent-chat-healthcheck/SKILL.md
marketplace/production-catalog/skills/agent-designer/SKILL.md
marketplace/production-catalog/skills/alt-text/SKILL.md
marketplace/production-catalog/skills/api-skill-builder/SKILL.md
marketplace/production-catalog/skills/bug-triage/SKILL.md
marketplace/production-catalog/skills/build-spec/SKILL.md
marketplace/production-catalog/skills/call-scorecard/SKILL.md
marketplace/production-catalog/skills/campaign-analysis/SKILL.md
marketplace/production-catalog/skills/care-log/SKILL.md
marketplace/production-catalog/skills/change-review/SKILL.md
marketplace/production-catalog/skills/competitor-comparison/SKILL.md
marketplace/production-catalog/skills/daily-brief/SKILL.md
marketplace/production-catalog/skills/data-quality-review/SKILL.md
marketplace/production-catalog/skills/decision-quality-check/SKILL.md
marketplace/production-catalog/skills/distinctive-frontend-design/SKILL.md
marketplace/production-catalog/skills/eggbot-getting-started/SKILL.md
marketplace/production-catalog/skills/evidence-brief/SKILL.md
marketplace/production-catalog/skills/hiring-scorecard/SKILL.md
marketplace/production-catalog/skills/interface-critique/SKILL.md
marketplace/production-catalog/skills/internal-communications/SKILL.md
marketplace/production-catalog/skills/launch-notes/SKILL.md
marketplace/production-catalog/skills/meeting-actions/SKILL.md
marketplace/production-catalog/skills/outreach-draft/SKILL.md
marketplace/production-catalog/skills/pr-follow-up/SKILL.md
marketplace/production-catalog/skills/project-plan/SKILL.md
marketplace/production-catalog/skills/recurring-charges/SKILL.md
marketplace/production-catalog/skills/repository-threat-model/SKILL.md
marketplace/production-catalog/skills/request-scoring/SKILL.md
marketplace/production-catalog/skills/routine-healthcheck/SKILL.md
marketplace/production-catalog/skills/search-content-brief/SKILL.md
marketplace/production-catalog/skills/secure-code-guidance/SKILL.md
marketplace/production-catalog/skills/spend-audit/SKILL.md
marketplace/production-catalog/skills/support-reply/SKILL.md
marketplace/production-catalog/skills/voice-edit/SKILL.md

元信息

文件数
0
版本
ac99196
Hash
b09ec3f7
收录时间
2026-11-02 08:41

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-02 15:47
浙ICP备14020137号-1