dtcg-tokens

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

dtcg-tokens

dtcg-tokens

Turn any inspectable multimodal input into source-specific DTCG 2025.10 JSON, evidence JSON, a standalone HTML proof artifact, and a run record. Start with the full possibility surface, then narrow it with located source evidence and reasons. Strong native vision owns source interpretation, design decisions, artifact authorship, and final visual judgment. Never invent a source, audience, product fact, brand premise, comparison corpus, or proof claim.
将任何可检查的多模态输入转换为源特定的DTCG 2025.10 JSON、证据JSON、独立HTML证明工件以及运行记录。从完整的可能性范围入手,然后通过定位到的源证据和理由缩小范围。强大的原生视觉能力负责源解读、设计决策、工件创作以及最终视觉判断。切勿虚构源、受众、产品事实、品牌前提、对比语料库或证明声明。

Commands

命令

CommandResult
help
Show inputs, intents, outputs, vision requirements, and claim limits.
generate <inputs>
Create
<name>.tokens.json
,
<name>.evidence.json
,
<name>.proof.html
, and
<name>.run.json
.
validate <tokens>
Check DTCG 2025.10 structure, values, names, references, type agreement, and cycles.
prove <tokens> <evidence> [sources]
Author, assemble, inspect, and read back a source- and token-specific standalone proof artifact.
Load
examples/help.md
,
examples/generate.md
,
examples/validate.md
, or
examples/prove.md
only for the matching command. Load
examples/failure-global-claim.md
only for an absolute uniqueness request. Load
evals/contract.md
,
evals/rubric.md
, and
scripts/tests/test_ci_contract.py
only in Step 24.
命令结果
help
显示输入、意图、输出、视觉要求以及声明限制。
generate <inputs>
创建
<name>.tokens.json
<name>.evidence.json
<name>.proof.html
<name>.run.json
validate <tokens>
检查DTCG 2025.10的结构、值、名称、引用、类型一致性以及循环。
prove <tokens> <evidence> [sources]
创作、组装、检查并回读特定于源和令牌的独立证明工件。
仅在匹配对应命令时加载
examples/help.md
examples/generate.md
examples/validate.md
examples/prove.md
。仅在请求绝对唯一性时加载
examples/failure-global-claim.md
。仅在第24步加载
evals/contract.md
evals/rubric.md
scripts/tests/test_ci_contract.py

Package map

包映射

