tk-prototype
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseComparison Prototype
对比原型
Apply to explicit or executable comparison/ requests.
Do not auto-apply to or conversational exploration.
invocationdisposableharnessproduction implementationAccept a , idea, screenshot, , , code, or design reference as input.
Write under unless a temporary / is more
useful. Create parent directories only when needed, replace atomically when possible, and
do not automatically archive or edit . Warn if the path is tracked.
실행 전 temporary path, data boundary, verification question 또는 variant 선택이 필요하면 host별 native structured question surface를 우선 사용합니다 (Claude Code: AskUserQuestion; Codex: request_user_input; Hermes: clarify). unavailable하면 같은 확인을 plain chat으로 fallback하고 실행 후 비교 보고에는 question surface를 호출하지 않습니다.
promptspecticket.tigerkit/prototypes/<slug>/routeharness.gitignorescratch适用于明确的或可执行的对比/请求。
请勿自动应用于或对话式探索场景。
invocationdisposableharnessproduction implementation接受、创意想法、截图、、、代码或设计参考作为输入。
除非临时/更实用,否则请写入目录下。仅在需要时创建父目录,尽可能以原子方式替换文件,且不要自动归档或编辑。若路径被追踪,请发出警告。
promptspecticketrouteharness.tigerkit/prototypes/<slug>/.gitignorescratch执行前若需要选择临时路径、数据边界、验证问题或变体,请优先使用各宿主原生的结构化提问界面(Claude Code:AskUserQuestion;Codex:request_user_input;Hermes:clarify)。若无法使用,则通过普通聊天进行同样的确认,执行后的对比报告中不再调用提问界面。
Workflow
工作流程
- : Derive measurable criteria from the idea, reference, and verification question.
hypothesis/success criteria - : Inspect repository preflight and select the existing toolchain/UI stack/component/token, temporary path, artifact ownership, and
temporary path/boundaryintegration boundary.fake | real - : Create 2–3
variants/harnesss or avariantusing realistic example I/O.harness - : Execute the selected
run/variantand capture actual output or screenshots and command results.harness
Record each run under with the following receipt fields. Do not summarize the
command; record the exact executed values.
## Testedtext
Command: <exact command and arguments>
CWD: <absolute worktree or route path>
Exit code: <integer>
Output: <bounded summary or absolute output path>
Artifact: <absolute path | none>; ownership: run-owned | pre-existing
Screenshot: <absolute path | N/A>; actual inspection: yes | no | N/A- : Map evidence to criteria and summarize verified differences, unverified items, and the next decision. If the parent contract records
compare, retain the run-owned absolutePR evidence: requiredand actual image inspection underScreenshot: <path>, and expose a bounded handoff containing## Tested, the criterion, evidence directory, and producerevidence_required: true. This proves the comparison, not an official runtime verdict.tk-prototype - : Render the applicable sections under the output contract below; do not add a separate provenance/status block.
terminal summary
For unresolved UI comparisons, create 2–3 switchable, genuinely different rendered
alternatives. Do not change only colors; vary information architecture, flow, hierarchy,
navigation, or feedback. For logic, prefer a small pure harness using example input/output
and a minimal adapter.
For a web prototype, inspect the repository's run command, installed UI stack, components,
and design tokens. Reuse a safe isolated route/harness without adding dependencies or
changing manifest/lockfiles. If none exists, use a small
, , and .
.tigerkit/prototypes/<slug>/index.htmlstyles.cssapp.jsCompare 2–3 decision-relevant concepts while keeping content, data, and interaction state
identical. Default to 2–3 side-by-side columns on wide screens and stacked on narrow
screens. Use an explicit A/B or A/B/C toggle only when simultaneous rendering would harm
the concept or minimum legibility. Stop at A/B when a third option adds no independent
value. Do not create a prototype when repository evidence already resolves the decision.
Verify web output through , including actual interaction,
the /, and screenshots. If a development server is
required, the exact //target URL// condition;
owns server start, wait, and shutdown. Check both wide and narrow only
when the concerns responsiveness/layout. Clean up only run-owned tracked
files; preserve any , , and .
tk-browser-verifyrun URLcommandsuccess-criteriahandoffcommandcwdauth modereadinesstk-browser-verifyhypothesisharnessexisting routedependencyproduction source- :从创意、参考资料和验证问题中推导可衡量的标准。
hypothesis/success criteria - :预检代码仓库,选择现有工具链/UI栈/组件/令牌、临时路径、制品归属权以及
temporary path/boundary集成边界。fake | real - :使用真实示例输入输出创建2–3个
variants/harness或一个variant。harness - :执行选中的
run/variant,捕获实际输出或截图以及命令执行结果。harness
将每次运行记录在部分下,包含以下回执字段。请勿总结命令,需记录确切的执行值。
## Testedtext
Command: <确切的命令及参数>
CWD: <绝对工作树或路由路径>
Exit code: <integer>
Output: <有限摘要或绝对输出路径>
Artifact: <绝对路径 | 无>; ownership: run-owned | pre-existing
Screenshot: <绝对路径 | N/A>; actual inspection: yes | no | N/A- :将证据映射到标准,总结已验证的差异、未验证项以及下一步决策。若父合约记录
compare,则在PR evidence: required部分保留运行生成的绝对路径## Tested和实际图像检查记录,并提供包含Screenshot: <path>、标准、证据目录和生成者evidence_required: true的有限交接内容。这仅用于证明对比过程,而非正式的运行时结论。tk-prototype - :根据下方的输出合约渲染适用部分;请勿添加单独的来源/状态块。
terminal summary
对于未解决的UI对比,创建2–3个可切换、真正不同的渲染替代方案。请勿仅更改颜色;需调整信息架构、流程、层级、导航或反馈方式。对于逻辑原型,优先使用包含示例输入输出和最小适配器的小型纯测试框架。
对于Web原型,检查仓库的运行命令、已安装的UI栈、组件和设计令牌。复用安全隔离的路由/测试框架,无需添加依赖或修改清单/锁文件。若不存在此类路由/框架,则使用小型的、和。
.tigerkit/prototypes/<slug>/index.htmlstyles.cssapp.js在保持内容、数据和交互状态完全一致的前提下,对比2–3个与决策相关的概念。默认在宽屏上显示2–3个并排列,窄屏上显示堆叠布局。仅当同时渲染会影响概念表达或最低可读性时,才使用明确的A/B或A/B/C切换器。当第三个选项无法带来独立价值时,仅保留A/B对比。若仓库已有证据可解决决策问题,则无需创建原型。
通过验证Web输出,包括实际交互、/和截图。若需要开发服务器,则交接确切的//目标URL//条件;负责服务器的启动、等待和关闭。仅当涉及响应式/布局时,才同时检查宽屏和窄屏情况。仅清理运行生成的已追踪文件;保留任何、和。
tk-browser-verifyrun URLcommandsuccess-criteriacommandcwdauth modereadinesstk-browser-verifyhypothesisharnessexisting routedependencyproduction sourceFailure Paths
失败路径
Record pre-existing temporary paths and run-created files before writing.
| Condition | First action | If it still fails |
|---|---|---|
| interrupted/partial write | Clean up only incomplete artifacts proven to be run-owned | |
| server/harness failure | Preserve the command, exit state, output, and fake/real boundary | |
| Execution succeeds but output/screenshot evidence is unavailable | Retry capture once within the same boundary | |
| ownership/state conflict with existing artifact | Preserve the existing path and record evidence | |
| cleanup failure | Re-identify only run-owned resources and report the outcome | `Fail |
| Scope expands to production/promotion/commit | Stop the prototype and separate it into another implementation request | |
在写入前记录预先存在的临时路径和运行生成的文件。
| 条件 | 首要操作 | 若仍失败 |
|---|---|---|
| 中断/部分写入 | 仅清理经确认属于运行生成的不完整制品 | |
| 服务器/测试框架失败 | 保留命令、退出状态、输出以及模拟/真实边界 | |
| 执行成功但输出/截图证据不可用 | 在同一边界内重试捕获一次 | |
| 与现有制品存在归属/状态冲突 | 保留现有路径并记录证据 | |
| 清理失败 | 重新识别仅属于运行生成的资源并报告结果 | `Fail |
| 范围扩展到生产/推广/提交 | 停止原型制作,将其拆分为另一个实现请求 | |
🔴 CHECKPOINT · 🛑 STOP · Execution Boundary
🔴 检查点 · 🛑 停止 · 执行边界
Before execution, confirm the temporary path, fake/real data, and verification question.
If environment or production-scope expansion occurs, stop at .
Blocked | UnverifiableBefore reporting, reconcile the command, actual output/screenshot, fake/real boundary, and
unverified scope. If any are missing or execution failed, the result cannot be .
Use .
PassFail | Blocked | Unverifiable执行前,确认临时路径、模拟/真实数据以及验证问题。
若出现环境或生产范围扩展的情况,标记为并停止。
Blocked | Unverifiable报告前,核对命令、实际输出/截图、模拟/真实边界以及未验证范围。若任何项缺失或执行失败,结果不能标记为。
请使用。
PassFail | Blocked | UnverifiableContract
合约
Record decision-relevant status only once in its owning section. Start with ,
followed by , , , and
, omitting empty sections. owns evidence-backed conclusions;
owns discard/iterate/next decision; owns command results;
owns alternatives/paths/run URLs and final state;
and owns fake/real and unverified scope. Place command mechanics after the
decision.
## Confirmed## Production implication## Tested## Variants or harness## Still fakeConfirmedProduction implicationTestedVariants or harnesskept | removedStill fakeUse exactly one terminal status: .
Pass | Fail | Blocked | UnverifiableWhen comparing multiple criteria or variants, render as a concise
table. Use a sentence when there is only
one user-relevant row. Record whether content/data/state remained identical. Use
for differences that were not observed and when evidence is
absent. Do not elevate unaudited aesthetic preferences into conclusions. Summarize the
result and selection rationale in 2–5 bullets or option rows. If there are 8 or more
observations, show the top 5–7 and cite the prototype or evidence path that owns the rest.
This is a budget, not a quota.
## ConfirmedCriterion | A | B [| C] | Conclusion | Evidencenot observedunverifiable仅在所属部分记录一次与决策相关的状态。以开头,随后是、、和,省略空部分。部分记录有证据支持的结论;部分记录丢弃/迭代/下一步决策;部分记录命令结果;部分记录替代方案/路径/运行URL以及最终状态;部分记录模拟/真实状态和未验证范围。将命令机制放在决策内容之后。
## Confirmed## Production implication## Tested## Variants or harness## Still fakeConfirmedProduction implicationTested## Variants or harnesskept | removedStill fake仅使用以下一种终端状态:。
Pass | Fail | Blocked | Unverifiable当对比多个标准或变体时,将部分渲染为简洁的表格。若仅有一行与用户相关的内容,则使用句子形式。记录内容/数据/状态是否保持一致。对于未观察到的差异,使用;当证据缺失时,使用。请勿将未经审核的审美偏好提升为结论。用2–5个项目符号或选项行总结结果和选择理由。若有8个或更多观察结果,显示前5–7个,并引用原型或证据路径来记录其余内容。这是预算限制,而非配额要求。
## ConfirmedCriterion | A | B [| C] | Conclusion | Evidencenot observedunverifiableProhibited Patterns
禁止模式
- Do not call a prototype production-ready, auto-promote/commit it, or invoke another user skill.
- Do not report fake integration as real or claim success without run evidence.
- Do not add color-only variants, dependencies, manifest/lockfile edits, unnecessary production abstractions, or a third option with no value.
- 请勿称原型为生产就绪,不要自动推广/提交它,也不要调用其他用户技能。
- 请勿将模拟集成报告为真实集成,或在无运行证据的情况下声称成功。
- 请勿仅添加颜色变体、依赖项、清单/锁文件编辑、不必要的生产抽象,或无价值的第三个选项。