with one click
python
在缺少专用工具时,优先使用本地 Python 脚本完成复杂任务。临时脚本统一放在工作区 script 目录下的独立子文件夹中。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
在缺少专用工具时,优先使用本地 Python 脚本完成复杂任务。临时脚本统一放在工作区 script 目录下的独立子文件夹中。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Local coding workflow: read/write/list_dir/exec,加上 Grep + Glob 的纯文本搜索。Use when: editing code, building, refactoring, or exploring a codebase. Success = compile passes; for C#/.NET follow csharp skill (may run tests when needed).
凡涉及 C# / .NET 项目必须加载并遵循。按项目目标框架(TFM)区分行为与检索关键词;优先 dotnet CLI 与静态分析,必要时可自行 dotnet build / dotnet test / dotnet run 验证。长生命周期测试进程须记录 PID,收尾时随主进程链释放。成功标准以任务为准:通常为零错误编译,需要时含测试通过或运行结果可解释。
浏览网页。与 read skill 风格一致:直接 exec 调用 exe,传参执行,stdout 为结果。
| name | python |
| description | 在缺少专用工具时,优先使用本地 Python 脚本完成复杂任务。临时脚本统一放在工作区 script 目录下的独立子文件夹中。 |
当没有更合适的专用工具(如特定 API、数据库工具等)时,可以用 Python 脚本 在本地完成复杂的数据处理、格式转换、批量生成等任务。
与 coding 一致:识别分析问题 → 规划路径 → 编写执行 → 检查验证。
script/任务名/、需要哪些文件/参数、是否要虚拟环境或依赖。main.py;保持结构清晰、可读。scriptscript 下新建一个 独立子文件夹,用有意义的名称(如时间戳或任务名),例如:
script/20260305-data-clean/script/json-to-csv-converter/python .\script\子文件夹\main.pypython .\script\子文件夹\main.py --input data.json --output result.csvpython -m venv .venv.\.venv\Scripts\Activate.ps1pip install requests pandas注意:命令在 PowerShell 中执行,含空格路径时要用引号,例如:
python ".\script\my-task\main.py"。
script 下为当前任务新建目录,例如 script/20260305-clean-logs/。main.py 及必要的辅助模块。python .\script\20260305-clean-logs\main.py --input ".\logs\raw.log" --output ".\logs\clean.log"