ns-proto-creator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Proto Creator

原型创建器

Delivery face: Playwright reverse prototyping. Capture → AS-IS docs → create/evolve one
prototype/
→ quality → living appearance → optional visual guides.
Orchestrate. Load worker
SKILL.md
at delegation. No inline full design checklists or Element|How tables.
交付模块: Playwright反向原型构建。捕获 → 原样文档 → 创建/演进单个
prototype/
→ 质量检查 → 动态外观维护 → 可选视觉指南。
编排方式: 委托时加载工作流
SKILL.md
。请勿内嵌完整设计检查表或元素|操作表格。

Layout (locked)

布局(固定)

prototype/              # THE prototype — create once, evolve forever
docs/                   # AS-IS briefs, screenshots, appearance guides
docs/specs/             # Living domain specs (when consolidating)
  • Missing
    prototype/
    create.
  • Existing
    prototype/
    evolve in place.
  • Never scaffold
    vN/prototype/
    or ask version-folder name. Versioning = git. Optional: remind commit after meaningful evolve.
prototype/              # 唯一原型目录——创建一次,持续演进
docs/                   # 原样说明文档、截图、外观指南
docs/specs/             # 动态领域规格文档(整合时使用)
  • 若缺少
    prototype/
    创建
  • 若已存在
    prototype/
    原地演进
  • 绝不要生成
    vN/prototype/
    目录或询问版本文件夹名称。版本管理 = git。可选操作:在有意义的演进后提醒提交。

Harness

工具集

See
../../ns-harness/references/session-boot.md
and
../../ns-harness/references/artifact-layout.md
.
查看
../../ns-harness/references/session-boot.md
../../ns-harness/references/artifact-layout.md

Near-miss routing

近似需求路由

User wantsRedirect
Only
*-visual.md
/ descrição normativa / guia de aparência
ns-proto-visual-guide
Full SDD version / requirements / tasks
ns-spec-driven
Bare bugfix, no prototype scope
ns-coder
Brownfield architecture map onlyTell user run
/ns-harness prepare
用户需求重定向目标
仅需
*-visual.md
/ 规范性描述 / 外观指南
ns-proto-visual-guide
完整软件设计文档版本 / 需求 / 任务
ns-spec-driven
单纯bug修复,无原型范围
ns-coder
仅需遗留系统架构图告知用户运行
/ns-harness prepare

Boot (mandatory, once per session)

启动流程(必填,每会话一次)

Short natural-language questions. No giant questionnaire.
  1. Base URL — login / which Playwright MCP profile if multiple.
  2. Scope — screens, roles, add/change.
  3. Prototype mode — detect
    prototype/
    :
    • absent → create
    • present → evolve in place
No version-id /
v1
folder question.
简短自然语言提问。禁止冗长问卷。
  1. 基础URL —— 登录信息 / 若有多个Playwright MCP配置文件,请指定使用哪一个。
  2. 范围 —— 界面、角色、新增/修改内容。
  3. 原型模式 —— 检测
    prototype/
    目录:
    • 不存在 → 创建
    • 已存在 → 原地演进
禁止询问版本ID /
v1
文件夹相关问题。

Journey

流程链路

mermaid
flowchart TB
  boot[Boot questions]
  capture[Capture Playwright]
  asis[AS-IS docs]
  build[Build or evolve prototype]
  quality[Best practices + guidelines]
  living[Living appearance]
  handoff[Offer visual guide]

  boot --> capture --> asis --> build --> quality --> living --> handoff
PhaseReference / workerBehavior
Capture
references/capture-playwright.md
Discover Playwright MCP; navigate; screenshots; note structure, fonts, icons, density
AS-IS
references/as-is-docs.md
Write/update
docs/
briefs from evidence
Build / Evolve
references/build-prototype.md
+
ns-frontend-design
Only under
prototype/
; mirror flows/fields/states; modern stack — no legacy clone
Quality
ns-best-practices
Hygiene + Web Interface Guidelines review on prototype surfaces
Living
ns-living-spec
appearance
Create
docs/specs/
+ INDEX if missing; SHALL for visible product behavior only
Handoff
ns-proto-visual-guide
Offer / run for implementation appearance MDs
mermaid
flowchart TB
  boot[启动提问]
  capture[Playwright捕获]
  asis[原样文档]
  build[构建或演进原型]
  quality[最佳实践 + 指南检查]
  living[动态外观维护]
  handoff[提供视觉指南]

  boot --> capture --> asis --> build --> quality --> living --> handoff
阶段参考文档 / 工作流行为说明
捕获
references/capture-playwright.md
发现Playwright MCP;导航;截图;记录结构、字体、图标、密度
原样文档
references/as-is-docs.md
根据捕获证据撰写/更新
docs/
下的说明文档
构建/演进
references/build-prototype.md
+
ns-frontend-design
仅在
prototype/
目录下操作;镜像流程/字段/状态;采用现代技术栈——不克隆遗留代码
质量检查
ns-best-practices
对原型界面进行卫生检查 + Web界面指南评审
动态外观维护
ns-living-spec
外观模块
若缺少则创建
docs/specs/
及索引;仅针对可见产品行为执行
交付
ns-proto-visual-guide
提供/运行实现外观文档

Hard rules

硬性规则

  • One prototype tree; evolve in place; never parallel
    vN/
    copies
  • Fidelity from live Playwright evidence; no invented screens
  • Stack-free modern UI under
    prototype/
    — load
    ns-frontend-design
  • English for this skill's artifacts; project docs language follows repo
  • Versioning = git; optional commit remind after meaningful evolve
  • No hardcoded product-specific login — project rules / user credentials path
  • 仅维护一个原型目录树;原地演进;绝不创建并行的
    vN/
    副本
  • 保真度基于Playwright实时捕获证据;不虚构界面
  • prototype/
    目录下采用无技术栈依赖的现代UI——加载
    ns-frontend-design
  • 本技能生成的工件使用英文;项目文档语言遵循仓库设置
  • 版本管理 = git;可选操作:在有意义的演进后提醒提交
  • 不硬编码产品特定登录信息——遵循项目规则 / 使用用户提供的凭证路径

Related skills

相关技能

  • ns-proto-visual-guide
    — normative appearance MDs
  • /ns-harness
    codebase-reverse-spec.md
    — business reverse from code (complement URL capture)
  • ns-frontend-design
    /
    ns-best-practices
    — design + quality workers
  • ns-proto-visual-guide
    —— 规范性外观文档
  • /ns-harness
    codebase-reverse-spec.md
    —— 从代码反向提取业务规则(补充URL捕获)
  • ns-frontend-design
    /
    ns-best-practices
    —— 设计 + 质量检查工作流