360 Secure SkillHub
360 安全技能中心

Env Health Check

通过命令行传入环境变量名与关键目录,检查是否存在及是否可写,输出 OK/WARN/FAIL 结果并生成 Markdown 健康报告,用于部署前运行时前置条件核验。不联网,也不修改环境或权限。

neo1307
neo1307
热度 57.35
最近更新 2026-05-11 17:34:12
分类:开发依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add neo1307-env-health-check
Metadata
name
env-health-check
description
Inspect environment variables, critical directories, and write permissions, then produce a health report. Use when validating deployment readiness, local runtime setup, workspace health, or missing env/config prerequisites.

Env Health Check

Inspect runtime prerequisites and emit a compact health report.

Workflow

  1. Pass required env var names with --env flags.
  2. Pass critical directories with --dir flags.
  3. Run index.js and review OK/WARN/FAIL output.
  4. Treat missing write access as a blocker unless the path is intentionally read-only.