← Back to Skills Marketplace
jpengcheng523-netizen

validation-utils

by jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
140
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install jpeng-validation-utils
Description
Provides data validation and type checking utilities for validating inputs and data structures. Use when you need to validate data types, check constraints,...
README (SKILL.md)

Validation Utils

Provides data validation and type checking utilities.

Usage

const v = require('./skills/validation-utils');

// Type checking
if (v.isString(value)) { ... }
if (v.isArray(value)) { ... }

// Validation
const result = v.validate(user, {
  name: v.required(v.isString),
  age: v.optional(v.isNumber),
  email: v.required(v.isEmail)
});

// Assert
v.assert(v.isPositive(5), 'Must be positive');

Features

  • Type checking utilities
  • Required/optional validators
  • Email, URL, UUID validation
  • Number range validation
  • String pattern validation
  • Object schema validation
  • Assertion helpers
Usage Guidance
This package looks like a straightforward validation utility and is internally consistent with its description. Before installing, confirm the full index.js contents (the provided excerpt was truncated) to ensure there are no hidden network calls, filesystem access, or dynamic evals at the end of the file. Because the source/homepage is unknown, prefer using a validation library from a known maintainer (e.g., ajv, validator.js) or run the code in a sandboxed environment and run a quick static scan (search for require('child_process'), fetch/HTTP calls, fs access, eval/new Function, or process.env usage). Also check exports and test the library locally with representative inputs before using it in production.
Capability Analysis
Type: OpenClaw Skill Name: jpeng-validation-utils Version: 1.0.0 The skill bundle provides a comprehensive set of standard data validation and type-checking utilities (e.g., email, URL, UUID, and schema validation). The code in index.js is well-structured, contains no external dependencies, and performs no high-risk operations such as network requests, file system access, or command execution.
Capability Assessment
Purpose & Capability
The name and description (data validation / type checking) match the included code: index.js implements many isX / validator helpers and schema validation. Declared metadata and files are proportionate to a validation utility.
Instruction Scope
SKILL.md contains only usage examples and feature descriptions for validation helpers and does not instruct the agent to read unrelated files, access environment variables, or transmit data externally.
Install Mechanism
No install spec is provided (instruction-only install), and the included package.json is minimal. Nothing is downloaded from external URLs or written to disk by an install step in the manifest.
Credentials
The skill requires no environment variables, no credentials, and no config paths. The functionality (pure JS validators) does not justify additional secrets or access.
Persistence & Privilege
The skill does not request always:true and uses default invocation settings. It does not appear to modify other skills or require system-level persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install jpeng-validation-utils
  3. After installation, invoke the skill by name or use /jpeng-validation-utils
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of validation-utils. - Provides utilities for data validation and type checking. - Supports required and optional validators for schema-based validation. - Includes functions for email, URL, and UUID validation. - Offers number range and string pattern validation. - Features assertion helpers to enforce data integrity.
Metadata
Slug jpeng-validation-utils
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is validation-utils?

Provides data validation and type checking utilities for validating inputs and data structures. Use when you need to validate data types, check constraints,... It is an AI Agent Skill for Claude Code / OpenClaw, with 140 downloads so far.

How do I install validation-utils?

Run "/install jpeng-validation-utils" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is validation-utils free?

Yes, validation-utils is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does validation-utils support?

validation-utils is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created validation-utils?

It is built and maintained by jpengcheng523-netizen (@jpengcheng523-netizen); the current version is v1.0.0.

💬 Comments