360 Secure SkillHub
360 安全技能中心

Code Quality Guard

面向预部署阶段的代码质量检查 Skill,按清单核对组件导入、JSX/HTML 标签闭合、环境变量与端口配置,并扫描调试输出和疑似密钥;以审查发现和修复建议形式输出。

balkanblbn
balkanblbn
热度 88.26
最近更新 2026-05-17 13:01:49
分类:开发依赖:纯提示词应用场景:代码审查 / 调试排错

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add code-quality-guard
Metadata
name
code-quality-guard
description
Professional pre-deployment code review and quality enforcement. Ensures imports are valid, tags are closed, and logic follows best practices before announcing a build is live.

Code Quality Guard

Ship cleaner code, faster. Never let a missing import break your production again.

Checklist

  1. Import Sweep: Check every component used against the import block.
  2. Tag Verification: Ensure all JSX/HTML tags are balanced.
  3. Environment Audit: Verify required env vars and ports.
  4. Log Review: Scan for debug prints and secrets.

Usage

Run as a pre-build hook to catch "ReferenceErrors" before the human sees them.

Installation

clawhub install code-quality-guard