[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCDBDN3CMPYYJMZM9XSEH0":3,"skill-same:01M7FCDBDN3CMPYYJMZM9XSEH0":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7FCDBDN3CMPYYJMZM9XSEH0","training-data",null,"Prepare, validate, and train SketchCode paired PNG\u002FGUI datasets, including vocabulary, preprocessing, model architecture, and legacy training troubleshooting.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: training-data\ndescription: \"Prepare, validate, and train SketchCode paired PNG\u002FGUI datasets,\n  including vocabulary, preprocessing, model architecture, and legacy training\n  troubleshooting.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# SketchCode training-data\n\nUse this sub-skill when the task involves preparing paired SketchCode training data, validating `.png`\u002F`.gui` layouts, understanding `vocabulary.vocab`, running or adapting legacy training, fine-tuning from model JSON\u002Fweights, inspecting image preprocessing, or explaining the CNN-plus-GRU model structure.\n\n## Route here for\n\n- Training SketchCode from scratch or from existing `model_json.json` and weights.\n- Checking a flat dataset of paired `sample_id.png` and `sample_id.gui` files before training.\n- Debugging `training_set`, `validation_set`, `.npz` feature outputs, augmentation, or validation split surprises.\n- Explaining vocabulary tokens, GUI DSL tokenization, sequence generation, and model save files.\n\n## Route elsewhere\n\n- Converting wireframe PNGs to `.gui` or HTML belongs to `conversion-inference`.\n- BLEU scoring or comparing predicted\u002Foriginal `.gui` files belongs to `evaluation`.\n- Downloading public data or pretrained model assets belongs to the root SketchCode asset workflow, not this training sub-skill.\n\n## Operating sequence\n\n1. Read [references\u002Fdata-formats.md](references\u002Fdata-formats.md) to confirm the dataset shape, vocabulary, tokenization, and preprocessing outputs.\n2. Run the bundled validator before expensive or destructive training:\n\n   ```sh\n   python sub-skills\u002Ftraining-data\u002Fscripts\u002Fvalidate_training_dataset.py DATASET_DIR\n   ```\n\n3. Use the guarded bundled training wrapper when a real run is requested; it dry-runs by default and requires explicit destructive-split acknowledgement:\n\n   ```sh\n   python sub-skills\u002Ftraining-data\u002Fscripts\u002Frun_training.py --help\n   ```\n\n4. Read [references\u002Ftraining-workflow.md](references\u002Ftraining-workflow.md) before launching training; it explains command templates, flags\u002Fdefaults, fine-tuning inputs, and the destructive split directory behavior.\n5. Read [references\u002Fmodel-overview.md](references\u002Fmodel-overview.md) when the task asks about architecture, optimizer, callbacks, saved files, sequence lengths, or memory expectations.\n6. Use [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for a concise source-level API and CLI map.\n7. If anything fails, start with [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md), especially for missing pairs, duplicate GUI layouts, legacy TensorFlow\u002FKeras\u002FOpenCV imports, and the `VOCAB_FILE` relative-path issue.\n\n## Safety defaults\n\n- Validate first; full training is long-running and mutates filesystem state.\n- Stage data in a scratch parent directory. The legacy split code deletes and recreates sibling `training_set` and `validation_set` directories under the parent of `--data_input_path`.\n- Do not fine-tune in-place inside a directory that contains important `training_set` or `validation_set` folders.\n- Use the bundled wrapper's dry-run output to inspect the split directories and model output location before passing `--run --allow-destructive-split`.\n","# SketchCode training-data\n\nUse this sub-skill when the task involves preparing paired SketchCode training data, validating `.png`\u002F`.gui` layouts, understanding `vocabulary.vocab`, running or adapting legacy training, fine-tuning from model JSON\u002Fweights, inspecting image preprocessing, or explaining the CNN-plus-GRU model structure.\n\n## Route here for\n\n- Training SketchCode from scratch or from existing `model_json.json` and weights.\n- Checking a flat dataset of paired `sample_id.png` and `sample_id.gui` files before training.\n- Debugging `training_set`, `validation_set`, `.npz` feature outputs, augmentation, or validation split surprises.\n- Explaining vocabulary tokens, GUI DSL tokenization, sequence generation, and model save files.\n\n## Route elsewhere\n\n- Converting wireframe PNGs to `.gui` or HTML belongs to `conversion-inference`.\n- BLEU scoring or comparing predicted\u002Foriginal `.gui` files belongs to `evaluation`.\n- Downloading public data or pretrained model assets belongs to the root SketchCode asset workflow, not this training sub-skill.\n\n## Operating sequence\n\n1. Read [references\u002Fdata-formats.md](references\u002Fdata-formats.md) to confirm the dataset shape, vocabulary, tokenization, and preprocessing outputs.\n2. Run the bundled validator before expensive or destructive training:\n\n   ```sh\n   python sub-skills\u002Ftraining-data\u002Fscripts\u002Fvalidate_training_dataset.py DATASET_DIR\n   ```\n\n3. Use the guarded bundled training wrapper when a real run is requested; it dry-runs by default and requires explicit destructive-split acknowledgement:\n\n   ```sh\n   python sub-skills\u002Ftraining-data\u002Fscripts\u002Frun_training.py --help\n   ```\n\n4. Read [references\u002Ftraining-workflow.md](references\u002Ftraining-workflow.md) before launching training; it explains command templates, flags\u002Fdefaults, fine-tuning inputs, and the destructive split directory behavior.\n5. Read [references\u002Fmodel-overview.md](references\u002Fmodel-overview.md) when the task asks about architecture, optimizer, callbacks, saved files, sequence lengths, or memory expectations.\n6. Use [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for a concise source-level API and CLI map.\n7. If anything fails, start with [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md), especially for missing pairs, duplicate GUI layouts, legacy TensorFlow\u002FKeras\u002FOpenCV imports, and the `VOCAB_FILE` relative-path issue.\n\n## Safety defaults\n\n- Validate first; full training is long-running and mutates filesystem state.\n- Stage data in a scratch parent directory. The legacy split code deletes and recreates sibling `training_set` and `validation_set` directories under the parent of `--data_input_path`.\n- Do not fine-tune in-place inside a directory that contains important `training_set` or `validation_set` folders.\n- Use the bundled wrapper's dry-run output to inspect the split directories and model output location before passing `--run --allow-destructive-split`.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill training-data",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill training-data",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill training-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002FSKILL.md",[48,54,58,62,66],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-reference.md","REFERENCE","参考文档",5277,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002Freferences\u002Fapi-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fdata-formats.md",3903,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002Freferences\u002Fdata-formats.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmodel-overview.md",3738,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002Freferences\u002Fmodel-overview.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Ftraining-workflow.md",6010,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002Freferences\u002Ftraining-workflow.md",{"path":67,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Ftroubleshooting.md",6730,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fsketch-code\u002Fsub-skills\u002Ftraining-data\u002Freferences\u002Ftroubleshooting.md",[71,78,83,90,97,104],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":79,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]