[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C1NF3X4CEBGG9KKN2MJZW2":3,"skill-same:01M7C1NF3X4CEBGG9KKN2MJZW2":61},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C1NF3X4CEBGG9KKN2MJZW2","d3-visualization",null,"linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# D3 Deterministic Offline Visualization\n\n## Purpose\nCreate verifiable, deterministic D3-based visualizations from local data files, producing self-contained artifacts that render offline and are saved exactly where the task\u002Fverifier will check.\n\n## When to Use\nUse when the task asks for a chart\u002Fplot\u002Fgraph or data-driven SVG\u002FHTML using D3, and the result must be reproducible (diffable) and work without external network dependencies.\n\n## Procedure\n- 1) Confirm requirements and outputs (no guessing).\n- Extract: required output file paths (HTML\u002FSVG\u002FPNG) and any required D3 major version (for example, v6).\n- If required output paths are not explicitly given, discover the expected output directory by listing the workspace and checking for conventions (for example, an existing output\u002F or dist\u002F used by other tasks). Do not invent new locations if the task likely checks a specific path.\n- 2) Preflight environment constraints (before any irreversible work).\n- Network: assume outbound network is blocked unless the task explicitly says otherwise.\n- Dependency availability check (must pass one route):\n- Route A (preferred): search the workspace for an existing D3 bundle (for example, d3*.min.js) and record its path and apparent version (from filename or header comment).\n- Route B: check for a local JS dependency install (package.json plus lockfile and node_modules) and confirm D3 is present and matches the task-required major version.\n- If neither route is available and network is not explicitly allowed: stop and request that the D3 bundle (correct major version) be provided locally, or that network access is permitted. Do not attempt curl\u002FCDN fetches.\n- 3) Load and validate input data deterministically.\n- Confirm the data file(s) exist and are readable.\n- Parse using a deterministic parser and explicitly handle types (numbers, dates).\n- Establish a stable sort order for rows and for grouped keys (sort keys explicitly) before binding to marks.\n- 4) Build the visualization with deterministic rendering rules.\n- Fix width\u002Fheight\u002Fmargins and set viewBox explicitly.\n- Avoid randomness and default transitions; do not rely on timing.\n- Use stable IDs only when needed (for example, clip paths) and derive them from fixed strings.\n- 5) Write artifacts to the required paths.\n- Generate HTML that references only local assets (local D3 path) and local data (or embed data if the task forbids runtime file loading).\n- Only create directories that are required to satisfy the task-specified output paths; otherwise reuse existing directories discovered earlier.\n- 6) Verifier-aligned final checks (mandatory).\n- Existence\u002Freadability: stat\u002Fls each required output path and fail fast if any are missing.\n- Offline dependency check: grep the generated HTML for remote URLs (http:\u002F\u002F or https:\u002F\u002F); if present, replace with local references.\n- If the page relies on runtime fetching of local data, do not claim file:\u002F\u002F compatibility unless you have verified the serving method required by the task; otherwise, provide a minimal local-http serving instruction only if explicitly allowed\u002Fneeded.\n\n## Constraints \u002F Pitfalls\n- Never download D3 (or any dependency) from the network unless the task explicitly permits outbound network; do not add \"fallback\" behaviors that assume browser\u002Ffile:\u002F\u002F quirks without verifying them.\n- Do not hard-code output folders (for example, dist\u002F or vendor\u002F) or D3 versions; always follow the task-required version and exact output paths, or discover existing local conventions before creating new structure.",{},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill d3-visualization",{"tool":35,"command":36},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill d3-visualization",{"tool":38,"command":39},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill d3-visualization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002FSKILL.md",true,[43,49,53,57],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"scripts\u002Fbubble_chart_example.js","SCRIPT","脚本",3679,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002Fscripts\u002Fbubble_chart_example.js",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Fcheck_tooltip.js",1752,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002Fscripts\u002Fcheck_tooltip.js",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Finteractive_table_example.js",4439,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002Fscripts\u002Finteractive_table_example.js",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Ftooltip_handler.js",5741,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdata-to-d3\u002Frepaired_skill\u002Fd3-visualization\u002Fscripts\u002Ftooltip_handler.js",[62,69,76,83,88,93],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":84,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":89,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":94,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]