Agent skill

Quality Guardian

by CaoMeiYouRen in CaoMeiYouRen/caomei-auth

运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。

MITAuto-check passedTesting & QA

Install Quality Guardian

skills CLI
$ npx skills add CaoMeiYouRen/caomei-auth --skill quality-guardian -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CaoMeiYouRen/caomei-auth quality-guardian --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CaoMeiYouRen/caomei-auth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/quality-guardian .claude/skills/quality-guardian && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
quality-guardian
GitHub stars
220
Token cost
~358 tokens
SKILL.md length
95 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。

  • Tasks that involve Linting and formatting
  • SKILL.md covers 工作流, 常见检查, 项目特化提示 and 反模式, plus 1 more section
  • Calls pnpm and npx
  • Tasks that involve Quality gates

What it does

Quality Guardian is an agent skill from CaoMeiYouRen/caomei-auth. 运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Linting and formatting and Quality gates. It works with pnpm. The repository describes itself as: 草梅 Auth 是一个基于 Nuxt 全栈框架的统一登录平台。支持 OAuth2.0 协议,集成邮箱、用户名、手机号、验证码、社交媒体等多种登录注册方式。 The licence is MIT.

When your agent uses it

  • Tasks that involve Linting and formatting
  • Tasks that involve Quality gates

Example prompts

  • “/quality-guardian”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 7bd3bae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Quality Guardian loads about 358 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 95 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~358

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CaoMeiYouRen/caomei-auth at commit 7bd3bae, republished under its MIT licence (© CaoMeiYouRen). 95 words, ~358 tokens.

