[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1QRPGX4NNXCXF1H6SX54D":3,"skill-same:01M6F1QRPGX4NNXCXF1H6SX54D":57},{"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":23,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6F1QRPGX4NNXCXF1H6SX54D","figure.create_tikz",null,"Generate a TikZ code for an image or a description","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6F1K6CCKKF8YKTBN4ZV509G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ffigure.create_tikz\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[24,25,26,27,28],"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":34,"description":7},"sonnet","master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Ffigure.create_tikz",1,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify-ai.github.io\u002Fhelpers\u002F","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 21:54:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":49,"command":50},"bunx","bunx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":52,"command":53},"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,[],[58,78,96,108,116,130],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":67,"publishedAt":29},"01M6F209RASRBEK7GBNG5M00K0","tutorial_in_60_mins.propagate_docker_changes","Sync tutorial and class-project Docker files to match project_template","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[64],{"categoryNo":65,"categoryName":66,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",[68,69,70,71,72,73,74,75,76,77],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","haiku","files","project","match",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":87,"publishedAt":29},"01M6F207XZ5YDAJ0KNDRE6EN0R","tutorial_in_60_mins.merge_markdown","Merge the content of a markdown file into a Jupyter notebook","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[84],{"categoryNo":85,"categoryName":86,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",[88,89,69,90,91,92,74,93,94,95],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":29},"01M6F2059X95Q1A13HD67E9JRF","tutorial_in_60_mins.format","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[],[103,69,104,105,106,74,107],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":29},"01M6F202MDHMNYD5S1YHG2PKZD","tutorial_in_60_mins.create","Create a tutorial directory for the Learn X in 60 Minutes conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[],[115,69,24,106,105,107],"tutorial in 60 mins create",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":29},"01M6F2004BW13GQ59N3RGSAYVN","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",[],[123,124,125,126,127,128,129],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":29},"01M6F1ZXN0G6HBD08GT8HE5FYA","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",[],[137,124,127,128,129],"todo reorg headers"]