quality

quality is a skill for Claude Code from xiaobei930/cc-best. It costs 26 tokens per session (859 once invoked), scanned A, original, MIT.

A set of strategies for checking software quality through security reviews, systematic debugging, and codebase health assessments.

In plain words
What is it for?
Use it when adding authentication, handling user input, creating APIs, debugging failures, investigating performance, or assessing codebase health.
Why use it?
It helps separate security risks, reliability problems, and technical debt so developers can choose a suitable way to investigate them.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cc-best plugin — 19 skills, 44 commands, 8 agents, 20 hooks shipped together

Good fit Use it when adding authentication, handling user input, creating APIs, debugging failures, investigating performance, or assessing codebase health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaobei930/cc-best/quality
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xiaobei930/cc-best --skill quality
Clone the repo
git clone --depth 1 https://github.com/xiaobei930/cc-best

Made for: Claude Code.

Or install cc-best, the plugin that ships this one along with the rest of its 19 skills, 44 commands, 8 agents, 20 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaobei930/cc-best/quality.svg)](https://agentmods.dev/skills/xiaobei930/cc-best/quality)
Your own site
<a href="https://agentmods.dev/skills/xiaobei930/cc-best/quality"><img src="https://agentmods.dev/badge/skills/xiaobei930/cc-best/quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00859
Opus 5 $0.00013 $0.00430
Sonnet 5 $0.00005 $0.00172
Haiku 4.5 $0.00003 $0.00086

Measured 3d ago against content hash a81ee50bc83f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

quality scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/quality/SKILL.md · 98 lines

What it actually says

代码质量保障

关联 Agent: code-reviewer(代码质量审查)、code-simplifier(简化重构)、security-reviewer(安全与质量交叉)

本技能提供代码质量保障策略,整合安全审查和系统化调试方法。

质量保障维度

┌───────────────────────────────────────────────────────┐
│                  代码质量保障                          │
├──────────────┬──────────────┬─────────────────────────┤
│   安全性      │    可靠性     │     健康度              │
│   (/security) │    (/debug)  │   (code-health)        │
├──────────────┼──────────────┼─────────────────────────┤
│ • 认证授权   │ • 系统化调试 │ • 技术债务识别          │
│ • 输入验证   │ • 日志分析   │ • 量化优先级            │
│ • 密钥管理   │ • 性能诊断   │ • 热点文件检测          │
│ • API 安全   │ • 错误追踪   │ • 债务分类评估          │
└──────────────┴──────────────┴─────────────────────────┘

策略选择

场景 推荐策略 子技能
添加认证/授权功能 安全审查 /security
处理用户输入 安全审查 /security
创建 API 端点 安全审查 /security
调试代码问题 系统化调试 /debug
分析错误日志 系统化调试 /debug
排查性能问题 系统化调试 /debug
Sprint 规划评估 健康评估 code-health
重构决策分析 健康评估 code-health
技术债务盘点 健康评估 code-health

子技能

1. security(安全审查)

适用场景

  • 认证授权实现
  • 用户输入处理
  • 密钥和敏感数据
  • API 端点设计

使用方式/security 或参阅 skills/security/SKILL.md

2. debug(调试方法)

适用场景

  • 代码问题调试
  • 错误日志分析
  • 性能问题诊断
  • 生产事故排查

使用方式/debug 或参阅 skills/debug/SKILL.md

3. code-health(健康评估)

适用场景

  • Sprint 规划时评估技术债务
  • 重构决策前分析热点文件
  • 代码复杂度趋势监控
  • 依赖健康状态检查

使用方式:参阅 skills/quality/code-health.md

质量检查清单

提交前必检

  • 无硬编码密钥/密码
  • 用户输入已验证/转义
  • 错误处理完善
  • 日志不泄露敏感信息
  • 测试覆盖关键路径

定期审查

  • 依赖安全更新
  • 权限最小化原则
  • 日志和监控完善
  • 错误处理一致性

记住:安全和可靠性不是事后补救,而是设计阶段就要考虑的核心需求。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 98 lines · 26 tokens per session scan A a81ee50bc83f

Subscribe to this mod's changes

quality is a skill published in the GitHub repository xiaobei930/cc-best (50 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 859 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.