Skip to main content
在 Manus 中运行任何 Skill
一键导入

audit-code-health

星标3
分支0
更新时间2026年6月19日 09:39

Audit whether the built codebase ages well — the whole-codebase health the per-commit quality gate does not measure. Use in the release phase (run by release-product, or standalone). A fresh, independent staff engineer: where the gate fails a single red commit (lint/type/format/tests), this measures the rot the gate can't see across the whole tree — duplication clusters and the refactor-vs-clone ratio (GitClear-style signals), oversized files/functions, dead code, standing suppression debt (accumulated eslint-disable / type:ignore / noqa the gate only blocks when NEW), and TEST-SUITE QUALITY (coverage on critical modules + mutation testing — does the suite actually catch an injected bug, not just execute the line). Read-only: it measures and ranks (mostly major/minor; blocker only when rot is a real reliability risk) but NEVER edits product code — it files majors as rework tasks and writes .buildloop/release/code-health-audit.md. Mostly static, so it fans out freely. Re-runs after a fix to confirm the signal

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly