跳到正文
TakoAPI
返回技能列表

tcc-quality-gates

由 thecybercore 提供

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

简介

This skill defines and applies **6 universal quality gateways** for typical application projects that include:.

描述

该技能的功能

Defines and evaluates 6 quality gateways for any application repository: build health, test coverage, security, performance, code maintainability, and release readiness. Each gateway produces a 0-100 score with PASS/WARN/FAIL status using thresholds from a config file stored in the repo. Outputs a Markdown and JSON report with per-gateway scores, evidence paths, and a blocker list.

Covers all six quality dimensions in one pass with a single config file instead of maintaining separate scripts and thresholds for each concern.

何时使用

  • Generating a pre-release quality report before deploying to production
  • Checking whether a pull request meets test coverage and security thresholds
  • Auditing dependency vulnerabilities and license compliance across a codebase
  • Verifying runbooks and monitoring alerts exist before a go-live
  • Tracking code complexity and duplication trends across sprints

示例工作流

输入

User asks: evaluate this repo for release readiness

智能体
  1. 1

    Load and validate .defs/quality-gateway-definition.json from the repo root

  2. 2

    Collect metrics for each of the 6 gateways from CI artifacts and repo files

  3. 3

    Score each check 0-100 using the configured scoring method and thresholds

  4. 4

    Compute weighted gateway scores and determine PASS/WARN/FAIL status per gateway

  5. 5

    Write docs/quality/quality-gate-report.md and quality-gate-report.json with scores, evidence paths, and any blockers

输出

A Markdown report and JSON report showing per-gateway scores, a BLOCKERS list for any blocking failures, and evidence file references

安装

clawhub install thecybercore/tcc-quality-gates

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接