wireframes
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWireframes
线框图
Turn approved briefings into grey, structural wireframes — boxes, bars, shapes — so the user can validate page structure (section order, hierarchy, density, spatial relationships) before committing to visual design.
This stage is optional. A user who already has a clear structural vision can skip straight to .
/stardust:prototype将已获批的简报转化为灰色结构型线框图——仅包含方框、条块、图形——以便用户在确定视觉设计前验证页面结构(章节顺序、层级、密度、空间关系)。
此阶段为可选步骤。对结构已有清晰规划的用户可直接跳转到。
/stardust:prototypeWhen to use this skill
何时使用此技能
- The user wants to validate page structure before visual design — section order, hierarchy, density, spatial relationships.
- The user asks to annotate a wireframe or mark reusable fragments across pages.
- The user asks to change, refine, review, critique, or iterate on any file under .
stardust/wireframes/**/*.html - The user types .
/stardust:wireframes
- 用户希望在视觉设计前验证页面结构——包括章节顺序、层级、密度、空间关系。
- 用户要求注释线框图或标记跨页面可复用片段。
- 用户要求更改、优化、评审、修改或迭代下的任意文件。
stardust/wireframes/**/*.html - 用户输入。
/stardust:wireframes
Do NOT use this skill
请勿使用此技能
- For branded visual design, colors, typography, or final proportions. Hand off to .
prototype - For page copy or intent. Hand off to .
briefings - When the user explicitly wants to skip straight to branded design — suggest instead.
/stardust:prototype
- 用于品牌视觉设计、配色、排版或最终比例设计。此类需求请转交处理。
prototype - 用于页面文案或意图设计。此类需求请转交处理。
briefings - 用户明确希望直接跳过此阶段进行品牌化设计时——建议使用替代。
/stardust:prototype
Pre-flight
前置检查
Run the procedure in first.
../_shared/preflight.md请先执行中的流程。
../_shared/preflight.mdContract
规则约定
Needs (reads if present):
- (one or more)
stardust/briefings/{page}.md - (tone for annotations)
.impeccable.md
Produces:
- (grey, annotated)
stardust/wireframes/{page}.html
If missing:
- No briefings → prompt the user for a one-line page intent, synthesize a minimal briefing, stamp provenance on both the briefing and the wireframe, and proceed.
- No → annotations use neutral-technical tone.
.impeccable.md - Brand is intentionally not read at this stage.
所需资源(若存在则读取):
- (一个或多个)
stardust/briefings/{page}.md - (注释语气规范)
.impeccable.md
产出内容:
- (带注释的灰色线框图)
stardust/wireframes/{page}.html
资源缺失时的处理:
- 无简报→提示用户提供一行页面意图说明,生成最简简报,在简报和线框图上标注来源信息,然后继续流程。
- 无→注释采用中立技术语气。
.impeccable.md - 本阶段刻意不读取品牌相关信息。
Phase 1: Plan
第一阶段:规划
For each page with an approved briefing:
- Read the page briefing from .
stardust/briefings/{page}.md - Read the site briefing from if it exists (including the Content Reuse Map).
stardust/briefings/_site.md - Plan the page's sections — UX discovery:
- If the plugin is installed (
impeccableis registered), delegate section planning to/impeccable shape./impeccable shape - Otherwise, use the "For wireframe section planning" pattern in . Per
../_shared/fallback-brainstorm.md, impeccable fallback runs silently. Either path answers: what sections does this page need, what's the visual hierarchy, and how does the user flow through the content.../_shared/soft-deps.md - produces a design brief — use this as the structural plan.
/shape
- If the
- For multi-page sites, plan the information architecture across all pages before wireframing individual ones:
- If is registered in this session (detect per
/write-plan): delegate IA planning to../_shared/soft-deps.md, seeded with the site briefing and the list of pages. Use its output as the multi-page structural plan./write-plan - Otherwise (superpowers not installed): announce the fallback exactly once per session using the verbatim text from ("superpowers announcement") — unless it was already announced earlier in this session. Then sketch the IA inline: list pages, their primary content type, and the shared sections between them, and confirm with the user before moving on.
../_shared/soft-deps.md
- If
针对每个带有已获批简报的页面:
- 读取中的页面简报。
stardust/briefings/{page}.md - 若存在,读取其中的站点简报(包括内容复用映射)。
stardust/briefings/_site.md - 规划页面章节——用户体验探索:
- 若已安装插件(已注册
impeccable),将章节规划任务委托给/impeccable shape。/impeccable shape - 否则,使用中的「线框图章节规划」模式。根据
../_shared/fallback-brainstorm.md,impeccable备用方案将静默运行。 无论采用哪种方式,都需明确:页面需要哪些章节、视觉层级如何、用户如何浏览内容。../_shared/soft-deps.md - 会生成设计简报——以此作为结构规划依据。
/shape
- 若已安装
- 对于多页面站点,在绘制单个页面线框图前先规划跨页面信息架构:
- 若本次会话已注册(根据
/write-plan检测):将信息架构规划任务委托给../_shared/soft-deps.md,以站点简报和页面列表为基础。将其输出作为多页面结构规划依据。/write-plan - 否则(未安装增强功能):按照中的原文,在本次会话中仅发布一次备用方案通知(「增强功能通知」)——除非此前已发布过。然后在线规划信息架构:列出页面、各页面的主要内容类型以及页面间的共享章节,确认后再继续。
../_shared/soft-deps.md
- 若本次会话已注册
Phase 2: Render (Grey Mode)
第二阶段:渲染(灰色模式)
Render each wireframe as visual HTML in grey mode:
- Pure grey layout: boxes, bars, shapes. No brand colors, no real fonts (system-ui is fine).
- Background: light grey (#f5f5f5); elements in shades of grey.
- Placeholder text as grey bars; images as grey rectangles with labels.
- Annotations are required — every block gets a short italic or
.notedescribing what it represents, so the reviewer can evaluate the flow without guessing. Repeated items (pipeline nodes, host tiles, card grids) carry identifying labels ("01 · brand", "Claude Code"), not generic numbers. See wireframe-guide.md Annotations section..caption - Shows: section order, relative sizing, content density, spatial relationships.
- Each section gets ,
data-section,data-intentattributes so the design stage can pick up the structure.data-layout - For multi-page sites: add ,
data-fragment, anddata-fragment-roleattributes to reusable content sections — see wireframe-guide.md Content Reuse & Fragments section.data-fragment-source - Include the JSON metadata block linking to the briefing (with map for multi-page sites).
fragments - Write to .
stardust/wireframes/{page}.html
If the upstream briefing was synthesized (provenance comment present, or generated during this pre-flight), carry forward a provenance block on the wireframe per .
../_shared/skill-contract.mdFollow the full rendering rules in wireframe-guide.md.
以可视化HTML形式渲染每个线框图,采用灰色模式:
- 纯灰色布局:仅包含方框、条块、图形。无品牌色彩,无真实字体(可使用system-ui)。
- 背景:浅灰色(#f5f5f5);元素采用不同灰度色调。
- 占位文本为灰色条块;图片为带标签的灰色矩形。
- 必须添加注释——每个模块需添加简短的斜体或
.note说明其用途,以便评审人员无需猜测即可评估流程。重复项(流水线节点、主机卡片、卡片网格)需添加识别标签(如"01 · brand"、"Claude Code"),而非通用编号。详见wireframe-guide.md的注释章节。.caption - 需展示:章节顺序、相对尺寸、内容密度、空间关系。
- 每个章节需添加、
data-section、data-intent属性,以便设计阶段沿用该结构。data-layout - 对于多页面站点:为可复用内容章节添加、
data-fragment和data-fragment-role属性——详见wireframe-guide.md的内容复用与片段章节。data-fragment-source - 包含链接至简报的JSON元数据块(多页面站点需包含映射)。
fragments - 写入。
stardust/wireframes/{page}.html
若上游简报为生成内容(包含来源注释,或在前置检查阶段生成),需根据在线框图上添加来源信息块。
../_shared/skill-contract.md请遵循wireframe-guide.md中的完整渲染规则。
Phase 3: Serve
第三阶段:交付
Wireframes are self-contained HTML files. Open each file in the designer's default browser immediately after writing per Opening HTML artifacts. On macOS: . Do not rely on the designer to open it manually.
../_shared/skill-contract.mdopen stardust/wireframes/{page}.htmlIf multiple wireframes were rendered in this phase (multi-page run), open each one so the designer can review in tabs.
In pipeline-automation mode (no designer present), skip the open.
线框图为独立HTML文件。写入完成后立即在设计师的默认浏览器中打开每个文件,遵循中的「打开HTML产物」规则。在macOS系统中执行:。请勿依赖设计师手动打开。
../_shared/skill-contract.mdopen stardust/wireframes/{page}.html若本阶段渲染了多个线框图(多页面运行),需打开每个文件以便设计师在标签页中评审。
在流水线自动化模式下(无设计师参与),跳过打开步骤。
Phase 4: Approval Gate
第四阶段:审批环节
Soft gate — the user approves structure, not visuals.
Present the wireframe and ask: "Does this structure match what you had in mind? What should change?"
Common feedback:
- "Swap these sections" → Reorder, re-render.
- "Add a section for [X]" → Add new section with data attributes, re-render.
- "This section is too big/small relative to the rest" → Adjust proportions, re-render.
- "I want something interactive here" → Add attribute.
data-interactive
Iterate until the user approves. Then:
- If exists: "Wireframes approved. Run
stardust/brand-profile.jsonto upgrade them to branded prototypes."/stardust:prototype - If not: "Wireframes approved. Run to capture your brand, then
/stardust:brandto layer it onto these wireframes."/stardust:prototype
Pipeline automation: When invoked as part of a full pipeline run, auto-approve and continue.
软审批环节——用户仅需审批结构,无需审批视觉效果。
展示线框图并询问:"此结构是否符合你的预期?需要做哪些调整?"
常见反馈及处理:
- "交换这些章节的位置"→重新排序并重新渲染。
- "添加[X]章节"→添加带数据属性的新章节并重新渲染。
- "此章节相对于其他章节过大/过小"→调整比例并重新渲染。
- "我希望此处具备交互性"→添加属性。
data-interactive
迭代至用户审批通过。然后:
- 若存在:"线框图已审批通过。运行
stardust/brand-profile.json将其升级为品牌化原型。"/stardust:prototype - 若不存在:"线框图已审批通过。运行设置你的品牌信息,然后运行
/stardust:brand将品牌元素应用到这些线框图上。"/stardust:prototype
流水线自动化: 若作为完整流水线运行的一部分被调用,自动审批并继续流程。
Why Wireframes Before Design
为何先做线框图再做设计
Wireframes let you make structural decisions (what goes where, in what order, at what relative size) without being distracted by visual ones (what colors, fonts, and proportions). Separating the two means each decision gets full attention.
Users who already know the structure can skip this stage entirely and go briefings → design.
线框图让你专注于结构决策(内容放置位置、顺序、相对尺寸),而不会被视觉决策(配色、字体、比例)干扰。将两者分离意味着每个决策都能得到充分关注。
对结构已有清晰规划的用户可完全跳过此阶段,直接从简报进入设计环节。
Artifacts Written
产出文件
| File | Description |
|---|---|
| Grey structural wireframes — self-contained HTML |
| 文件 | 描述 |
|---|---|
| 灰色结构型线框图——独立HTML文件 |