Download SKILL.mdSave it as .claude/skills/quality-guardian/SKILL.md (or your agent's skills folder).
name
quality-guardian
description
运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。
metadata.internal
true

Quality Guardian

铁律:不要把“命令跑过了”当成质量结论。必须解释跑了什么、为什么跑、失败在哪里、是否允许继续。

工作流

  • Step 1: 评估所需检查 ⚠️ REQUIRED
    • 1.1 根据改动类型判断要跑 lint、test、typecheck 还是组合检查。
    • 1.2 区分快速验证和全量验证。
  • Step 2: 执行质量门 ⚠️ REQUIRED
    • 2.1 优先使用 package.json 中真实存在的脚本。
    • 2.2 如果没有精细脚本,再说明为什么只能跑更重的检查。
    • 2.3 ⚠️ 绕过 pnpm run 执行质量门:pnpm run lint 会触发依赖状态检查 → 自动 pnpm install → 可能因 ERR_PNPM_IGNORED_BUILDS 退出码 1 而失败,掩盖真实的 lint 结果。正确做法是直接调用二进制:
      powershell
      & "node_modules\.bin\eslint.cmd" .
      & "node_modules\.bin\vitest.cmd" run
      或者用 npx <binary>(如果二进制支持 npx 模式)。避免在执行质量门时引入不必要的依赖检查副作用。
  • Step 3: 分析结果
    • 3.1 提炼失败文件、错误类别和根因,而不是整段贴日志。
    • 3.2 明确这是阻塞问题、建议问题,还是外部已知问题。
  • Step 4: 给出放行结论
    • 4.1 明确是否允许进入提交、发布或下一阶段。
    • 4.2 如果未跑某些检查,说明原因和残余风险。

常见检查

  • pnpm lint
  • pnpm lint:md
  • pnpm test

项目特化提示

  • 如果仓库提供 typecheck 或等价的类型检查脚本,应纳入质量门;如果没有,必须明确说明当前缺少该层验证。
  • 如果全量测试成本过高,优先运行与改动范围直接相关的测试文件或测试集。
  • 输出结论时要把“脚本不存在”和“脚本通过”严格区分。

反模式

  • 不看 package.json,臆造并不存在的脚本。

  • 把失败日志原样倾倒给用户,不提炼根因。

  • 没跑全量检查却假装“全部通过”。

  • 使用 pnpm run 执行 lint/test,触发不必要的依赖状态检查,导致 ERR_PNPM_IGNORED_BUILDS 伪装成质量门失败。

交付前检查

  • 已基于变更范围选择质量门。
  • 使用的命令都真实存在。
  • 已明确失败根因或残余风险。
  • 输出包含能否继续下一阶段的判断。

© CaoMeiYouRen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/quality-guardian of CaoMeiYouRen/caomei-auth.

Open the folder on GitHubat commit 7bd3bae

Compare with similar skills

Quality Guardian next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Quality Guardian compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Quality Guardian this skillCaoMeiYouRen/caomei-auth220—~358Automated safety check: PassMIT
Validatecortex-tms/cortex-tms180—~178Automated safety check: NotesMIT
Ha Frontend Testinghome-assistant/frontend5.7k—~1.7kAutomated safety check: PassApache-2.0
Babysit PRZenUml/web-sequence150—~871Automated safety check: PassMIT
Checkav1155/houndarr292—~366Automated safety check: PassAGPL-3.0
Spec ReviewAI-Unified-Process/marketplace142—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Validate

    cortex-tms/cortex-tms

    Run the full quality gate — tests, lint, build, and cortex-tms validate --strict.

    180 GitHub stars~178 tokensUpdated 2 days ago
    Testing & QAAuto-check: notes
  • Ha Frontend Testing

    home-assistant/frontend

    Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • Babysit PR

    ZenUml/web-sequence

    Monitor and diagnose GitHub Actions checks on ZenUML web-sequence PRs, fixing code-caused CI failures when appropriate.

    150 GitHub stars~871 tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • Check

    av1155/houndarr

    Run Houndarr's full quality gate (ruff lint, ruff format check, mypy, bandit, pytest) and report results in a single table.

    292 GitHub stars~366 tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • Spec Review

    AI-Unified-Process/marketplace

    Reviews the specification artifacts in docs/ (requirements, use case diagram, use case specifications, test cases, BPMN process models, entity model, glossary) against each other in two parts: a…

    142 GitHub stars~2.9k tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…

    318 GitHub stars~2.7k tokensUpdated 2 days ago
    Testing & QAAuto-check passed

More from CaoMeiYouRen/caomei-auth

All 14 skills in this repo
  • Code Reviewer

    CaoMeiYouRen/caomei-auth

    审查当前 git 变更、PR、提交范围、技能定义文件、架构调整或安全敏感代码时使用。输出结构化 Review Gate 结论(Pass/Reject)、问题分级(blocker/warning/suggest)、最低验证矩阵、证据链与复查基线。覆盖正确性、安全、架构、SOLID、可删除代码、性能、异常处理与测试风险;默认只输出 review,不直接修改代码。用户提到 review、code…

    220 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Full Stack Master

    CaoMeiYouRen/caomei-auth

    需要统筹需求澄清、上下文扫描、技术方案、前后端实现、UI 验证、测试、质量审查、文档同步和提交节奏时使用。它负责编排多技能协作,而不是亲自替代所有专业技能。用户提到 end-to-end workflow、全流程开发、从需求到提交、PDTFC+、多技能编排时都应触发。

    220 GitHub stars~1k tokensUpdated 10 days ago
    Auto-check passed
  • Devops Specialist

    CaoMeiYouRen/caomei-auth

    修改 Docker、CI/CD、部署配置、环境变量、运行时参数、构建脚本和发布流程时使用。优先覆盖 Docker、Vercel、Cloudflare 与 GitHub Actions 场景。用户提到 deploy、Dockerfile、workflow、CI、CD、environment variables、build pipeline、release config 时都应触发。

    220 GitHub stars~446 tokensUpdated 10 days ago
    Auto-check: notes
  • Gh CLI

    CaoMeiYouRen/caomei-auth

    使用 GitHub CLI(gh)处理仓库、issue、pull request、workflow、project、release、codespace、gist、search、api、auth、config、alias、secret、variable、extension、ruleset 和 status 等命令行操作时使用。用户提到 gh、gh cli、GitHub CLI、gh…

    220 GitHub stars~460 tokensUpdated 10 days ago
    Auto-check passed
  • Backend Expert

    CaoMeiYouRen/caomei-auth

    设计或实现后端 API、服务层、数据库读写、鉴权权限控制、输入校验、事务处理与错误处理时使用。用户提到 API、route、handler、server、auth、permission、drizzle、database、zod、Hono、Nuxt server routes、backend bug 修复时都应触发。

    220 GitHub stars~329 tokensUpdated 10 days ago
    Auto-check passed
  • Context Analyzer

    CaoMeiYouRen/caomei-auth

    在动手规划、修改、调试或回答复杂项目问题前使用。用于快速扫描项目结构、依赖、约束文档、关键文件和调用链,输出任务相关上下文,而不是直接改代码。用户提到 analyze context、scan repo、understand project、定位实现、找规范、排查调用链时都应触发。

    220 GitHub stars~296 tokensUpdated 10 days ago
    Auto-check passed

Works with

Categories

Questions about Quality Guardian

What does Quality Guardian do?

运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。. Quality Guardian is an agent skill from CaoMeiYouRen/caomei-auth.

When should I use Quality Guardian?

Quality Guardian fits situations like: tasks that involve Linting and formatting; tasks that involve Quality gates.

How do I install Quality Guardian in Claude Code?

Run `npx skills add CaoMeiYouRen/caomei-auth --skill quality-guardian -a claude-code`. Or copy the skill folder (.github/skills/quality-guardian in CaoMeiYouRen/caomei-auth) into .claude/skills/quality-guardian in your project. Claude Code loads it when a task matches its description.

How do I install Quality Guardian in Codex?

Run `npx skills add CaoMeiYouRen/caomei-auth --skill quality-guardian -a codex`. Or copy the skill folder (.github/skills/quality-guardian in CaoMeiYouRen/caomei-auth) into .agents/skills/quality-guardian in your project. Codex loads it when a task matches its description.

Can I use Quality Guardian in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CaoMeiYouRen/caomei-auth --skill quality-guardian -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quality-guardian, .gemini/skills/quality-guardian, .github/skills/quality-guardian and .opencode/skills/quality-guardian in your project.

What does Quality Guardian need to run?

Going by SKILL.md and its folder, Quality Guardian needs the command-line tools its instructions call (pnpm and npx). Our summary lists: Node.js.

Does Quality Guardian access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Quality Guardian safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Quality Guardian use?

Quality Guardian is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Quality Guardian use?

About 358 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Quality Guardian?

Skills that share tags, products or a category with Quality Guardian: Validate (cortex-tms/cortex-tms, 180 stars), Ha Frontend Testing (home-assistant/frontend, 5.7k stars), Babysit PR (ZenUml/web-sequence, 150 stars) and Check (av1155/houndarr, 292 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Quality Guardian?

CaoMeiYouRen (a GitHub user) maintains it in CaoMeiYouRen/caomei-auth, which has 220 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 1, 2026.

Source: CaoMeiYouRen/caomei-auth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.