code-qc
由 isonaei 提供
Web & Frontend Development简介
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
Detect project type and load .qc-config.yaml if present
- 2
Run the test suite with coverage using pytest
- 3
Check import integrity, run ruff for static analysis, and mypy for type errors
- 4
Generate smoke tests for discovered business logic entry points
- 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 或你在用的任意编程智能体里。