跳到正文
TakoAPI
返回技能列表

code-qc

由 isonaei 提供

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

简介

Run a structured quality control audit on any codebase.

描述

该技能的功能

Runs a structured, multi-phase quality control audit on a codebase and produces a report with a PASS, WARN, or FAIL verdict. Supports Python, TypeScript, and GDScript projects, covering tests, imports, type checking, static analysis, smoke tests, and documentation. Results can be saved as a baseline and compared across runs.

Combines language-specific static analysis tools (ruff, eslint, mypy) with AI-generated smoke tests and semantic checks in a single workflow, replacing the need to run and interpret each tool separately.

何时使用

  • Auditing a Python package before publishing to PyPI
  • Running QC on a pull request before merging
  • Comparing code quality metrics between two releases
  • Quick sanity check on a TypeScript project after refactoring
  • Finding missing docstrings and type errors in a GDScript game project

示例工作流

输入

User asks: Run a full QC audit on my Python project

智能体
  1. 1

    Detect project type and load .qc-config.yaml if present

  2. 2

    Run the test suite with coverage using pytest

  3. 3

    Check import integrity, run ruff for static analysis, and mypy for type errors

  4. 4

    Generate smoke tests for discovered business logic entry points

  5. 5

    Verify documentation and git state, then determine verdict

输出

qc-report.md with PASS/WARN/FAIL verdict and per-phase breakdown, plus .qc-baseline.json saved for future comparison

安装

clawhub install isonaei/code-qc

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

链接