技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
sketch-code【数据与研究】Operate SketchCode legacy wireframe-to-HTML workflows: conversion, training data preparation, BLEU evaluation, assets, and TensorFlow/Keras troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when the user is working with SketchCode, the legacy proof-of-concept that converts hand-drawn web wireframe PNGs into GUI DSL and compiled HTML using a CNN encoder plus recurrent decoder. It is most useful for task prompts about SketchCode conversion commands, pretrained model assets, paired .png/.gui training data, model training/fine-tuning, and BLEU evaluation.
classes package is importable. The bundled wrappers accept --sketchcode-root so they do not depend on this skill's source-generation checkout..gui/.html, checking model JSON/weights prerequisites, selecting default/facebook/airbnb style, or debugging GUI DSL compilation..png/.gui training folders, understanding vocabulary.vocab, image preprocessing, destructive train/validation split behavior, model architecture, or guarded training/fine-tuning commands..gui files, button-color normalization, prediction trimming, folder pairing behavior, and NLTK/BLEU caveats.2.1.2, TensorFlow 1.4.0, OpenCV 3.3.0.10, NumPy 1.13.1, and related packages.model_json.json plus weights.h5 are required for actual conversion.training_set and validation_set folders under the parent of the raw data directory. Always dry-run or validate before training.python scripts/sketch_code_assets.py --root "$SKETCHCODE_ROOT"
python scripts/check_sketch_code_environment.py --sketchcode-root "$SKETCHCODE_ROOT"
python sub-skills/training-data/scripts/validate_training_dataset.py "$DATASET_DIR"
python sub-skills/conversion-inference/scripts/compile_tiny_dsl.py --style default
python sub-skills/evaluation/scripts/evaluate_tiny_gui_bleu.py
These helpers are safe by default. They do not download assets, start training, or run model inference unless the user supplies the required runtime paths and explicit command options documented in the sub-skills.