auto-conda-python-env
Installation
SKILL.md
Auto Conda Env for Python Project / 自动为Python项目配置Conda环境
触发条件 / When to Use
当用户需要为Python项目配置独立运行环境、自动创建Conda环境,或希望复用已有的匹配环境时,使用本技能。 Use when: setting up an isolated Python env, creating a new Conda env, or reusing an existing one for a project.
执行步骤 / Execution Steps
1. 获取项目路径 / Get Project Path
- 询问用户提供Python项目文件夹路径,若未指定则默认使用当前工作目录。 Ask for the project folder path; default to current working directory if not provided.
- 验证路径是否存在且为有效文件夹。 Verify the path exists and is a valid directory.
2. 扫描项目依赖文件 / Scan Dependency Files
进入项目文件夹,按以下优先级扫描:Scan in this order: