返回 Skill 列表
extension
分类: 开发与工程无需 API Key

classifying-review-findings

在将代码审查结果分类为不同的严重性级别时使用此技能。适用于决定在PR评论中使用哪个表情符号和标签,决定是否需要标记某个问题,或将发现的问题分类为CRITICAL(关键)、IMPORTANT(重要)、DEBT(技术债务)、SUGGESTED(建议)或QUESTION(疑问)。

person作者: jakexiaohubgithub

Classifying Review Findings

Severity Categories

| Emoji | Category | Criteria | | ----- | --------- | ------------------------------------------------------------------------------ | | ❌ | CRITICAL | Will break, crash, expose data, or violate requirements | | ⚠️ | IMPORTANT | Missing error handling, unhandled edge cases, could cause bugs | | ♻️ | DEBT | Duplicates patterns, violates conventions, needs rework within 6 months | | 🎨 | SUGGESTED | Measurably improves security, reduces complexity by 3+, eliminates bug classes | | ❓ | QUESTION | Requires human knowledge - unclear requirements, intent, or system conflicts |

ALWAYS use hybrid emoji + text format for each finding (if multiple severities apply, use the most severe: ❌ > ⚠️ > ♻️ > 🎨 > ❓):

Before Classifying

Verify ALL three:

  1. Can you trace the execution path showing incorrect behavior?
  2. Is this handled elsewhere (error boundaries, middleware, validators)?
  3. Are you certain about framework behavior and language semantics?

If any answer is "no" or "unsure" → DO NOT classify as a finding.

Not Valid Findings (Reject)

  • Praise ("great implementation")
  • Vague suggestions ("could be simpler")
  • Style preferences without enforced standard
  • Naming nitpicks unless actively misleading
  • PR metadata issues (title, description, test plan) - handled by summary skill, not classified here
  • Renovate/Dependabot minor/patch updates to existing dependencies with passing CI — these are routine Stage 5 monitoring, not reviewable findings

Suggested Improvements (🎨) Criteria

Only suggest improvements that provide measurable value:

  1. Security gain - Eliminates entire vulnerability class (SQL injection, XSS, etc.)
  2. Complexity reduction - Reduces cyclomatic complexity by 3+, eliminates nesting level
  3. Bug prevention - Makes entire category of bugs impossible (type safety, null safety)
  4. Performance gain - Reduces O(n²) to O(n), eliminates N+1 queries (provide evidence)

Provide concrete metrics:

  • ❌ "This could be simpler"
  • ✅ "This has cyclomatic complexity of 12; extracting validation logic would reduce to 6"

If you can't measure the improvement, don't suggest it.