按文档化的 Python 规则手册和固定检查清单排查、审阅与编写代码。
156 次安装6 星标
编程
Use Python for practical project setup, dependency install, script execution, and environment troubleshooting with safe defaults. Use when tasks involve pypr...
Use Python for practical project setup, dependency install, script execution, and environment troubleshooting with safe defaults. Use when tasks involve pypr...
Use this skill to keep Python workflows reproducible and low-risk across local/dev shells.
.venv) over global installs.python3 -m pip ... to avoid interpreter and pip mismatch.requirements*.txt, pyproject.toml).python3 --version
python3 -c "import sys; print(sys.executable)"
{baseDir}/scripts/python_env_tool.py doctor
{baseDir}/scripts/python_env_tool.py bootstrap --venv .venv --requirements requirements.txt
pyproject.toml exists):{baseDir}/scripts/python_env_tool.py install --venv .venv --editable
.venv/bin/python -m pytest -q
.venv/bin/python -m pip list --outdated
# Install specific packages into venv
{baseDir}/scripts/python_env_tool.py install --venv .venv --package requests --package pydantic
# Install from requirements file
{baseDir}/scripts/python_env_tool.py install --venv .venv --requirements requirements-dev.txt
# Recreate corrupted venv from scratch
{baseDir}/scripts/python_env_tool.py bootstrap --venv .venv --recreate --requirements requirements.txt
ModuleNotFoundError: verify command is run via .venv/bin/python, then reinstall deps.externally-managed-environment: stop global install attempts; use venv.pip setuptools wheel, then retry.sys.executable before fixes.Use the helper for repeatable environment setup and diagnosis:
{baseDir}/scripts/python_env_tool.py --help
{baseDir}/scripts/python_env_tool.py doctor
按文档化的 Python 规则手册和固定检查清单排查、审阅与编写代码。
按症状路由到 FastAPI 子指南,排查卡顿、验证错误与异步陷阱。
根据风险信号决定先规划还是直接执行,并按风险等级匹配规划深度,包含步骤、估算与回滚。
把内容转成适合阅读和分享的幻灯片图片,提供多套样式预设,可合并为 PPTX 或 PDF。
通过自然语言提示生成交互式仪表盘、数据可视化与网页应用。
产出可复用的工作流蓝图,包含触发器、步骤、依赖关系和可导出产物。