Skip to content
cccskills
FreePublished on GitHub

quality

Code quality assurance strategies. Parent skill for quality-related skills: security (security review) and debug (systematic debugging).

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md3.4 KB
  • code-health.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

代码质量保障

关联 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

质量检查清单

提交前必检

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

定期审查

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

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

api

Free

RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

Architecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture decisions.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

Backend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

Strategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

debug

Free

Systematic debugging methods, log analysis, and performance diagnostics. Use when debugging issues, analyzing errors, or troubleshooting incidents.

The English summary is being prepared. Showing the original description.

xiaobei930/cc-best48Updated Jun 13, 2026

See all skills by xiaobei930

Report a problem with this skill