[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1NMDB2Q6ACV7ZRQ2ZFQDA":3,"skill-same:01M6F1NMDB2Q6ACV7ZRQ2ZFQDA":55},{"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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M6F1NMDB2Q6ACV7ZRQ2ZFQDA","coding.fix_bloated_imports",null,"Fix Python imports of large packages needed only for few functions in a module","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\u002Fcoding.fix_bloated_imports\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"coding","coding fix bloated imports","fix","python","packages","haiku","only","functions","module","2026-11-10 10:12:30",false,"---\ndescription: Fix Python imports of large packages needed only for few functions in a module\nmodel: haiku\n---\n\n- I will pass you one or more files `\u003CFILES>` and one or more packages `\u003CPACKAGES>` that\n  are usually large to import (e.g., `ipython`, `pandas`) and are needed only in\n  few functions in the files\n\n- In the files `\u003CFILES>` you will use a conditional import for type checking and lazy imports\n  for `\u003CPACKAGES>`\n  - E.g., transform\n    ```python\n    def make_slider() -> \"ipywidgets.IntSlider\":\n        import ipywidgets\n        ...\n    ```\n    into\n    ```python\n    from typing import TYPE_CHECKING\n\n    if TYPE_CHECKING:\n        import ipywidgets\n\n    def make_slider() -> \"ipywidgets.IntSlider\":\n        import ipywidgets\n        ...\n    ```\n\n- Use forward references only for the types in the package to remove and\n  not for the including\n  - **Bad** (quotes the whole expression as one string)\n    ```python\n    \"Tuple[Union[ipywidgets.FloatSlider, ipywidgets.IntSlider], ipywidgets.HBox]\"\n    ```\n  - **Good** (quotes only the package types)\n    ```python\n    Tuple[Union[\"ipywidgets.FloatSlider\", \"ipywidgets.IntSlider\"], \"ipywidgets.HBox\"]\n    ```\n\n- If you see that most of the functions in `\u003CFILES>` require the passed package\n  `\u003CPACKAGES>`, you might suggest to not do this transform\n\n# Verification\n- [ ] Confirm `\u003CPACKAGES>` is imported only under `TYPE_CHECKING` or inside the\n      functions that use it\n- [ ] Confirm forward references quote only the package types, not full\n      expressions\n","- I will pass you one or more files `\u003CFILES>` and one or more packages `\u003CPACKAGES>` that\n  are usually large to import (e.g., `ipython`, `pandas`) and are needed only in\n  few functions in the files\n\n- In the files `\u003CFILES>` you will use a conditional import for type checking and lazy imports\n  for `\u003CPACKAGES>`\n  - E.g., transform\n    ```python\n    def make_slider() -> \"ipywidgets.IntSlider\":\n        import ipywidgets\n        ...\n    ```\n    into\n    ```python\n    from typing import TYPE_CHECKING\n\n    if TYPE_CHECKING:\n        import ipywidgets\n\n    def make_slider() -> \"ipywidgets.IntSlider\":\n        import ipywidgets\n        ...\n    ```\n\n- Use forward references only for the types in the package to remove and\n  not for the including\n  - **Bad** (quotes the whole expression as one string)\n    ```python\n    \"Tuple[Union[ipywidgets.FloatSlider, ipywidgets.IntSlider], ipywidgets.HBox]\"\n    ```\n  - **Good** (quotes only the package types)\n    ```python\n    Tuple[Union[\"ipywidgets.FloatSlider\", \"ipywidgets.IntSlider\"], \"ipywidgets.HBox\"]\n    ```\n\n- If you see that most of the functions in `\u003CFILES>` require the passed package\n  `\u003CPACKAGES>`, you might suggest to not do this transform\n\n# Verification\n- [ ] Confirm `\u003CPACKAGES>` is imported only under `TYPE_CHECKING` or inside the\n      functions that use it\n- [ ] Confirm forward references quote only the package types, not full\n      expressions\n",{"model":24,"description":7},"master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Fcoding.fix_bloated_imports",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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add causify-ai\u002Fhelpers --skill coding.fix_bloated_imports",{"tool":47,"command":48},"bunx","bunx skills add causify-ai\u002Fhelpers --skill coding.fix_bloated_imports",{"tool":50,"command":51},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill coding.fix_bloated_imports","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fcoding.fix_bloated_imports\u002FSKILL.md",true,[],[56,72,87,99,108,122],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":28},"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",[],[63,64,65,66,67,68,24,69,70,71],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","files","project","match",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":28},"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",[],[79,80,64,81,82,83,24,84,85,86],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":28},"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",[],[94,64,95,96,97,24,98],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":28},"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",[],[106,64,107,97,96,98],"tutorial in 60 mins create","create",{"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":28},"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",[],[115,116,117,118,119,120,121],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":28},"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",[],[129,116,119,120,121],"todo reorg headers"]