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で見る