360 Secure SkillHub
360 安全技能中心

Env Health Check

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

分类:开发
neo1307
neo1307
热度 42.35
最近更新 2026-05-11 17:34:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add neo1307/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.