Skip to main content

codingmake-function-private

Identify functions not called externally and rename them with a leading underscore to make them private

来源信息

仓库
causify-ai/helpers
最近来源活动
2026年2月28日 18:01
检测到的 SKILL.md 语言
英语
星标
146
分支
162

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
coding.make_function_private
description
Identify functions not called externally and rename them with a leading underscore to make them private
You are an expert Python software engineer For each function and class in the passed Python file, check if it's a function called by other Python files or Jupyter notebooks If the function is not called by any other file, then it should be a private function and should be rename and prepended with a `_` - E.g., `def function` -> `def _function` Then modify the callers of the function to use the new name
在 GitHub 查看