[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZHQKP7K68TTHFHTG6YMNZ":3,"skill-same:01M6BZHQKP7K68TTHFHTG6YMNZ":77},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":48,"install":49,"resources":62},"01M6BZHQKP7K68TTHFHTG6YMNZ","coding.fix_bloated_imports","Python 冗余导入修复","Fix Python imports of large packages needed only for few functions in a module","修复 Python 模块中仅需用到大型包的少数函数却整体导入的问题","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\u002Fcoding.fix_bloated_imports\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33,34,35],"coding","coding fix bloated imports","python","packages","haiku","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":35,"description":7},"master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fcoding.fix_bloated_imports",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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add causify-ai\u002Fhelpers --skill coding.fix_bloated_imports",{"tool":55,"command":56},"bunx","bunx skills add causify-ai\u002Fhelpers --skill coding.fix_bloated_imports",{"tool":58,"command":59},"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,[63,69,73],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"README.md","REFERENCE","参考文档",2767,"https:\u002F\u002Fgithub.com\u002FBigdrops\u002Fbigdrops-app\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flesson-learned\u002FREADME.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fanti-patterns.md",2826,"https:\u002F\u002Fgithub.com\u002FBigdrops\u002Fbigdrops-app\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flesson-learned\u002Freferences\u002Fanti-patterns.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fse-principles.md",5865,"https:\u002F\u002Fgithub.com\u002FBigdrops\u002Fbigdrops-app\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flesson-learned\u002Freferences\u002Fse-principles.md",[78,99,119,136,149,158],{"skillNo":79,"name":80,"nameZh":81,"description":82,"descriptionZh":83,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":92,"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",[86,89],{"categoryNo":87,"categoryName":88,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":90,"categoryName":91,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[93,94,95,96,35,97,98],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","template","sync",{"skillNo":100,"name":101,"nameZh":102,"description":103,"descriptionZh":104,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":111,"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",[107,110],{"categoryNo":108,"categoryName":109,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":90,"categoryName":91,"taxonomyType":23,"taxonomyTypeDesc":24},[112,113,94,114,115,35,116,117,118],"merge","tutorial in 60 mins merge markdown","markdown","jupyter","file","content","jupyter notebook",{"skillNo":120,"name":121,"nameZh":122,"description":123,"descriptionZh":124,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":125,"categories":126,"keywords":131,"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",[127,128],{"categoryNo":90,"categoryName":91,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[132,94,133,134,135,35],"tutorial in 60 mins format","format","directory","learn",{"skillNo":137,"name":138,"nameZh":139,"description":140,"descriptionZh":141,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":146,"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",[144,145],{"categoryNo":90,"categoryName":91,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},[147,94,148,134,135],"tutorial in 60 mins create","create",{"skillNo":150,"name":151,"nameZh":17,"description":152,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":153,"categories":154,"keywords":155,"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",[],[156,157],"todo reorg in progress","tasks",{"skillNo":159,"name":160,"nameZh":17,"description":161,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":162,"categories":163,"keywords":164,"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",[],[165],"todo reorg headers"]