协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
sampling-and-generation【开发与工程】Validate pix2code trained artifacts and generate DSL from screenshots using greedy or beam search workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to turn one screenshot or a directory of screenshots into pix2code DSL output, or when they need to check that a trained artifact directory is complete before sampling.
python sub-skills/sampling-and-generation/scripts/check_pix2code_artifacts.py --artifacts bin
Sample a single screenshot when the artifacts are complete by adapting the legacy argument order described in inference-workflows.md.
Sample a directory of screenshots when you want a batch of .gui outputs by using the same artifact-directory and search-mode conventions.
If the task is only to diagnose missing files or stale artifacts, use the bundled checker and stop there.
This sub-skill owns artifact validation and screenshot-to-DSL generation guidance. It does not own dataset preparation; route that to ../data-and-training/SKILL.md. It does not own DSL compilation; route that to ../dsl-compilation/SKILL.md.
pix2code.json, pix2code.h5, meta_dataset.npy, and words.vocab.meta_dataset.npy holds the input shape and output size expected by the sampler..gui file with the original tokens stripped of <START> and <END>.