返回 Skill 列表
extension
分类: 开发与工程无需 API Key

env-local

生成用于本地开发环境变量的.env.local文件。包含特定于开发者的配置,如API URL、端口和功能标志。为了安全起见,该文件被加入到.gitignore中。

person作者: jakexiaohubgithub

Environment Local Skill

Purpose

Generate .env.local file for local development environment configuration.

Output

Create the file: .env.local

Notes

  • .env.local is used for local development environment variables
  • This file should be in .gitignore (never commit secrets)
  • Developers must replace <> placeholders with actual values
  • Used by Vite to inject environment variables at build time
  • All Vite env vars must be prefixed with VITE_ to be exposed to client code
  • NODE_ENV determines the build mode (development, production, test)