[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZJEDWPVRJFFF42F7Y42GS":3,"skill-same:01M6BZJEDWPVRJFFF42F7Y42GS":63},{"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},"01M6BZJEDWPVRJFFF42F7Y42GS","coding.make_function_private","函数私有化重命名","Identify private or public functions in a file and rename with underscore","识别文件中的私有或公共函数，并使用下划线进行重命名","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.make_function_private\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 make function private","file","haiku","public","2026-11-10 10:12:30",false,"---\ndescription: Identify private or public functions in a file and rename with underscore\nmodel: haiku\n---\n\n# Goal\nFor each function `\u003CFUNC>` in the passed Python file `\u003CFILE>`, determine if it\nshould be private or public by checking if it's called by Python files or\nJupyter notebooks outside `\u003CFILE>`.\n\n# Conventions\n- Follow `## Mark Private Functions` in `.claude\u002Fskills\u002Fcoding.rules.md`\n\n# Definitions\n\n## External Files\n- **External files** = any Python file or Jupyter notebook outside the target\n  file\n  - Including:\n    - Sibling scripts in the same package (e.g., `notes_to_pdf.py` calling functions\n      from `lib_notes_to_pdf.py`)\n    - Parent\u002Fsibling modules that import from the target\n    - CLI entry point scripts\n  - Excluding\n    - Test files that test the target module, since a function is private even if\n      it's called by a test files\n\n- **Note:** Functions that form the public API of a library module should be\n  PUBLIC, even if they're not called from a `__main__` entry point. If a module\n  exports utility functions for use by other scripts in the package, those are\n  PUBLIC functions\n\n# Private Functions\n- If the function `\u003CFUNC>` is not called by any external file, then it should be\n  a private function and should be renamed and prepended with a `_`\n  - E.g., `def function` -> `def _function`\n  - Include only internal utility functions, helpers, and implementation details\n- Modify all the callers of the function `\u003CFUNC>` to use the new name\n\n- **Good** (function only called within its own file, so it is renamed private)\n  ```python\n  # lib_helper.py\n  def public_function():\n      _internal_helper()  # Only called within this file, so private.\n\n  def _internal_helper():\n      pass\n  ```\n\n# Public Functions\n- If the function `\u003CFUNC>` is called by external files, then it should be a\n  public function and its name must not start with `_`\n  - This includes functions in shared utility modules called by sibling scripts\n- Modify all callers (both external and internal) of the function to use the new\n  name\n\n- **Good** (function called by an external file, so it stays public)\n  ```python\n  # lib_notes_to_pdf.py\n  def preprocess_notes(file_name, prefix):  # Called by notes_to_pdf.py, so public.\n      _internal_step_1(file_name)  # Private helper.\n\n  def _internal_step_1(file_name):  # Only used within lib_notes_to_pdf.py, so private.\n      pass\n  ```\n\n# Workflow\n\n## Find All Functions\n- Find all functions in `\u003CFILE>`\n\n## Search for External Calls\n- For each function, search the entire codebase for external calls:\n  ```bash\n  grep -r \"\u003CFUNC>\" --include=\"*.py\" --include=\"*.ipynb\" --exclude=\"test_*.py\"\n  ```\n\n## Classify and Rename\n- Classify each function as public or private based on external usage\n- Rename functions and update all call sites (both files)\n- Verify the changes\n\n# Verification\n- [ ] Grep in the entire codebase to confirm all function calls were renamed\n      correctly\n      ```bash\n      grep -r \"old_name\\|new_name\" --include=\"*.py\" --include=\"*.ipynb\"\n      ```\n- [ ] Run pyright to verify type correctness of modified function invocations\n- [ ] Run unit tests for the modified files to ensure nothing broke\n","# Goal\nFor each function `\u003CFUNC>` in the passed Python file `\u003CFILE>`, determine if it\nshould be private or public by checking if it's called by Python files or\nJupyter notebooks outside `\u003CFILE>`.\n\n# Conventions\n- Follow `## Mark Private Functions` in `.claude\u002Fskills\u002Fcoding.rules.md`\n\n# Definitions\n\n## External Files\n- **External files** = any Python file or Jupyter notebook outside the target\n  file\n  - Including:\n    - Sibling scripts in the same package (e.g., `notes_to_pdf.py` calling functions\n      from `lib_notes_to_pdf.py`)\n    - Parent\u002Fsibling modules that import from the target\n    - CLI entry point scripts\n  - Excluding\n    - Test files that test the target module, since a function is private even if\n      it's called by a test files\n\n- **Note:** Functions that form the public API of a library module should be\n  PUBLIC, even if they're not called from a `__main__` entry point. If a module\n  exports utility functions for use by other scripts in the package, those are\n  PUBLIC functions\n\n# Private Functions\n- If the function `\u003CFUNC>` is not called by any external file, then it should be\n  a private function and should be renamed and prepended with a `_`\n  - E.g., `def function` -> `def _function`\n  - Include only internal utility functions, helpers, and implementation details\n- Modify all the callers of the function `\u003CFUNC>` to use the new name\n\n- **Good** (function only called within its own file, so it is renamed private)\n  ```python\n  # lib_helper.py\n  def public_function():\n      _internal_helper()  # Only called within this file, so private.\n\n  def _internal_helper():\n      pass\n  ```\n\n# Public Functions\n- If the function `\u003CFUNC>` is called by external files, then it should be a\n  public function and its name must not start with `_`\n  - This includes functions in shared utility modules called by sibling scripts\n- Modify all callers (both external and internal) of the function to use the new\n  name\n\n- **Good** (function called by an external file, so it stays public)\n  ```python\n  # lib_notes_to_pdf.py\n  def preprocess_notes(file_name, prefix):  # Called by notes_to_pdf.py, so public.\n      _internal_step_1(file_name)  # Private helper.\n\n  def _internal_step_1(file_name):  # Only used within lib_notes_to_pdf.py, so private.\n      pass\n  ```\n\n# Workflow\n\n## Find All Functions\n- Find all functions in `\u003CFILE>`\n\n## Search for External Calls\n- For each function, search the entire codebase for external calls:\n  ```bash\n  grep -r \"\u003CFUNC>\" --include=\"*.py\" --include=\"*.ipynb\" --exclude=\"test_*.py\"\n  ```\n\n## Classify and Rename\n- Classify each function as public or private based on external usage\n- Rename functions and update all call sites (both files)\n- Verify the changes\n\n# Verification\n- [ ] Grep in the entire codebase to confirm all function calls were renamed\n      correctly\n      ```bash\n      grep -r \"old_name\\|new_name\" --include=\"*.py\" --include=\"*.ipynb\"\n      ```\n- [ ] Run pyright to verify type correctness of modified function invocations\n- [ ] Run unit tests for the modified files to ensure nothing broke\n",{"model":34,"description":7},"master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fcoding.make_function_private",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.make_function_private",{"tool":55,"command":56},"bunx","bunx skills add causify-ai\u002Fhelpers --skill coding.make_function_private",{"tool":58,"command":59},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill coding.make_function_private","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fcoding.make_function_private\u002FSKILL.md",true,[],[64,85,104,121,134,143],{"skillNo":65,"name":66,"nameZh":67,"description":68,"descriptionZh":69,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":70,"categories":71,"keywords":78,"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",[72,75],{"categoryNo":73,"categoryName":74,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[79,80,81,82,34,83,84],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","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":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},[98,99,80,100,101,34,33,102,103],"merge","tutorial in 60 mins merge markdown","markdown","jupyter","content","jupyter notebook",{"skillNo":105,"name":106,"nameZh":107,"description":108,"descriptionZh":109,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":116,"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",[112,113],{"categoryNo":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":114,"categoryName":115,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[117,80,118,119,120,34],"tutorial in 60 mins format","format","directory","learn",{"skillNo":122,"name":123,"nameZh":124,"description":125,"descriptionZh":126,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":127,"categories":128,"keywords":131,"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",[129,130],{"categoryNo":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":114,"categoryName":115,"taxonomyType":28,"taxonomyTypeDesc":29},[132,80,133,119,120],"tutorial in 60 mins create","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"]