A directory name does not load a file. Load, inspect, copy, or run a file only when the current command, Execution row, step procedure, or Completion gate names its exact relative path.
PathContainsLoad or run when
references/
Plain-language procedures, rules, decision guides, and review methods.Read only the exact Markdown file routed by the current step or gate.
assets/
Machine-readable schemas, catalogs, contracts, policies, manifests, templates, and static fixtures.Inspect the named asset when a procedure or script consumes it; never treat the directory as instruction text.
assets/exploration-corpus/
Versioned creative primitives, operators, mechanisms, concepts, themes, constraints, questions, technology records, and negative patterns.Load through its manifest only during the exploration step or its validation.
scripts/
Deterministic command-line scaffolds, preparers, assemblers, validators, linters, and audits.Run the exact script named by the current step or gate; read its code only to repair or audit it.
scripts/lib/
Import-only helpers for DTCG rules, accounting, coverage, artifact checks, review, fonts, experiments, and pipeline state.Load only through the script that imports the named helper; never run a library file as a command.
scripts/tests/
Discovered unit and contract tests for script and package behavior.Run through
mise run test
; inspect a named test only during Step 24 or a focused repair.
evals/
Trigger, behavior, failure, recovery, lineage, mapping, contract, and rubric records.Load only the named eval file during Step 24 or a targeted evaluation.
evals/files/
Bounded token, evidence, source, and negative visual fixtures used by named evals or tests.Load only the fixture named by its eval, mapping, or test; never treat a rejected fixture as a positive precedent.
examples/
Verified worked command runs and one bounded failure example.Read only the example that matches the active command or failure.
mise.toml
The local task graph and the single full-check entry point.Run or inspect it in Step 24 and package maintenance.
.github/workflows/
Remote checks that call the same local task entry point.Inspect only when auditing remote validation or repository integration.
目录名称不会加载文件。仅当当前命令、执行行、步骤流程或完成门限指定其确切相对路径时,才加载、检查、复制或运行文件。
路径包含内容加载或运行时机
references/
通俗易懂的流程、规则、决策指南和评审方法。仅读取当前步骤或门限指向的具体Markdown文件。
assets/
机器可读的模式、目录、契约、策略、清单、模板和静态固定数据。当流程或脚本需要使用指定资源时检查该资源;切勿将目录视为指令文本。
assets/exploration-corpus/
带版本的创意原语、操作符、机制、概念、主题、约束、问题、技术记录和负面模式。仅在探索步骤或其验证阶段通过其清单加载。
scripts/
确定性命令行脚手架、准备工具、组装工具、验证器、代码检查器和审计工具。运行当前步骤或门限指定的具体脚本;仅在修复或审计时读取其代码。
scripts/lib/
用于DTCG规则、统计、覆盖检查、工件验证、评审、字体、实验和流水线状态的仅导入型辅助工具。仅通过导入该辅助工具的脚本加载;切勿将库文件作为命令运行。
scripts/tests/
针对脚本和包行为的已发现单元测试与契约测试。通过
mise run test
运行;仅在第24步或针对性修复时检查指定测试。
evals/
触发记录、行为记录、失败记录、恢复记录、lineage记录、映射记录、契约记录和评分标准记录。仅在第24步或针对性评估时加载指定的评估文件。
evals/files/
由指定评估或测试使用的受限令牌、证据、源和负面视觉固定数据。仅加载其评估、映射或测试指定的固定数据;切勿将被拒绝的固定数据视为正面先例。
examples/
已验证的命令运行示例和一个受限失败示例。仅读取与当前活跃命令或失败场景匹配的示例。
mise.toml
本地任务图和唯一的全检查入口点。在第24步和包维护阶段运行或检查。
.github/workflows/
调用相同本地任务入口点的远程检查。仅在审计远程验证或仓库集成时检查。

Operating contract

操作契约

Fix the process, not the design. Keep step order, named handoffs, evidence, states, gates, and claim limits deterministic. Keep source types, intents, extensions, token content, visual language, specimens, interactions, qualitative lenses, and experiments open. Use
references/extension-protocol.md
whenever a catalog omits a supported input or idea. For typography, follow
references/google-font-selection.md
and run
scripts/prepare_google_fonts.py
; each selected family must rank outside the most popular 50% of the same-date live Google Fonts catalog and pass source-specific vision review.
Push every mechanical action into
scripts/
when it can be defined by inputs, outputs, schemas, hashes, state transitions, comparisons, counts, or exit codes. Scripts scaffold judgment; they never make the judgment. Use
scripts/run_pipeline.py
to initialize the run, hash inputs, prepare each step packet, enforce prerequisites, record outputs, and set
PASS
or
BLOCKED
. A strong vision-capable model must own every visual or qualitative decision. If the active executor lacks strong vision, delegate every judgment and do not generate tokens or proof until that route passes
references/vision-execution.md
.
修复流程,而非设计。保持步骤顺序、指定的交接、证据、状态、门限和声明限制的确定性。保持源类型、意图、扩展、令牌内容、视觉语言、样本、交互、定性视角和实验的开放性。当目录中缺少支持的输入或想法时,使用
references/extension-protocol.md
。排版方面,遵循
references/google-font-selection.md
并运行
scripts/prepare_google_fonts.py
;每个选定的字体家族必须在同期实时Google Fonts目录的流行度排名中处于后50%,并通过源特定的视觉评审。
当机械操作可由输入、输出、模式、哈希、状态转换、比较、计数或退出码定义时,将其全部移入
scripts/
。脚本为判断提供框架;但绝不做出判断。使用
scripts/run_pipeline.py
初始化运行、哈希输入、准备每个步骤数据包、强制执行先决条件、记录输出并设置
PASS
BLOCKED
。具备强大视觉能力的模型必须负责所有视觉或定性决策。如果当前执行器缺乏强大视觉能力,则委托所有判断,直到该流程通过
references/vision-execution.md
后再生成令牌或证明。

Execution

执行流程

