← Back to Skills Marketplace
Vitest Config Validator
by
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
113
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install vitest-config-validator
Description
Validate vitest.config.ts/js and vitest workspace configurations for syntax, deprecated options, plugin conflicts, and best practices. Use when validating Vi...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install vitest-config-validator - After installation, invoke the skill by name or use
/vitest-config-validator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: 20+ rules for vitest.config validation
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install Vitest Config Validator?
Run "/install vitest-config-validator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Vitest Config Validator free?
Yes, Vitest Config Validator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Vitest Config Validator support?
Vitest Config Validator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Vitest Config Validator?
It is built and maintained by charlie-morrison (@charlie-morrison); the current version is v1.0.0.
More Skills