prd-to-mockup

prd-to-mockup is a skill for Claude Code from cuongtl1992/vibe-skills. It costs 146 tokens per session (2,273 once invoked), scanned A, original, MIT.

A wireframe generator that turns a Lean Product Requirements Document (PRD) into linked HTML screen sketches. A wireframe shows the structure and states of a screen without deciding its final visual design.

In plain words
What is it for?
Use it to render each described screen state, connect screens according to the workflow, and review what users see at each step of a feature.
Why use it?
It helps product people and developers check the user flow, fields, actions, business rules, and error states before implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-first-engineering plugin — 4 skills shipped together

Good fit Use it to render each described screen state, connect screens according to the workflow, and review what users see at each step of a feature.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cuongtl1992/vibe-skills/prd-to-mockup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cuongtl1992/vibe-skills --skill prd-to-mockup
Clone the repo
git clone --depth 1 https://github.com/cuongtl1992/vibe-skills

Made for: Claude Code.

Or install ai-first-engineering, the plugin that ships this one along with the rest of its 4 skills.

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 prd-to-mockup

README.md
[![agentmods](https://agentmods.dev/badge/skills/cuongtl1992/vibe-skills/prd-to-mockup/github.svg)](https://agentmods.dev/skills/cuongtl1992/vibe-skills/prd-to-mockup)
Your own site
<a href="https://agentmods.dev/skills/cuongtl1992/vibe-skills/prd-to-mockup"><img src="https://agentmods.dev/badge/skills/cuongtl1992/vibe-skills/prd-to-mockup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prd-to-mockup

Your own site · 80×15
<a href="https://agentmods.dev/skills/cuongtl1992/vibe-skills/prd-to-mockup"><img src="https://agentmods.dev/badge/skills/cuongtl1992/vibe-skills/prd-to-mockup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,273 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.
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.00146 $0.02273
Opus 5.5 $0.00058 $0.00909
Sonnet 5.5 $0.00029 $0.00455
Haiku 4.5 $0.00015 $0.00227

Measured 2mo ago against content hash 7bbe8d840510, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prd-to-mockup 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 2mo 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/ai-first-engineering/skills/prd-to-mockup/SKILL.md · 212 lines

How it starts

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

PRD to Mockup — Wireframe Generator

Chuyển Screen States từ Lean PRD thành low-fidelity wireframe dạng HTML. Mỗi screen state = 1 wireframe, liên kết theo workflow diagram.

Triết lý

Wireframe là visual validation cho Business Rules, không phải pixel-perfect design.

Mục đích:

  1. PM/Stakeholder validate: "đúng, user sẽ thấy như vậy"
  2. Gen engineer hiểu UI structure trước khi code
  3. prd-to-gherkin biết @web scenario cần verify element gì

Wireframe KHÔNG quyết định: màu sắc, font, spacing cụ thể, responsive behavior → đó là việc của designer.


Step 1 — Parse Screen States từ PRD

Khi nhận PRD (lean-prd format), extract:

  1. Danh sách Screen States — mỗi state = 1 screen
  2. Workflow diagram — thứ tự screens, navigation flow
  3. Business Rules per screen — rule nào active tại screen đó
  4. Data elements — field hiển thị, editable, read-only
  5. Actions — buttons/links, rule guard cho mỗi action
  6. Error states — user thấy gì khi rule bị vi phạm

Nếu PRD không có Screen States, hỏi:

"PRD này chưa có Screen States. Bạn mô tả sơ: user nhìn thấy gì ở mỗi bước trong workflow?"

Step 2 — Render Wireframe

Tạo 1 file HTML duy nhất chứa tất cả screens, navigate giữa chúng được.

Nguyên tắc render

Layout:

  • Dùng gray boxes, borders, placeholder text
  • Không dùng màu sắc (trừ: đỏ cho error state, xanh lá cho success)
  • Font: system default, 1 size cho content, 1 size lớn hơn cho heading
  • Max width 800px, centered

Elements mapping:

Screen State field        → Wireframe element
─────────────────────────────────────────────
Hiển thị (read-only data) → Gray box với label + placeholder value
Có thể sửa (editable)    → Input field với border + label
Chỉ đọc (from source)    → Gray background input, disabled look
Actions (buttons)         → Button với label, annotate guard rule
Khi lỗi (error)          → Red border + error message text

Annotations (quan trọng!):

  • Mỗi element có annotation nhỏ ghi Rule ID liên quan: [BR-M01]
  • Mỗi button ghi guard condition: [Submit] → requires BR-M01, BR-M02
  • Mỗi screen có title = State name từ workflow

Read the full file on GitHub · 212 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. 2mo ago First seen · 212 lines · 0 tokens per session scan A 7bbe8d840510

Subscribe to this mod's changes

prd-to-mockup is a skill published in the GitHub repository cuongtl1992/vibe-skills (11 stars, last pushed 7mo ago), licensed MIT. It adds 146 tokens to every session and 2,273 once invoked, about $0.0006 per session on Opus 5.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-31.

Related

prd-to-mockup compared with skills from other repositories

prd-to-mockup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prd-to-mockupcuongtl1992/vibe-skillsSkill117mo agoMITA146Claude Code
webgl-holographic-foilnexu-io/open-designSkill107ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill107ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill107ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10ktodayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6ktodayMITA47Claude Code