generate
and
prove
run all 25 steps in order.
help
returns the command contract without creating artifacts.
validate
runs only the bounded conformance check and cannot claim token or proof quality. Before every pipeline step, run
scripts/run_pipeline.py packet
and
scripts/run_pipeline.py start
; after saving every named output, run its
pass
or
block
command. Use
assets/execution-io-map.json
for exact inputs, outputs, support files, and decision owner; use
assets/execution-step-contract.json
for fields, states, and errors; use
references/deterministic-execution.md
for reruns. Every linked procedure defines
Input
,
Action
,
Save
,
Pass
,
Blocked
, and
Feeds
on separate lines. No deliverable alone completes the skill, and no command may skip a retained gate.
#StepUseProduces
01Freeze the run
scripts/run_pipeline.py
and
references/execution-intake.md
run.contract
02Inventory input and intent
scripts/run_pipeline.py
and
references/execution-intake.md
source.inventory
03Prove vision execution
scripts/run_pipeline.py
and
references/execution-intake.md
vision.execution
04Observe visuals
scripts/run_pipeline.py
and
references/execution-intake.md
observation.register
05Classify statements
scripts/run_pipeline.py
and
references/execution-intake.md
statement.register
06Falsify the thesis
scripts/run_pipeline.py
and
references/execution-intake.md
identity.thesis
07Expand the token universe
scripts/run_pipeline.py
and
references/execution-intake.md
token.universe
08Generate experiments
scripts/run_pipeline.py
and
references/execution-intake.md
exploration.ledger
09Map contexts
scripts/run_pipeline.py
and
references/execution-build.md
context.matrix
10Create signatures
scripts/run_pipeline.py
and
references/execution-build.md
signature.decisions
11Author tokens
scripts/run_pipeline.py
and
references/execution-build.md
artifact.tokens
12Validate tokens
scripts/run_pipeline.py
and
references/execution-build.md
validation.dtcg
13Build evidence
scripts/run_pipeline.py
and
references/execution-build.md
artifact.evidence
14Author proof
scripts/run_pipeline.py
and
references/execution-build.md
proof.candidate
15Reject reused shells
scripts/run_pipeline.py
and
references/execution-build.md
proof.originality-review
16Expose coverage
scripts/run_pipeline.py
and
references/execution-build.md
proof.coverage-map
17Assemble proof
scripts/run_pipeline.py
and
references/execution-build.md
artifact.proof
18Inspect final HTML
scripts/run_pipeline.py
and
references/execution-review.md
review.visual
19Resolve defects
scripts/run_pipeline.py
and
references/execution-review.md
review.defects
20Resolve invariants
scripts/run_pipeline.py
and
references/execution-review.md
review.invariants
21Judge four tracks
scripts/run_pipeline.py
and
references/execution-review.md
review.judgment
22Repair causes
scripts/run_pipeline.py
and
references/execution-review.md
repair.result
23Read back final bytes
scripts/run_pipeline.py
and
references/execution-review.md
final.readback
24Validate the package
scripts/run_pipeline.py
and
references/execution-review.md
package.validation
25Return proved results
scripts/run_pipeline.py
and
references/execution-review.md
completion.disposition
generate
prove
按顺序运行全部25个步骤。
help
返回命令契约但不创建工件。
validate
仅运行受限一致性检查,无法声明令牌或证明的质量。在每个流水线步骤之前,运行
scripts/run_pipeline.py packet
scripts/run_pipeline.py start
;保存每个指定输出后,运行其
pass
block
命令。使用
assets/execution-io-map.json
获取确切的输入、输出、支持文件和决策所有者;使用
assets/execution-step-contract.json
获取字段、状态和错误信息;使用
references/deterministic-execution.md
处理重新运行。每个关联流程都在单独行中定义
Input
Action
Save
Pass
Blocked
Feeds
。没有任何单一交付物能完成该技能,任何命令都不得跳过保留的门限。
序号步骤使用工具产出物
01冻结运行
scripts/run_pipeline.py
references/execution-intake.md
run.contract
02盘点输入与意图
scripts/run_pipeline.py
references/execution-intake.md
source.inventory
03证明视觉执行能力
scripts/run_pipeline.py
references/execution-intake.md
vision.execution
04观察视觉内容
scripts/run_pipeline.py
references/execution-intake.md
observation.register
05分类陈述
scripts/run_pipeline.py
references/execution-intake.md
statement.register
06证伪论点
scripts/run_pipeline.py
references/execution-intake.md
identity.thesis
07扩展令牌范围
scripts/run_pipeline.py
references/execution-intake.md
token.universe
08生成实验
scripts/run_pipeline.py
references/execution-intake.md
exploration.ledger
09映射上下文
scripts/run_pipeline.py
references/execution-build.md
context.matrix
10创建签名
scripts/run_pipeline.py
references/execution-build.md
signature.decisions
11创作令牌
scripts/run_pipeline.py
references/execution-build.md
artifact.tokens
12验证令牌
scripts/run_pipeline.py
references/execution-build.md
validation.dtcg
13构建证据
scripts/run_pipeline.py
references/execution-build.md
artifact.evidence
14创作证明
scripts/run_pipeline.py
references/execution-build.md
proof.candidate
15拒绝复用框架
scripts/run_pipeline.py
references/execution-build.md
proof.originality-review
16展示覆盖范围
scripts/run_pipeline.py
references/execution-build.md
proof.coverage-map
17组装证明
scripts/run_pipeline.py
references/execution-build.md
artifact.proof
18检查最终HTML
scripts/run_pipeline.py
references/execution-review.md
review.visual
19解决缺陷
scripts/run_pipeline.py
references/execution-review.md
review.defects
20解决不变量
scripts/run_pipeline.py
references/execution-review.md
review.invariants
21评审四个维度
scripts/run_pipeline.py
references/execution-review.md
review.judgment
22修复根源
scripts/run_pipeline.py
references/execution-review.md
repair.result
23回读最终字节
scripts/run_pipeline.py
references/execution-review.md
final.readback
24验证包
scripts/run_pipeline.py
references/execution-review.md
package.validation
25返回已验证结果
scripts/run_pipeline.py
references/execution-review.md
completion.disposition

