orchestrate-code-review
编排技能:代码审查(Orchestrate Code Review)
目的 (Purpose)
按固定顺序串联原子 review-* 技能并聚合 findings。本技能仅做编排,不执行代码分析。单维度审查请直接调用对应原子技能(如仅查 diff 用 review-diff、仅查安全用 review-security)。
编排职责(Orchestrator Role)
按命名规范,编排技能只做 4 件事:
- 检测上下文:根据用户意图与项目状态确定 scope(diff / codebase)、语言、框架
- 串联调用:按固定顺序 scope → language → framework → library → cognitive 执行原子 review-* 技能
- halt-on-failure:任一原子技能失败时停止后续,汇报已收集 findings
- 聚合输出:合并 findings、去重(位置 + 标题相同保留最高严重度)、机械派生 risk_signals
严禁:在本技能内执行代码分析、内嵌 lint 规则、为单一原子 skill 重复实现其逻辑。
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-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.
74