360 Secure SkillHub
360 安全技能中心

Code Quality Enforcer / 代码质量强制检查器

核心功能:支持40+语言,通过统一配置执行自定义lint、复杂度、覆盖率规则,自动拦截不合规代码合并,扫描安全反模式;Pro版提供AI修复建议、CI无缝集成。典型场景:创业团队控技术债、多语言企业统一质量标准、开源维护者保贡献代码质量。输入为git推送,输出检查结果、拦截通知或修复建议。

kingaiwork
kingaiwork
热度 12.41
最近更新 2026-07-11 06:00:24
分类:开发依赖:代码执行 / 第三方 API / 内部调用大模型应用场景:代码审查 / DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add code-quality-enforcer
Metadata
name
code-quality-enforcer
description
Enforce custom linting, complexity, and coverage rules across any language before merge. / 在合并前跨任意语言强制执行自定义 lint、复杂度及覆盖率规则。
version
1.0.0
topics
["code-quality","linting","static-analysis","ci","代码质量","静态分析","自动化检查"]
metadata
{"openclaw":{"requires":{"bins":["bash","curl"]},"emoji":"📏","homepage":"https://kingai.work/","install":[]}}

📏 Code Quality Enforcer / 代码质量强制检查器

Enforce custom linting, complexity, and coverage rules across any language before merge. / 在合并前跨任意语言强制执行自定义 lint、复杂度及覆盖率规则。

🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work


The Problem / 痛点

Manual Code Quality Enforcer / 代码质量强制检查器 takes too long. This tool automates it.

The Solution / 方案

• Enforce custom linting rules across 40+ languages with one unified config / 通过统一配置,在40+种语言中强制执行自定义lint规则,让团队告别风格混乱 • Block merges when code complexity exceeds your team's threshold / 当代码复杂度超标时自动拦截合并,从源头杜绝“祖传代码” • Set per-branch or per-file coverage gates that update on every push / 针对分支或文件设置覆盖率红线,每次推送自动更新,守住质量底线 • Automatically scan and flag security anti-patterns before review begins / 审查开始前自动扫描并标记安全反模式,把漏洞扼杀在萌芽 • [Pro] Generate instant fix suggestions for lint, complexity, and coverage failures / [Pro] 针对lint、复杂度和覆盖率失败,秒级生成修复建议,节省80%修改时间 • [Pro] Integrate with your CI pipeline to enforce rules without slowing down local dev speed / [Pro] 与CI管道无缝集成,强制规则执行却丝毫不拖累本地开发效率

Get Started / 上手

git push origin feature-branch This push triggers an automated pre-merge check that enforces all custom code quality rules. / 此推送触发自动化合并前检查,强制执行所有自定义代码质量标准。 

Real Scenarios / 实际场景

• A startup's five-person team keeps pushing half-finished code with high cyclomatic complexity — the tool blocks merges until they refactor, keeping tech debt low. / 创业公司五人团队老推送高圈复杂度的半成品代码,该工具拦截合并直到重构完成,让技术债始终处于低位。 • An enterprise with 200+ microservices needs every language (Go, Python, Rust) to follow the same coverage standard — the unified config enforces it across all repos. / 拥有200+微服务的企业要求每种语言(Go、Python、Rust)遵守相同覆盖率标准,统一配置跨所有仓库强制执行。 • An open-source maintainer wants to ensure contributors don't lower code quality — the tool automatically fails PRs that drop below the coverage bar. / 开源维护者希望确保贡献者不降低代码质量,该工具自动驳回低于覆盖度门槛的PR。

Plans / 定价

Free Pro
Core / 核心 ✅ ✅
Bulk / 批量 — ✅
AI / AI 增强 — ✅
Support / 支持 Community Priority

• Unlock instant auto-fix suggestions for lint errors and complexity violations, saving hours of manual cleanup per week. • 解锁lint错误和复杂度违规的即时自动修复建议,每周节省数小时手动清理时间。 • Get deep CI integration that enforces rules across all branches without modifying your pipeline code. • 获得深度CI集成,无需修改管道代码即可跨所有分支强制执行规则。 • Access advanced security scanning that flags real-world vulnerabilities before they reach production. • 访问高级安全扫描,在真实漏洞进入生产环境前抢先标记。\n\n

📦 Published by King AI — kingai.work