← 返回 Skills 市场
aptjason

Python Auto Dev

作者 Jason Abbott · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
269
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install python-auto-dev
功能描述
Automates Python code generation, testing, debugging, and optimization within a configured conda environment, managing all project files at H:\code\Daily.
安全使用建议
This skill appears to do what it says, but before installing consider: (1) It will create and execute code under H:\code\Daily and will import modules (which runs module-level code) — do not point it at directories containing sensitive or untrusted code. (2) It activates a conda env and spawns subprocesses inheriting your environment variables — secrets present in your environment could be exposed to child processes or to project code. (3) Confirm the hard-coded conda path and env (Windows-only) or edit the scripts to match your setup. (4) There is a minor inconsistency about auto-patching: SKILL.md says automatic patching (with confirmation) while references say auto-patching is disabled — review debug_code behavior before allowing automatic modifications. (5) If you plan to run this on important machines, run it first in an isolated VM or sandbox and back up the H:\code\Daily workspace.
功能分析
Type: OpenClaw Skill Name: python-auto-dev Version: 1.0.0 The skill bundle provides a framework for automated Python development but contains significant security vulnerabilities. Specifically, `run_tests.py` and `optimize_code.py` use `subprocess.run` with `cmd.exe /c` to execute shell commands constructed via string concatenation, which is a classic shell injection risk. While the scripts appear designed for a legitimate developer workflow in a specific Windows environment (using hardcoded paths like `C:\anaconda3` and `H:\code\Daily`), the pattern of invoking the shell to run tests and linters is high-risk. No evidence of intentional malice, data exfiltration, or persistence was found.
能力评估
Purpose & Capability
Name/description state: automated Python generation, testing, debugging, optimization inside a conda env at H:\code\Daily. The bundle includes scripts (generate/create_tests/run_tests/debug/optimize) that implement exactly those tasks. Hard-coded Windows conda path and project dir match the description.
Instruction Scope
Instructions and scripts will create, import, execute, profile and (in places) patch files under H:\code\Daily. create_tests inserts the project dir on sys.path and imports modules under test (which runs any module-level code). run_tests/optimize spawn subprocesses that activate conda and run pytest, cProfile, pylint/flake8. debug_code can produce patches and SKILL.md mentions auto-patching with confirmation but references/script-usage note says it does not auto-apply — a small inconsistency. These behaviors are coherent with development tooling but mean the skill will execute arbitrary project code and shell commands, which is a security consideration.
Install Mechanism
Instruction-only skill with included scripts; there is no downloader/install step. No external URLs or archive extraction. Risk from installation is low, but runtime executes local scripts.
Credentials
The skill requests no credentials or external secrets and hard-codes a conda path and env name (C:\anaconda3\condabin\conda.bat, py311). Scripts run subprocesses with env=os.environ.copy(), so any environment variables present on the host will be visible to spawned subprocesses and to executed project code. The skill also reads/writes files under H:\code\Daily (project workspace) — this is expected but important to confirm before use.
Persistence & Privilege
always:false and no install spec. The skill writes reports, profiles and test files under the declared project directory only. It does not request system-wide configuration changes or modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install python-auto-dev
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /python-auto-dev 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: End-to-end automation for Python development with integrated conda environment management. - Generates Python code from specifications, including type hints, docstrings, and error handling. - Creates comprehensive unit tests using pytest or unittest. - Runs tests, debugs failures, and suggests or applies fixes automatically. - Profiles and optimizes code quality with built-in linting and performance suggestions. - Manages project files under a configured workspace and uses dedicated conda environment. - Includes modular scripts to cover generation, testing, debugging, and optimization workflows.
元数据
Slug python-auto-dev
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Python Auto Dev 是什么?

Automates Python code generation, testing, debugging, and optimization within a configured conda environment, managing all project files at H:\code\Daily. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 269 次。

如何安装 Python Auto Dev?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install python-auto-dev」即可一键安装,无需额外配置。

Python Auto Dev 是免费的吗?

是的,Python Auto Dev 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Python Auto Dev 支持哪些平台?

Python Auto Dev 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Python Auto Dev?

由 Jason Abbott(@aptjason)开发并维护,当前版本 v1.0.0。

💬 留言讨论