validator-agent
由 up2itnow 提供
Web & Frontend Development简介
Multi-round automated validation pipeline for TypeScript/Solidity projects.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Run the Validator Agent on projects/my-sdk
- 1
Detects project type from package.json and sets up the TypeScript round sequence
- 2
Runs Round 0 compile gate with tsc --noEmit; blocks all subsequent rounds if it fails
- 3
Runs Rounds 1-6: lint, test suite with baseline comparison, npm audit, type coverage, docs check, changelog verification
- 4
Aggregates per-round results into a verdict table listing blocking issues and warnings
- 5
Saves 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
安装
clawhub install up2itnow/validator-agent运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。