mockups
Generate HTML interface mockups for user stories. Use when user wants to create UI mockups, prototypes, or mentions /mockups command.
от rakovi4★ 54 звезды на GitHub
Установить mockups в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Generate Interface Mockups
Create production-quality HTML mockups for a user story with mandatory desktop/mobile parity.
Usage
/mockups "Story name"
/mockups 5 # By MVP story number
/mockups # Interactive selection
Phase 1: Context Gathering
Read these files before generating anything:
- Conventions:
ProductSpecification/ui/ui-conventions.md(the single authority for all design rules) - Templates:
ProductSpecification/ui/templates/(browse what's available) ProductSpecification/BriefProductDescription.mdProductSpecification/stories.md(story number lookup)- Story spec:
ProductSpecification/stories/NN-story-name/NN_StoryName.md - Landing page:
Landing/index.html(brand reference) - If exists:
ProductSpecification/stories/NN-story-name/interview.md
Items 5 and 7 resolve stories/ first, then stories/done/ (.claude/rules/workflow.md, "Resolving a story folder") -- a story that later work backports a mockup into has usually closed since. Where the generated files land is Phase 4's template, "Output Location".
Phase 2: Story Selection
Parse user input (by name, by number, or interactive).
Phase 3: Screen Plan (MANDATORY GATE)
You MUST complete this phase fully before writing any HTML file.
- Extract all screen states from the story spec's "Screen States" section. MUST include every state (never skip, merge, or combine).
- Map states to filenames for BOTH desktop AND mobile. Every desktop file MUST have a mobile counterpart.
- Parity check — desktop files = N, mobile files = N. Fix if counts differ.
NEVER proceed to Phase 4 until the Screen Plan table is complete with equal counts.
Phase 4: Generate Mockups
Load .claude/templates/ui/mockup-generation-rules.md for all generation rules, output location, template usage, format, and completion check.
Phase 5: Screenshots
Run /screenshot for both desktop and mobile directories.
Phase 6: Summary
Report: Screen Plan table, total files, screenshot locations, design decisions, whether conventions were updated.
Pre-flight Checklist
- Every screen state from the spec has a mockup
- Desktop file count equals mobile file count
- All patterns match
ui-conventions.md - Sidebar matches
sidebar.htmltemplate exactly - Interface text is in Russian
- Screenshots generated for both desktop and mobile
- Existing mockups checked (ask user before overwriting)
- If new UI patterns introduced,
ui-conventions.mdupdated
Templates
.claude/templates/ui/mockup-generation-rules.md— generation rules, format, templates, completion check.claude/templates/ui/icon-reference.md— icon name lookup
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mockups?
Generate HTML interface mockups for user stories. Use when user wants to create UI mockups, prototypes, or mentions /mockups command.
Как установить скилл mockups?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mockups запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…