Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Validator Agent 1.1.0 — concise pipeline, 8-entry checklist, and TypeScript/Solidity focus - Overhauled documentation: now describes a focused 8-round validation pipeline (compile, lint, test, security, type coverage, docs, changelog, final summary) - Skill narrowed to TypeScript/Solidity; project detection clarified via `package.json` and `foundry.toml` - Removed extensive/complex checklist and broad language support; simplified for clarity and reliability - Dropped README.md in favor of documentation in SKILL.md - Improved output and review flow: produces a `validator-YYYY-MM-DD-HH-[project].md` report with clear pass/block decision - Makes clear this skill never auto-publishes, only reports and recommends
What This Skill Does
Multi-round automated validation pipeline for TypeScript and Solidity projects. Runs 8 sequential checks — compile, lint, tests, security audit, type coverage, docs, changelog, and final summary — before any npm publish or deploy. Read-only: produces a report and recommendation, never modifies code.
Enforces a fixed sequence with hard blocking rules at each stage, so a broken compile or missing changelog entry stops the pipeline before the problem reaches production.
When to use it
- Validating a TypeScript library before publishing to npm
- Running quality gates on a Solidity contract before deployment
- Checking for regressions after a dependency update
- Blocking a PR merge when tests drop or high-severity vulnerabilities appear
- Generating a structured audit report for team sign-off
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Run the Validator Agent on projects/my-sdk
- 1Detects project type from package.json and sets up the TypeScript round sequence
- 2Runs Round 0 compile gate with tsc --noEmit; blocks all subsequent rounds if it fails
- 3Runs Rounds 1-6: lint, test suite with baseline comparison, npm audit, type coverage, docs check, changelog verification
- 4Aggregates per-round results into a verdict table listing blocking issues and warnings
- 5Saves report to ops/reports/validator-YYYY-MM-DD-HH-my-sdk.md
Validator Agent Report with pass/warn/block status per round and a PUBLISH / FIX FIRST / DO NOT PUBLISH recommendation