Boundaries

边界限制

  • Token count is not quality evidence. Unsupported tokens count against the result.
  • Keep conformance, source specificity, taste, originality, corpus uniqueness, non-AI-slop, invariants, and artifact integrity as separate claims.
  • Token JSON cannot prove rendered quality. Machine checks cannot certify pixels. Vision cannot override measured failures.
  • Experimental tokens may remain without a passing use claim. The proof must expose failures and limits as clearly as passes.
  • Use
    references/qualitative-judgment.md
    for taste, originality, corpus uniqueness, and non-AI-slop judgment; keep its interpretation flexible and its evidence requirements fixed.
  • Global uniqueness is outside this skill's valid claim scope and remains unproved.
  • 令牌数量并非质量证据。不支持的令牌会对结果产生负面影响。
  • 将一致性、源特异性、品味、原创性、语料库唯一性、非AI垃圾内容、不变量和工件完整性作为独立声明。
  • 令牌JSON无法证明渲染质量。机器检查无法认证像素效果。视觉判断无法覆盖已测量的失败。
  • 实验性令牌可无需通过使用声明保留。证明必须清晰展示失败和限制,如同展示成功一样。
  • 使用
    references/qualitative-judgment.md
    进行品味、原创性、语料库唯一性和非AI垃圾内容的判断;保持其解释灵活性,同时固定其证据要求。
  • 全局唯一性不在本技能的有效声明范围内,且无法被证明。

Completion

完成条件

