跳到正文
TakoAPI
返回技能列表

validator-agent

由 up2itnow 提供

Web & Frontend Development
506下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Detects project type from package.json and sets up the TypeScript round sequence

  2. 2

    Runs Round 0 compile gate with tsc --noEmit; blocks all subsequent rounds if it fails

  3. 3

    Runs Rounds 1-6: lint, test suite with baseline comparison, npm audit, type coverage, docs check, changelog verification

  4. 4

    Aggregates per-round results into a verdict table listing blocking issues and warnings

  5. 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 或你在用的任意编程智能体里。

链接