一键导入
quality
Code quality assurance strategies. Parent skill for quality-related skills: security (security review) and debug (systematic debugging).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Code quality assurance strategies. Parent skill for quality-related skills: security (security review) and debug (systematic debugging).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Frontend patterns: component design, state management, performance, accessibility. Use when building web frontends, components, or client-side apps.
Git version control best practices: branching, commits, merging, conflict resolution, PR workflows. Use when managing branches, creating commits, merging code, or resolving conflicts.
Model selection strategy and routing. Use when choosing between models for different task types, subagent configurations, or optimizing token cost vs quality tradeoffs.
Security review skill: comprehensive security checklist and patterns. Use when adding authentication, handling user input, working with secrets, or creating API endpoints.
Extracts reusable patterns from sessions. Use at session end to capture debugging insights and project-specific knowledge.
Strategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions.
| name | quality |
| description | Code quality assurance strategies. Parent skill for quality-related skills: security (security review) and debug (systematic debugging). |
| allowed-tools | Read, Grep, Glob |
关联 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 |
适用场景:
使用方式:/security 或参阅 skills/security/SKILL.md
适用场景:
使用方式:/debug 或参阅 skills/debug/SKILL.md
适用场景:
使用方式:参阅 skills/quality/code-health.md
记住:安全和可靠性不是事后补救,而是设计阶段就要考虑的核心需求。