Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

mockup-prototype样机原型

Agent Skill

mockup-prototype 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

494

周安装

21

GitHub Stars

1

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mockup-prototype(样机原型)
来源仓库:https://github.com/labudis/skills
仓库路径:skills/mockup-prototype
安装命令:
npx skills add https://github.com/labudis/skills --skill mockup-prototype
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/labudis/skills --skill mockup-prototype

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于原型设计技术研究、相关工具分析和使用案例检索等场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加技能,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • mockup-prototype 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Mockup Prototype

End-to-end workflow for creating, iterating, and sharing interactive HTML mockups using Copilot CLI.

When to Use This Skill

  • User asks to "create a mockup" or "prototype a UI"
  • User wants to compare design alternatives side by side
  • User asks to "deploy" or "share" a mockup with colleagues
  • User wants a quick visual exploration of a feature idea

Phase 1: Generate

Ask where this mockup belongs

Before creating the file, ask the user which repo to work in. The mockup file lives in the repo's local clone from the start - no copying later.

  1. Ask: "Which repo should this mockup live in?" (e.g., acme/feature-explorer, contoso/design-lab)
  2. Find the local clone (check ~/GitHub/<org>/<repo> or ~/GitHub/<repo>)
  3. Look for existing folder conventions: docs/mockups/, considerations/, designs/, proposals/. If none exist, use docs/mockups/.
  4. Create the mockup at <repo>/docs/mockups/<feature-name>/mockup.html

Create the mockup

Create a single self-contained HTML file with all CSS inline. No external dependencies, no build steps.

Style guide

Match the visual style of the product being mocked up. If the user specifies a product or brand, replicate its look (colors, spacing, typography). If no specific product is mentioned, use a clean dark theme as a sensible default:

TokenValue
Background (page)#0d1117
Background (surface)#161b22
Background (overlay)#21262d
Text (primary)#e6edf3
Text (secondary)#9198a1
Text (muted)#7d8590
Border#30363d
Blue#4493f8
Green#3fb950
Red#f85149
Yellow#d29922
Purple#a371f7
Font stack-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif

Use inline SVGs for icons. Do not reference external icon libraries or CDNs.

Comparing multiple options

When showing alternatives, use a tabbed layout:

<!-- Sticky nav -->
<div class="option-nav">
  <button class="option-btn active" onclick="show('a')">A. Option name</button>
  <button class="option-btn" onclick="show('b')">B. Option name</button>
</div>

<!-- Each option in its own section -->
<div class="mockup-section active" id="section-a">
  <!-- mockup content -->
  <!-- pros/cons narrative INSIDE this div -->
</div>
<div class="mockup-section" id="section-b">
  <!-- mockup content -->
  <!-- pros/cons narrative INSIDE this div -->
</div>

<script>
function show(id) {
  document.querySelectorAll('.mockup-section').forEach(s => s.classList.remove('active'));
  document.querySelectorAll('.option-btn').forEach(b => b.classList.remove('active'));
  document.getElementById('section-' + id).classList.add('active');
  event.target.classList.add('active');
}
</script>

Key rules:

  • Narrative blocks (pros/cons) go inside each .mockup-section, not outside
  • Only one section visible at a time via CSS (display:none / display:block)
  • Use realistic data, not placeholder text

Preview locally

After creating the file, always open it in the browser automatically:

open <repo-path>/docs/mockups/<feature-name>/mockup.html   # macOS
xdg-open <repo-path>/docs/mockups/<feature-name>/mockup.html  # Linux

Phase 2: Iterate

All changes stay local. Do not push to the remote until the user explicitly asks to deploy or push.

  1. Edit the HTML file based on user feedback
  2. Always re-open in browser after each change so the user can see updates immediately
  3. Common iteration patterns:

- Adding/removing/reordering options - Adding pros/cons narrative below each option - Tweaking layout, spacing, colors - Fixing visual bugs reported via screenshots

Important: Do not git commit, git push, or create PRs during this phase. The user will tell you when they are ready.

Phase 3: Deploy for sharing

Only start this phase when the user explicitly asks to deploy, push, or share.

