SkillFeeder › 全部 Skill › Agent工具链 › extract-python-environment-variables

自动扫描 Python 代码,补全 .

extract-python-environment-variables

extract-python-environment-variables 是 SkillFeeder 收录的Agent Skill,来自 GitHub 仓库 google/adk-recipes,★ 10,586。自动扫描 Python 代码,补全 .env.example 并注入 dotenv 初始化。适合Python 配置维护者。场景是Agent工具链 · Agent运行时。能做的事包括识别所有 UPPER_SNAKE_CASE 环境变量访问点、补全缺失变量到 .env.example 文件、自动注入 load_dotenv() 到 __init__.py。打开 GitHub 自行安装。

打开 GitHub

仓库
google/adk-recipes
仓库星标
★ 10,586
场景
Agent工具链 · Agent运行时
适合
Python 配置维护者
类型
Skill

能做什么

原文简介

Scans a Python recipe to find every place an environment variable is accessed — including `os.environ.setdefault("V", "d")`, whose "d" would otherwise be a hidden default a user editing .env.example has no way to discover — then ensures all variables are declared in `.env.example`, that `load_dotenv()` is bootstrapped in the package `__init__.py`, and that `python-dotenv>=1.0.0` is listed in `pypr

同场景推荐