← 返回 Skills 市场
Vite Config Validator
作者
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
82
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vite-config-validator
功能描述
Validate Vite configuration files (JSON-exported) for structural correctness, build settings, server security, resolve/CSS hygiene, plugin deprecations, and...
安全使用建议
This tool appears coherent for validating JSON dumps of vite.config.*. Two practical cautions: (1) exporting the config with the provided node -e import will execute whatever code is in vite.config.ts — only run that against trusted repositories or in isolated CI runners. (2) The validator operates on the JSON snapshot you supply; it will not execute network calls itself, but any step you use to produce the JSON may (e.g., project scripts or plugins invoked on import). If you need stronger isolation, export the config in a sandboxed environment and inspect the vite.config.ts before importing.
功能分析
Type: OpenClaw Skill
Name: vite-config-validator
Version: 1.0.0
The vite-config-validator skill is a utility for auditing Vite configuration files exported as JSON. The Python script (scripts/vite_config_validator.py) uses only standard libraries to perform structural and security best-practice checks (e.g., warning against exposing the dev server on all interfaces). There is no evidence of data exfiltration, arbitrary code execution, or malicious intent in the code or the SKILL.md instructions.
能力评估
Purpose & Capability
The name and description (validate JSON-exported Vite configs) match the shipped Python script and the CLI described in SKILL.md. No unrelated binaries, environment variables, or config paths are requested.
Instruction Scope
The SKILL.md instructs users to export the config via node -e "import('./vite.config.ts')..." which will execute the project's vite.config.ts code during export — that is expected for producing a JSON snapshot but can run arbitrary project code (side effects). The validator itself only reads the supplied JSON and performs static checks; SKILL.md and the script do not instruct reading unrelated system files or sending data externally.
Install Mechanism
No install spec is provided (instruction-only plus a bundled Python script). The script claims to use only Python stdlib modules; there are no downloads or archive extraction instructions in the repo metadata.
Credentials
No environment variables, credentials, or config paths are requested. The validator's needs (reading a JSON file) are proportionate to its purpose.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. It does not modify other skills or global agent settings in the provided materials.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install vite-config-validator - 安装完成后,直接呼叫该 Skill 的名称或使用
/vite-config-validator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 25 rules across 7 categories for Vite config validation
元数据
常见问题
Vite Config Validator 是什么?
Validate Vite configuration files (JSON-exported) for structural correctness, build settings, server security, resolve/CSS hygiene, plugin deprecations, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。
如何安装 Vite Config Validator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install vite-config-validator」即可一键安装,无需额外配置。
Vite Config Validator 是免费的吗?
是的,Vite Config Validator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Vite Config Validator 支持哪些平台?
Vite Config Validator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Vite Config Validator?
由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。
推荐 Skills