Confirm public visibility

Before deploying, remind the user:

This will deploy the mockup to a public URL. Confirm the content is safe to share externally (see the Security section above).

If the user has not acknowledged this, ask for confirmation before proceeding.

Choose a deployment target

Ask the user where to deploy:

  • GitHub Pages (default): deploys via the repo's Pages site. Requires merging to main.
  • Vercel: deploys instantly via vercel deploy --prod. No PR or merge required.

If the user has already stated a preference (e.g., "deploy to Vercel"), skip the prompt.

Option A: GitHub Pages

  1. Ensure GitHub Pages is enabled on the target repo: gh api repos/<owner>/<repo>/pages --jq '.html_url' # If not enabled: gh api repos/<owner>/<repo>/pages -X POST -f source='{"branch":"main","path":"/"}'
  2. Add a README.md in the mockup directory with a summary of the states/options.
  3. Create branch, commit, push, PR, and merge in one flow: git checkout -b <user>/mockup-<feature-name> git add docs/mockups/<feature-name>/ git commit -m "Add <feature-name> mockup" git push origin <user>/mockup-<feature-name> gh pr create --title "<Feature> mockup" --body "..." # Wait for checks, then merge gh pr merge <number> --squash --delete-branch The merge to main is required for Pages to deploy. Do not leave the PR open.
  4. Open the live URL in the browser after merge: PAGES_URL=$(gh api repos/<owner>/<repo>/pages --jq '.html_url') open "${PAGES_URL}docs/mockups/<feature-name>/mockup.html"

Option B: Vercel

  1. Ensure the Vercel CLI is installed and authenticated: vercel --version || npm install -g vercel vercel whoami # confirm logged in
  2. Prepare the deploy directory. Vercel serves index.html by default. Copy the mockup file so it works at the root URL: cp <repo-path>/docs/mockups/<feature-name>/mockup.html \ <repo-path>/docs/mockups/<feature-name>/index.html
  3. Deploy from the mockup directory: cd <repo-path>/docs/mockups/<feature-name> vercel deploy --prod --yes
  4. Clean up the temporary index.html (keep mockup.html as the source of truth): rm <repo-path>/docs/mockups/<feature-name>/index.html
  5. Open the live URL in the browser. Vercel prints the production URL and alias on deploy. Open the alias URL (e.g., https://<project>.vercel.app).
  6. Optionally commit and push the mockup to the repo for project history. This is separate from the Vercel deploy and follows the same branch/PR/merge flow as GitHub Pages. Only do this if the user asks.

Security

Public visibility

Both GitHub Pages and Vercel deploy content to publicly accessible URLs by default. Before deploying, confirm the mockup does not contain:

  • Real user data, PII, or production database content
  • API keys, tokens, secrets, or credentials
  • Internal-only URLs, hostnames, or infrastructure details
  • Proprietary business logic or unreleased feature specifics that should stay confidential

Content guidelines

  • Use synthetic, fictional data in all mockups (fake usernames, placeholder repos, made-up org names)
  • Do not embed real screenshots of internal tools unless cleared for public sharing
  • Do not reference external CDNs, scripts, or stylesheets. All assets must be inline. This prevents supply-chain risks and ensures the file works offline.

Credential hygiene

  • The skill uses gh CLI and vercel CLI, which rely on locally stored auth tokens. These tokens are never written into mockup files.
  • Do not hardcode tokens, passwords, or auth headers in any HTML, CSS, or JS within the mockup.

Guidelines

  • Single self-contained HTML file. No build tools, no npm, no frameworks.
  • Save the mockup directly in the target repo's local clone from the start.
  • Do not maintain two copies of the mockup (e.g., Desktop + repo). One file, one location.
  • Do not push changes during iteration. Local only until the user says to deploy.
  • Always auto-open the local file in browser during iteration.
  • Always auto-open the live Pages URL after deploy.
  • Use descriptive file and folder names (e.g., user-profile-card, not mockup-1).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.57%
按下载量换算65

Claude

27.65%
按下载量换算48

Cursor

16.91%
按下载量换算29

Gemini CLI

9.58%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills