review-codebase
技能(Skill):审查代码库(Review Codebase)
目的 (Purpose)
对给定路径(单文件 / 目录 / 仓库)的当前状态做 scope-only 原子审查。与 review-diff(仅审查 git 变更)成对作为 orchestrate-code-review 的 scope 步候选——本技能看快照,review-diff 看变更。
不做:安全 / 性能 / 架构等 cognitive 维度(由 cognitive 步的原子技能 review-security / review-performance / review-architecture 承接),也不做语言或框架特定分析(由 language / framework 步承接)。
核心目标(Core Objective)
首要目标:产出 scope-only findings list,识别给定路径的结构性问题(边界、模式、依赖、技术债、接口)。
成功标准(必须全部满足):
- ✅ 范围已确认:分析前确认用户的路径或目录
- ✅ 5 维已覆盖:模块边界、模式一致性、跨模块依赖、技术债、接口稳定性均输出 findings
- ✅ 位置精确:每个 finding 含
file:line引用
More from nesnilnehc/ai-cortex
review-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-diff
Review only git diff for impact, regression, correctness, compatibility, and side effects. Scope-only atomic skill; output is a findings list for aggregation.
91review-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