[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1QRPGX4NNXCXF1H6SX54D":3,"skill-same:01M6F1QRPGX4NNXCXF1H6SX54D":52},{"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":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"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",[],[19,20,21,22,23],"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":29,"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":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":44,"command":45},"bunx","bunx skills add causify-ai\u002Fhelpers --skill figure.create_tikz",{"tool":47,"command":48},"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,[],[53,70,85,97,105,119],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":24},"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",[],[60,61,62,63,64,65,66,67,68,69],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","haiku","files","project","match",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":24},"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",[],[77,78,61,79,80,81,66,82,83,84],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":24},"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",[],[92,61,93,94,95,66,96],"tutorial in 60 mins format","format","directory","learn","conventions",{"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":24},"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",[],[104,61,19,95,94,96],"tutorial in 60 mins create",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":24},"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",[],[112,113,114,115,116,117,118],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":24},"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",[],[126,113,116,117,118],"todo reorg headers"]