env-validation
✓在服务器启动时和构建之前验证环境变量。通过清晰的错误消息尽早发现丢失或无效的变量。
SKILL.md
Validate environment variables on server start and before builds. Catch missing or invalid variables early with clear error messages.
Some environment variables are read internally by packages rather than passed as arguments. To catch missing variables early instead of at runtime, import your configs in instrumentation.ts:
The side-effect imports trigger configSchema validation immediately when the server starts. If any required environment variable is missing, the server fails to start with a clear error rather than failing later when the code path is executed.
在服务器启动时和构建之前验证环境变量。通过清晰的错误消息尽早发现丢失或无效的变量。 来源:andrelandgraf/fullstackrecipes。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill env-validation- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 env-validation?
在服务器启动时和构建之前验证环境变量。通过清晰的错误消息尽早发现丢失或无效的变量。 来源:andrelandgraf/fullstackrecipes。
如何安装 env-validation?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill env-validation 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/andrelandgraf/fullstackrecipes
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01