ns-proto-creator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProto Creator
原型创建器
Delivery face: Playwright reverse prototyping. Capture → AS-IS docs → create/evolve one → quality → living appearance → optional visual guides.
prototype/Orchestrate. Load worker at delegation. No inline full design checklists or Element|How tables.
SKILL.md交付模块: Playwright反向原型构建。捕获 → 原样文档 → 创建/演进单个 → 质量检查 → 动态外观维护 → 可选视觉指南。
prototype/编排方式: 委托时加载工作流。请勿内嵌完整设计检查表或元素|操作表格。
SKILL.mdLayout (locked)
布局(固定)
prototype/ # THE prototype — create once, evolve forever
docs/ # AS-IS briefs, screenshots, appearance guides
docs/specs/ # Living domain specs (when consolidating)- Missing → create.
prototype/ - Existing → evolve in place.
prototype/ - Never scaffold or ask version-folder name. Versioning = git. Optional: remind commit after meaningful evolve.
vN/prototype/
prototype/ # 唯一原型目录——创建一次,持续演进
docs/ # 原样说明文档、截图、外观指南
docs/specs/ # 动态领域规格文档(整合时使用)- 若缺少→ 创建。
prototype/ - 若已存在→ 原地演进。
prototype/ - 绝不要生成目录或询问版本文件夹名称。版本管理 = git。可选操作:在有意义的演进后提醒提交。
vN/prototype/
Harness
工具集
See and .
../../ns-harness/references/session-boot.md../../ns-harness/references/artifact-layout.md查看和。
../../ns-harness/references/session-boot.md../../ns-harness/references/artifact-layout.mdNear-miss routing
近似需求路由
| User wants | Redirect |
|---|---|
Only | |
| Full SDD version / requirements / tasks | |
| Bare bugfix, no prototype scope | |
| Brownfield architecture map only | Tell user run |
| 用户需求 | 重定向目标 |
|---|---|
仅需 | |
| 完整软件设计文档版本 / 需求 / 任务 | |
| 单纯bug修复,无原型范围 | |
| 仅需遗留系统架构图 | 告知用户运行 |
Boot (mandatory, once per session)
启动流程(必填,每会话一次)
Short natural-language questions. No giant questionnaire.
- Base URL — login / which Playwright MCP profile if multiple.
- Scope — screens, roles, add/change.
- Prototype mode — detect :
prototype/- absent → create
- present → evolve in place
No version-id / folder question.
v1简短自然语言提问。禁止冗长问卷。
- 基础URL —— 登录信息 / 若有多个Playwright MCP配置文件,请指定使用哪一个。
- 范围 —— 界面、角色、新增/修改内容。
- 原型模式 —— 检测目录:
prototype/- 不存在 → 创建
- 已存在 → 原地演进
禁止询问版本ID / 文件夹相关问题。
v1Journey
流程链路
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| Phase | Reference / worker | Behavior |
|---|---|---|
| Capture | | Discover Playwright MCP; navigate; screenshots; note structure, fonts, icons, density |
| AS-IS | | Write/update |
| Build / Evolve | | Only under |
| Quality | | Hygiene + Web Interface Guidelines review on prototype surfaces |
| Living | | Create |
| Handoff | | Offer / run for implementation appearance MDs |
mermaid
flowchart TB
boot[启动提问]
capture[Playwright捕获]
asis[原样文档]
build[构建或演进原型]
quality[最佳实践 + 指南检查]
living[动态外观维护]
handoff[提供视觉指南]
boot --> capture --> asis --> build --> quality --> living --> handoff| 阶段 | 参考文档 / 工作流 | 行为说明 |
|---|---|---|
| 捕获 | | 发现Playwright MCP;导航;截图;记录结构、字体、图标、密度 |
| 原样文档 | | 根据捕获证据撰写/更新 |
| 构建/演进 | | 仅在 |
| 质量检查 | | 对原型界面进行卫生检查 + Web界面指南评审 |
| 动态外观维护 | | 若缺少则创建 |
| 交付 | | 提供/运行实现外观文档 |
Hard rules
硬性规则
- One prototype tree; evolve in place; never parallel copies
vN/ - Fidelity from live Playwright evidence; no invented screens
- Stack-free modern UI under — load
prototype/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实时捕获证据;不虚构界面
- 目录下采用无技术栈依赖的现代UI——加载
prototype/ns-frontend-design - 本技能生成的工件使用英文;项目文档语言遵循仓库设置
- 版本管理 = git;可选操作:在有意义的演进后提醒提交
- 不硬编码产品特定登录信息——遵循项目规则 / 使用用户提供的凭证路径
Related skills
相关技能
- — normative appearance MDs
ns-proto-visual-guide /ns-harness— business reverse from code (complement URL capture)codebase-reverse-spec.md- /
ns-frontend-design— design + quality workersns-best-practices
- —— 规范性外观文档
ns-proto-visual-guide /ns-harness—— 从代码反向提取业务规则(补充URL捕获)codebase-reverse-spec.md- /
ns-frontend-design—— 设计 + 质量检查工作流ns-best-practices