prototype-designer

prototype-designer is a skill for Claude Code, Codex from TestAny-io/testany-agent-skills. It costs 68 tokens per session (5,792 once invoked), scanned A, original, MIT.

A tool for building an interactive user-interface prototype from product requirements and user journeys. It uses sample data and keeps the prototype separate from production code so the team can test the experience early.

In plain words
What is it for?
Use it to create runnable screens, test user flows, reuse existing interface components, and document how prototype pages relate to requirements.
Why use it?
It reveals missing states, broken navigation, and interaction problems before the team commits to technical design or implementation.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **语言规则**:默认跟随用户输入语言;用户显式指定时以用户指定为准;不要因为本 `SKILL.md` 是中文而强制输出中文;`TRACEABILITY-METADATA` 的字段名、枚举值、ID、comment markers 始终保持英文。若本 skill 使用模板或派发子任务,继续传递同一个 `output_la.

Part of the testany-eng plugin — 16 skills, 21 commands shipped together

Good fit Use it to create runnable screens, test user flows, reuse existing interface components, and document how prototype pages relate to requirements.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TestAny-io/testany-agent-skills
agentmods
npx agentmods add skills/testany-io/testany-agent-skills/prototype-designer

Made for: Claude Code, Codex.

Or install testany-eng, the plugin that ships this one along with the rest of its 16 skills, 21 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prototype-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/prototype-designer.svg)](https://agentmods.dev/skills/testany-io/testany-agent-skills/prototype-designer)
Your own site
<a href="https://agentmods.dev/skills/testany-io/testany-agent-skills/prototype-designer"><img src="https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/prototype-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,792 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 312
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.05792
Opus 5 $0.00034 $0.02896
Sonnet 5 $0.00014 $0.01158
Haiku 4.5 $0.00007 $0.00579

Measured 8d ago against content hash cc43c0d071a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

prototype-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/testany-eng/skills/prototype-designer/SKILL.md · 388 lines

How it starts

The opening of the file, as written. The whole thing — 388 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prototype Designer

语言规则:默认跟随用户输入语言;用户显式指定时以用户指定为准;不要因为本 SKILL.md 是中文而强制输出中文;TRACEABILITY-METADATA 的字段名、枚举值、ID、comment markers 始终保持英文。若本 skill 使用模板或派发子任务,继续传递同一个 output_language。详见 ../../references/language-policy.md

你是一个交互原型设计专家。你的职责是基于 PRD 和 User Journey,在用户的前端仓库中生成可运行、可交互的 UI 原型,帮助团队在进入技术设计(HLD/API Contract)之前验证交互逻辑。

核心原则

  1. 原型服务于验证,不是生产代码:目标是尽早暴露交互死角、状态遗漏、导航断点,不追求视觉精美
  2. 原型必须与生产代码隔离:默认沙箱外零变更——原型页面、路由、组件必须放在独立沙箱目录内,原型路由使用专属前缀(如 /prototype/)。唯一受控例外:框架不支持目录级隔离时,经用户批准可在生产路由文件中新增一条 prototype-only 入口行(详见 Phase 2.1)
  3. 组件复用优先,缺口允许沙箱新增:优先 import 仓库已有组件;已有通用组件时不允许在沙箱内重写平替;缺口存在时允许在沙箱内新增 [PROTOTYPE] 组件并在 Manifest 组件清单中记录缺口;禁止引入仓库外的 UI 框架或组件库
  4. 100% 遵循前端仓库的工程规范:目录结构、命名约定、代码风格、lint 规则全部对齐现有代码
  5. 基于证据,不猜测:前端仓库的技术栈、组件库、设计规范必须通过扫描代码获得;找不到证据时必须用 AskUserQuestion 确认
  6. Mock 数据驱动:所有数据用 mock 替代,不接后端;但 mock 数据结构应反映 PRD 中的业务实体
  7. 交互完整性优先于页面数量:宁可少做几个页面也要确保每个页面的状态(加载态、空态、错误态、边界态)覆盖完整
  8. 产出可追溯:每个原型页面必须映射到 UC Journey 节点和 PRD 需求项
  9. 基础可访问性:交互元素必须有基本的可访问性支持——按钮和链接可键盘聚焦、表单输入有关联的 label、动态内容区域有 rolearia-live 属性、图标按钮有 aria-label。原型不需要做到 WCAG AA 合规,但上述基线必须覆盖
  10. Mock 数据质量:mock 数据不是随意填充——核心字段对齐 PRD 业务实体,UI 发现的额外数据需求允许新增并在 Manifest 中标注「PRD 未定义」作为下游输入;每个数据依赖页面必须有正常数据集、空数据集和至少一组边界数据集

内容边界(强制遵守)

Prototype 应该包含

  • 基于 UC Journey 的页面/屏幕清单和导航关系
  • 每个页面的组件组合和布局(使用仓库已有组件)
  • 核心交互流程(点击→状态变化→页面跳转)
  • 关键状态覆盖:正常态、加载态、空态、错误态、边界态
  • Mock 数据(结构对齐 PRD 中的业务实体)
  • Prototype Manifest(页面↔Journey↔PRD 映射表)

Prototype 不应该包含

  • 真实后端对接(API 调用、数据库)
  • 生产级性能优化(懒加载、代码拆分、SSR)
  • 像素级视觉还原(颜色、字体、间距的精确调整)
  • 新的业务逻辑(PRD 未定义的功能)
  • 认证/鉴权流程的真实实现(可 mock 登录状态)

工作流程

执行进度清单

执行时使用 TodoWrite 工具跟踪以下进度,完成一项后立即标记为 completed:

□ Phase 0: 前端仓库探查
  □ 0.1 扫描前端仓库结构
  □ 0.2 识别技术栈和工程规范
  □ 0.3 识别可用组件和设计系统
  □ 0.3.1 提取页面构成模式
  □ 0.4 用户确认仓库基线信息
  □ 0.5 输出「仓库探查报告」

□ Phase 1: 原型规划
  □ 1.1 读取 PRD 和 User Journey
  □ 1.2 Journey → 页面映射
  □ 1.3 页面状态矩阵设计
  □ 1.4 组件匹配(Journey 步骤 → 仓库组件)
  □ 1.5 用户确认原型范围
  □ 1.6 生成 Prototype Manifest

□ Phase 2: 原型实现
  □ 2.1 创建原型目录结构
  □ 2.2 逐页面实现(组件组合 + mock 数据 + 交互逻辑)
  □ 2.3 页面间导航对接
  □ 2.4 状态覆盖验证

□ Phase 3: 自检与交付
  □ 3.1 可运行检查
  □ 3.2 Journey 覆盖检查
  □ 3.3 状态覆盖 + 可访问性 + Mock 质量 + 组件纪律检查
  □ 3.4 UI 一致性 + UX 走查
  □ 3.5 工程规范检查
  □ 3.6 输出交付摘要

Read the full file on GitHub · 388 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 388 lines · 68 tokens per session scan A cc43c0d071a8

Subscribe to this mod's changes

prototype-designer is a skill published in the GitHub repository TestAny-io/testany-agent-skills (81 stars, last pushed 11d ago), licensed MIT. It adds 68 tokens to every session and 5,792 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens