一键导入
create-html-mock
Create HTML mocks for a new feature idea
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create HTML mocks for a new feature idea
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Extract requirements document from HTML mock iteration
Execute an implementation plan by working through each task file in order. Use when an implementation plan folder exists at docs/<feature>/implementation_plan/.
Write an architecture document from goals and requirements
Write an implementation plan from architecture documents
| name | create-html-mock |
| description | Create HTML mocks for a new feature idea |
| disable-model-invocation | true |
| argument-hint | [feature description] |
You are helping the user explore and refine a feature idea through HTML mocks.
Understand the feature: Read the user's description provided below. Review for inconsistencies, gaps, or potential enhancements. If anything is unclear or ambiguous, ask clarifying questions before proceeding.
Propose a feature name: Based on the description, propose a short 2-3 word feature name (lowercase, hyphenated). Confirm this name with the user before proceeding.
Create the feature folder automatically: Use mkdir -p docs/<feature-name> to create the directory (this is safe if it already exists). Then create:
docs/<feature-name>/mocks.context.md - for tracking context (only if it doesn't already exist)Initialize the context file (only if newly created) with this structure:
# <Feature Name> - Mock Context
## Original Description
<paste the user's original description here>
## Clarifying Q&A
<record any clarifying questions and answers here>
## UI Tweaks Log
<record all UI feedback and tweaks requested during iteration>
Generate HTML mocks that demonstrate the feature:
Never delete previous mocks: Always create a new file for each iteration (e.g., mocks.html, mocks-v2.html, mocks-v3.html, or use descriptive names). Previous mock files must be preserved.
Always open the HTML file: After writing a mock file, always run open <path-to-file> to open it in the user's browser.
As the user provides feedback on the mocks:
Log every UI tweak: Whenever the user requests a change to the mocks, update the "UI Tweaks Log" section in mocks.context.md with:
At the end of each response where you make changes, note: (Logged: [brief description of change])
Keep the context file current: This log will be used later to extract requirements, so be thorough.
$ARGUMENTS