Environment Config Generator

入门ops最低上下文:16K

Generates .env files, configuration schemas, and environment variable documentation from application requirements. Includes validation rules, default values, required vs optional flags, and example values. Supports multiple environments (dev/staging/prod).

使用场景

  • Creating .env.example files for new projects
  • Generating Zod/Joi validation schemas for env vars
  • Documenting all environment variables in a project
  • Setting up multi-environment configurations
  • Auditing for missing or unused env vars

示例提示词

Generate environment configuration for the following application:

Stack: [e.g., "Next.js + PostgreSQL + Redis + S3"]
Environments: development, staging, production

Please provide:
1. `.env.example` with all variables, comments, and safe defaults
2. TypeScript validation schema (using Zod)
3. Documentation table (variable, required, default, description)
4. Differences between environments (what changes in prod)
5. Security notes (which values are secrets, rotation policy)

推荐模型

兼容工具

claude-codecursorgithub-copilotkiroany

模态

输入: text, code
输出: code, text

相关 Skills

作者

OpenModels Community

@openmodelsrun