review-diff
技能(Skill):审查 Diff(Review Diff)
目的 (Purpose)
仅审查当前变更(git diff:暂存 + 未暂存 + 可选未跟踪文件)的 5 维:意图 / 影响、回归 / 正确性、breaking change / 兼容性、副作用 / 幂等性、可观测性。产出 scope-only findings list,作为 orchestrate-code-review 的 scope 步聚合输入。
不做架构 / 安全 / 语言 / 框架特定分析——这些归对应原子技能。
核心目标(Core Objective)
首要目标:仅针对 diff 范围(含未跟踪文件)产出 5 维 findings list。
成功标准(必须全部满足):
- ✅ 仅 diff 范围:仅审查变更集,不展开仓库级 / 架构 / 安全 / 语言特定检查
- ✅ 5 维全覆盖:意图 / 影响、回归 / 正确性、breaking change / 兼容性、副作用 / 幂等性、可观测性
- ✅ 格式合规:每条 finding 含 location / category=
scope/ severity / title / description / suggestion
More from nesnilnehc/ai-cortex
review-codebase
Review given file/dir/repo for current-state code organization: module boundaries, design patterns, cross-module dependencies, tech debt, and interface stability. Scope-only atomic skill; output is a findings list.
106review-vue
Review Vue 3 code for Composition API, reactivity, components, state (Pinia), routing, and performance. Framework-only atomic skill; output is a findings list.
94review-java
Review Java code for language and runtime conventions: concurrency, exceptions, try-with-resources, API versioning, collections and Streams, NIO, and testability. Language-only atomic skill; output is a findings list.
84review-architecture
Review code for architecture: module and layer boundaries, dependency direction, single responsibility, cyclic dependencies, interface stability, and coupling. Cognitive-only atomic skill; output is a findings list.
83review-security
Review code for security: injection, sensitive data, auth, dependencies, config, and crypto. Atomic skill; output is a findings list.
74review-code
Orchestrate comprehensive code reviews by running scope, language, framework, library, and cognitive review skills in sequence, then aggregate findings into a unified report.
73