[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZK8E903WN1C02EGZRCNGB":3,"skill-same:01M6BZK8E903WN1C02EGZRCNGB":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":49,"install":50,"resources":63},"01M6BZK8E903WN1C02EGZRCNGB","figure.create_tikz","TikZ 图表代码生成","Generate a TikZ code for an image or a description","根据图像或描述生成 TikZ 代码","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6BZFTPJ193AB5N089Z82HQG",155,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ffigure.create_tikz\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C4J7FEEP1G3VGJQ48N8BVT","技术图表绘制","SCENARIO","使用场景",[31,32,33,34,35],"create","figure create tikz","image","generate","code","2026-11-10 10:12:30",false,"---\ndescription: Generate a TikZ code for an image or a description\nmodel: sonnet\n---\n\n# Goal\n- Convert images or textual descriptions into publication-quality TikZ LaTeX code\n- Generate a compilable LaTeX file, render it to PNG, and iteratively refine the\n  output to match the input precisely\n\n## When to Use\n- Use this skill when you need to:\n  - Create publication-quality diagrams, plots, or visualizations\n  - Convert hand-drawn sketches or existing images into reproducible TikZ code\n  - Generate diagrams for inclusion in LaTeX documents\n\n## When NOT to Use\n- Do not use this skill for:\n  - Complex photographs requiring photorealistic rendering\n  - Plots from large datasets (use dedicated plotting libraries instead)\n  - Diagrams requiring advanced 3D visualization\n\n# Workflow\n\n## Receive and Understand the Input\n\n- You receive either:\n  1. An image of a diagram\n  2. A textual description of a concept or situation\n\n## Choose Figure Type\n\n- Pick the diagram structure that fits the input:\n  - FLOWCHART: sequential steps, decision branches, pipelines\n  - STRUCTURAL: containment (things inside other things), architecture\n  - ILLUSTRATIVE: plots, physical cross-sections, or abstract spatial metaphors\n\n## Generate TikZ Code\n- Generate valid LaTeX code using the TikZ package. Wrap the code in a complete\n  minimal working example:\n  ```latex\n  \\documentclass{standalone}\n  \\usepackage{tikz}\n  \\begin{document}\n  \\begin{tikzpicture}\n  ...\n  \\end{tikzpicture}\n  \\end{document}\n  ```\n\n**Preserve layout accurately**\n\n- If converting from an image `\u003CIMAGE>`, reproduce the layout precisely\n- Preserve proportions, relative positions, and symmetry\n- Use coordinates and scaling where appropriate\n- Approximate complex curves with TikZ paths when needed\n\n**Follow the TikZ conventions**\n\n- Generate the diagram using the conventions from\n  `.claude\u002Fskills\u002Ftikz.rules.md`\n- Key sections to follow: Colors, Typography, Layout, Reusable Patterns, Polish\n\n**Handle ambiguity**\n\n- Make reasonable assumptions about unclear inputs\n- Prioritize clarity and visual correctness over perfection\n\n## Save the File\n- Save the generated LaTeX code to `.\u002Ftikz_figure.tex` in the current directory\n  (not in `.claude\u002F`). Output only valid TikZ code without markdown formatting\n  or explanations\n\n## Render to Image\n- Generate a PNG image using the rendering script:\n  ```bash\n  > .\u002Fhelpers_root\u002Fdev_scripts_helpers\u002Fdockerize\u002Fdockerized_tikz_to_bitmap.py \\\n      -i tikz_figure.tex \\\n      -o output.png\n  ```\n\n- Open the generated image to inspect the output:\n  ```bash\n  > open output.png\n  ```\n\n## Iterate and Refine\n- Compare the generated PNG to the original input. If there are significant\n  differences:\n  - Identify layout discrepancies\n  - Update `.\u002Ftikz_figure.tex` to better match the input\n  - Re-render and verify the result\n\n## Compare for User\n- Once it's done, build a side-by-side comparison image and open it:\n  ```bash\n  > montage \u003CORIGINAL_IMAGE> output.png -tile 2x1 -geometry 500x+10+10 \\\n      -background white comparison.png\n  > open comparison.png\n  ```\n- Remove `comparison.png` after the user has seen it, it is a temp file, not\n  a deliverable\n\n# Verification\n- [ ] Confirm all lines connect cleanly to box edges with no overlap\n- [ ] Confirm the diagram closely matches the original (same layout, colors,\n      and semantics)\n\n# Examples\n- **Bad**: Attempting to convert a photograph of a natural scene into TikZ\n  (infeasible; use image inclusion instead)\n- **Good**: Converting a circuit diagram sketch into TikZ with accurate node\n  positioning, labeled connections, and proper symmetry\n","# Goal\n- Convert images or textual descriptions into publication-quality TikZ LaTeX code\n- Generate a compilable LaTeX file, render it to PNG, and iteratively refine the\n  output to match the input precisely\n\n## When to Use\n- Use this skill when you need to:\n  - Create publication-quality diagrams, plots, or visualizations\n  - Convert hand-drawn sketches or existing images into reproducible TikZ code\n  - Generate diagrams for inclusion in LaTeX documents\n\n## When NOT to Use\n- Do not use this skill for:\n  - Complex photographs requiring photorealistic rendering\n  - Plots from large datasets (use dedicated plotting libraries instead)\n  - Diagrams requiring advanced 3D visualization\n\n# Workflow\n\n## Receive and Understand the Input\n\n- You receive either:\n  1. An image of a diagram\n  2. A textual description of a concept or situation\n\n## Choose Figure Type\n\n- Pick the diagram structure that fits the input:\n  - FLOWCHART: sequential steps, decision branches, pipelines\n  - STRUCTURAL: containment (things inside other things), architecture\n  - ILLUSTRATIVE: plots, physical cross-sections, or abstract spatial metaphors\n\n## Generate TikZ Code\n- Generate valid LaTeX code using the TikZ package. Wrap the code in a complete\n  minimal working example:\n  ```latex\n  \\documentclass{standalone}\n  \\usepackage{tikz}\n  \\begin{document}\n  \\begin{tikzpicture}\n  ...\n  \\end{tikzpicture}\n  \\end{document}\n  ```\n\n**Preserve layout accurately**\n\n- If converting from an image `\u003CIMAGE>`, reproduce the layout precisely\n- Preserve proportions, relative positions, and symmetry\n- Use coordinates and scaling where appropriate\n- Approximate complex curves with TikZ paths when needed\n\n**Follow the TikZ conventions**\n\n- Generate the diagram using the conventions from\n  `.claude\u002Fskills\u002Ftikz.rules.md`\n- Key sections to follow: Colors, Typography, Layout, Reusable Patterns, Polish\n\n**Handle ambiguity**\n\n- Make reasonable assumptions about unclear inputs\n- Prioritize clarity and visual correctness over perfection\n\n## Save the File\n- Save the generated LaTeX code to `.\u002Ftikz_figure.tex` in the current directory\n  (not in `.claude\u002F`). Output only valid TikZ code without markdown formatting\n  or explanations\n\n## Render to Image\n- Generate a PNG image using the rendering script:\n  ```bash\n  > .\u002Fhelpers_root\u002Fdev_scripts_helpers\u002Fdockerize\u002Fdockerized_tikz_to_bitmap.py \\\n      -i tikz_figure.tex \\\n      -o output.png\n  ```\n\n- Open the generated image to inspect the output:\n  ```bash\n  > open output.png\n  ```\n\n## Iterate and Refine\n- Compare the generated PNG to the original input. If there are significant\n  differences:\n  - Identify layout discrepancies\n  - Update `.\u002Ftikz_figure.tex` to better match the input\n  - Re-render and verify the result\n\n## Compare for User\n- Once it's done, build a side-by-side comparison image and open it:\n  ```bash\n  > montage \u003CORIGINAL_IMAGE> output.png -tile 2x1 -geometry 500x+10+10 \\\n      -background white comparison.png\n  > open comparison.png\n  ```\n- Remove `comparison.png` after the user has seen it, it is a temp file, not\n  a deliverable\n\n# Verification\n- [ ] Confirm all lines connect cleanly to box edges with no overlap\n- [ ] Confirm the diagram closely matches the original (same layout, colors,\n      and semantics)\n\n# Examples\n- **Bad**: Attempting to convert a photograph of a natural scene into TikZ\n  (infeasible; use image inclusion instead)\n- **Good**: Converting a circuit diagram sketch into TikZ with accurate node\n  positioning, labeled connections, and proper symmetry\n",{"model":41,"description":7},"sonnet","master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Ffigure.create_tikz",170,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify.ai","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 02:09:15",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":56,"command":57},"bunx","bunx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":59,"command":60},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill figure.create_tikz","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ffigure.create_tikz\u002FSKILL.md",true,[],[65,85,105,122,134,143],{"skillNo":66,"name":67,"nameZh":68,"description":69,"descriptionZh":70,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":71,"categories":72,"keywords":77,"publishedAt":36},"01M6C9ZMM0XSXCHHABMJ9XB1JB","tutorial_in_60_mins.propagate_docker_changes","Docker 文件同步与模板对齐","Sync tutorial and class-project Docker files to match project_template","同步教程和课程项目的 Docker 文件，使其与 project_template 保持一致。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[78,79,80,81,82,83,84],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","haiku","template","sync",{"skillNo":86,"name":87,"nameZh":88,"description":89,"descriptionZh":90,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":97,"publishedAt":36},"01M6C9ZJK8QJ9FNCY39WVF3GMG","tutorial_in_60_mins.merge_markdown","Markdown 合并至 Jupyter Notebook","Merge the content of a markdown file into a Jupyter notebook","将 Markdown 文件的内容合并到 Jupyter Notebook 中。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[98,99,79,100,101,82,102,103,104],"merge","tutorial in 60 mins merge markdown","markdown","jupyter","file","content","jupyter notebook",{"skillNo":106,"name":107,"nameZh":108,"description":109,"descriptionZh":110,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":111,"categories":112,"keywords":117,"publishedAt":36},"01M6C9ZFYK13ZCT1E8BEEC4NG4","tutorial_in_60_mins.format","60 分钟教程格式规范化","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","格式化目录，使其遵循「Learn X in 60 Minutes」（60 分钟学会 X）教程约定。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[113,114],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":115,"categoryName":116,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[118,79,119,120,121,82],"tutorial in 60 mins format","format","directory","learn",{"skillNo":123,"name":124,"nameZh":125,"description":126,"descriptionZh":127,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":128,"categories":129,"keywords":132,"publishedAt":36},"01M6C9ZDKXSBKNKX7M3X4W38G5","tutorial_in_60_mins.create","60 分钟教程目录创建","Create a tutorial directory for the Learn X in 60 Minutes conventions","按照「Learn X in 60 Minutes」（60 分钟学会 X）约定创建教程目录。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[130,131],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":115,"categoryName":116,"taxonomyType":28,"taxonomyTypeDesc":29},[133,79,31,120,121],"tutorial in 60 mins create",{"skillNo":135,"name":136,"nameZh":17,"description":137,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":36},"01M6BZS5Z0QE03WRS1TM3XJEY9","todo.reorg_in_progress","Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_in_progress\u002FSKILL.md",[],[141,142],"todo reorg in progress","tasks",{"skillNo":144,"name":145,"nameZh":17,"description":146,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":36},"01M6BZS4CQZ6KK2KQ26SVB7QCS","todo.reorg_headers","Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_headers\u002FSKILL.md",[],[150],"todo reorg headers"]