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 自行安装。
能做什么
- 识别所有 UPPER_SNAKE_CASE 环境变量访问点
- 补全缺失变量到 .env.example 文件
- 自动注入 load_dotenv() 到 __init__.py
原文简介
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
同场景推荐
- dispatching-parallel-agents所在仓库 obra/superpowers,仓库 ★ 314,917并行分发多个独立任务给专用智能体同时处理
- executing-plans所在仓库 obra/superpowers,仓库 ★ 314,917亲手逐项执行实施计划,全程不调用子代理,最终由人工统一评审。
- requesting-code-review所在仓库 obra/superpowers,仓库 ★ 314,917自动调用代码审查子智能体,精准识别潜在问题
- subagent-driven-development所在仓库 obra/superpowers,仓库 ★ 314,917按计划逐项派发独立子代理实现任务,每项自动审查再汇总终审
- using-superpowers所在仓库 obra/superpowers,仓库 ★ 314,917强制在响应前调用匹配技能,确保所有操作合规执行
- agent-architecture-audit所在仓库 affaan-m/ECC,仓库 ★ 300,014诊断 agent 架构故障,定位 wrapper、内存、工具调用等 12 层问题并给出修复代码
- agent-eval所在仓库 affaan-m/ECC,仓库 ★ 300,014横向对比多个编程 agent 在自定义任务上的通过率、耗时与成本
- agent-harness-construction所在仓库 affaan-m/ECC,仓库 ★ 300,014优化AI代理的动作空间、工具定义和观测格式,提升任务完成率。