/claude-code-starter:envfrom claude-code-starter
Scans project code to detect used environment variables, generates .env.example template with documented variables, and ensures .gitignore excludes .env files. Helps prevent secret leaks during project setup.
Ships in claude-code-starter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
帮用户规范地管理项目的环境变量,防止密钥泄露。
自动扫描项目中所有代码文件,找出使用的环境变量:
os.environ、os.getenvprocess.env.env 文件引用列出所有发现的环境变量。
创建 .env.example 文件,包含所有环境变量的模板:
# 数据库
DATABASE_URL=postgresql://user:password@localhost:5432/mydb
# API 密钥
STRIPE_SECRET_KEY=sk_test_xxx
STRIPE_PUBLISHABLE_KEY=pk_test_xxx
# 邮件
RESEND_API_KEY=re_xxx
每个变量都有注释说明用途,值使用示例格式(不是真实密钥)。
确保 .gitignore 包含:
.env.env.local.env.production如果不包含,自动添加。
在终端输出环境变量列表和获取方式:
项目需要以下环境变量: (列出每个变量、用途、在哪里获取)
已生成 .env.example 模板。复制为 .env 并填入你的值:
cp .env.example .env
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
environment-variables, dotenv, secret-management, project-setup, api-keys, .env
Generated from the plugin's indexed repository (lightpointventures/claude-code-starter) — no native marketplace selected
npx claudepluginhub p/lighthouse-strategy-claude-code-starter37 skills in this plugin
/a11y当用户想检查无障碍性、添加 ARIA 标签、修复键盘导航或对比度问题时使用 — 检查并修复网站无障碍性问题/api当用户想写接口、创建 API、生成后端端点、做增删改查接口时使用 — 生成 RESTful API 端点,包含路由、验证和错误处理/auth当用户想加登录、注册、用户认证、OAuth、JWT、权限控制时使用 — 为项目添加完整的用户认证系统/blog当用户想搭建博客、做个人网站、写技术文章、建内容站时使用 — 从零生成完整的博客网站/changelog当用户想生成更新日志、写 CHANGELOG、整理版本记录时使用 — 从 Git 提交历史自动生成 CHANGELOG/code-review当用户想审查代码、检查代码质量、提交前 review、找 bug 时使用 — 从安全性、可读性、潜在 bug 三个维度审查代码Other plugins' skills for the same job