GateDone only whenCheck with
PipelineAll 25 current step records are
PASS
; every named input, output, support file, predecessor, and hash resolves.
scripts/run_pipeline.py
Deliverables
<name>.tokens.json
,
<name>.evidence.json
,
<name>.proof.html
, and
<name>.run.json
exist, parse or render, and agree on run identity and hashes.
references/evidence-schema.md
Conformance
tokens.json
passes DTCG 2025.10 on current bytes with exit 0 and no unresolved value, type, name, alias, pointer, reference, or cycle error.
scripts/validate_dtcg.py
AccountingEvery source, intent, catalog leaf, screen possibility, context cell, extension, exclusion, and retained token path appears exactly once.
scripts/lib/accounting.py
ExplorationAt least three retained experimental tokens use at least three distinct strategies, include inversion or antithesis, and agree across tokens, evidence, specimens, and final review.
scripts/validate_exploration.py
SpecificityAt least five source-derived signature decisions across at least three applicable axes trace from located source evidence to token paths and rendered regions.
assets/originality-analysis-contract.json
TypographySame-date live Google Fonts research yields at least three eligible candidates, each selection ranks outside the most popular 50%, embedded WOFF2 and license hashes match, offline rendering works, and vision review passes.
scripts/prepare_google_fonts.py
Proof coverageEvery applicable token type, context permutation, and experimental token has a meaning-specific visible specimen; raw JSON alone does not pass.
scripts/lib/artifact_contract.py
Visual readbackThe final assembled
proof.html
is inspected with strong vision across wide, narrow, whole-frame, detail, state, mode, motion, input, and data conditions.
assets/vision-probe-manifest.json
Defects and invariantsEvery defect and invariant has one disposition, with zero unresolved vetoes, zero unresolved major defects, and no failed claimed invariant.
scripts/lib/review.py
Judgment and claimsTaste, originality, corpus uniqueness, and non-AI-slop are judged separately with located evidence, counterevidence, uncertainty, competing readings, and limits;
globally_unique
remains false.
assets/judgment-review-catalog.json
Package healthEvery persistent file has a named activation or consumer route, every required check uses current bytes, and fresh
mise run ci
returns exit 0.
scripts/audit_file_triggers.py
If any gate fails or lacks evidence, use
scripts/run_pipeline.py block
under
references/deterministic-execution.md
; return
BLOCKED
, name each failed gate and exact recovery need, and withhold non-slop, originality, corpus uniqueness, and completion claims.
门限仅在满足以下条件时完成检查工具
流水线所有25个当前步骤记录均为
PASS
;每个指定的输入、输出、支持文件、前置依赖和哈希均可解析。
scripts/run_pipeline.py
交付物
<name>.tokens.json
<name>.evidence.json
<name>.proof.html
<name>.run.json
已存在、可解析或渲染,且在运行标识和哈希上保持一致。
references/evidence-schema.md
一致性
tokens.json
通过DTCG 2025.10当前字节检查,退出码为0,无未解决的值、类型、名称、别名、指针、引用或循环错误。
scripts/validate_dtcg.py
统计每个源、意图、目录节点、屏幕可能性、上下文单元、扩展、排除和保留的令牌路径均恰好出现一次。
scripts/lib/accounting.py
探索至少三个保留的实验性令牌使用至少三种不同策略,包含反转或对立论点,且在令牌、证据、样本和最终评审中保持一致。
scripts/validate_exploration.py
特异性至少五个源自源的签名决策(覆盖至少三个适用维度)可从定位到的源证据追溯到令牌路径和渲染区域。
assets/originality-analysis-contract.json
排版同期实时Google Fonts研究产生至少三个合格候选字体,每个选定字体的流行度排名处于后50%,嵌入的WOFF2和许可证哈希匹配,离线渲染可用,且通过视觉评审。
scripts/prepare_google_fonts.py
证明覆盖范围每个适用的令牌类型、上下文排列和实验性令牌都有一个特定含义的可见样本;仅原始JSON无法通过。
scripts/lib/artifact_contract.py
视觉回读最终组装的
proof.html
已通过强大视觉能力在宽屏、窄屏、全帧、细节、状态、模式、动态、输入和数据条件下进行检查。
assets/vision-probe-manifest.json
缺陷与不变量每个缺陷和不变量都有一个处理结果,无未解决的否决项、无未解决的重大缺陷,且无已声明的不变量失败。
scripts/lib/review.py
判断与声明品味、原创性、语料库唯一性和非AI垃圾内容已通过定位到的证据、反证、不确定性、竞争性解读和限制分别进行判断;
globally_unique
保持为false。
assets/judgment-review-catalog.json
包健康每个持久文件都有指定的激活或消费路径,每个必要检查都使用当前字节,且新运行的
mise run ci
返回退出码0。
scripts/audit_file_triggers.py
如果任何门限失败或缺少证据,请根据
references/deterministic-execution.md
运行
scripts/run_pipeline.py block
;返回
BLOCKED
,命名每个失败的门限和确切的修复需求,并保留非垃圾内容、原创性、语料库唯一性和完成声明。