← 返回 Skills 市场
charlie-morrison

Vitest Config Validator

作者 charlie-morrison · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
113
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vitest-config-validator
功能描述
Validate vitest.config.ts/js and vitest workspace configurations for syntax, deprecated options, plugin conflicts, and best practices. Use when validating Vi...
安全使用建议
This skill appears to be a local, regex-based Vitest configuration linter and is internally consistent with that purpose. Before installing/using it: (1) inspect the full Python file for any network/callout patterns (search for subprocess, os.system, socket, requests, urllib, http, fetch) to confirm there are no hidden external calls; (2) run it on sample or non-sensitive config files first and in a sandboxed environment if possible; (3) avoid passing paths to sensitive files or directories you don't intend to expose; (4) expect false positives/negatives because the tool uses heuristic/regex parsing rather than executing the config. If you want higher assurance, provide the full (untruncated) script for a line-by-line review — that could raise confidence to high.
功能分析
Type: OpenClaw Skill Name: vitest-config-validator Version: 1.0.0 The vitest-config-validator skill is a static analysis tool designed to lint and validate Vitest configuration files (vitest.config.ts/js). The core logic in scripts/vitest_config_validator.py uses regex-based parsing to inspect configuration values without executing the JavaScript/TypeScript code, which is a security-conscious design choice. The script only accesses the specific file path provided as an argument and does not perform any network operations, sensitive data access, or command execution.
能力评估
Purpose & Capability
Name/description (Vitest config validator) match the provided assets: an instruction-only SKILL.md and a Python script that parses vitest.config.ts/js files. Required env vars, binaries, and config paths are not requested, which is coherent for a local validator.
Instruction Scope
SKILL.md instructs running the included Python script against local config files. The script reads the target config file(s) and applies regex-based checks; the repo explicitly states it parses text and does not execute JS. The instructions do not request unrelated system files or external endpoints.
Install Mechanism
There is no install spec — instruction-only plus an included Python script. This is low-risk and proportionate to the stated purpose. No download-from-URL or package installs are required.
Credentials
The skill requests no environment variables or credentials. The script operates on file paths supplied by the user, which is appropriate for a config linter.
Persistence & Privilege
The skill does not declare always:true and has no install-time hooks. It does not request persistent system-wide changes or elevated privileges in the provided metadata or instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install vitest-config-validator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /vitest-config-validator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 20+ rules for vitest.config validation
元数据
Slug vitest-config-validator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Vitest Config Validator 是什么?

Validate vitest.config.ts/js and vitest workspace configurations for syntax, deprecated options, plugin conflicts, and best practices. Use when validating Vi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 Vitest Config Validator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install vitest-config-validator」即可一键安装,无需额外配置。

Vitest Config Validator 是免费的吗?

是的,Vitest Config Validator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Vitest Config Validator 支持哪些平台?

Vitest Config Validator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Vitest Config Validator?

由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。

💬 留言讨论