review-architecture
技能(Skill):审查架构
目的 (Purpose)
仅审查 架构 问题的代码。不要定义范围(差异与代码库)或执行语言/框架/安全分析;这些是单独的原子技能。以标准格式发出结果列表以进行聚合。重点关注模块和层边界、依赖方向、单一职责、循环依赖、接口稳定性以及耦合和扩展点。
核心目标(Core Objective)
首要目标:生成一个以架构为中心的发现列表,涵盖模块/层边界、依赖方向、单一责任、循环依赖、接口稳定性和给定代码范围的耦合。
成功标准(必须满足所有要求):
- ✅ 仅架构范围:仅审核架构维度;未执行范围选择、语言/框架约定、安全性或性能分析
- ✅ 涵盖所有六个架构维度:在相关的情况下评估模块/层边界、依赖方向、单一责任、循环依赖、接口稳定性和耦合
- ✅ 符合调查结果格式:每个调查结果包括位置、类别(“cognitive-architecture”)、严重性、标题、描述和可选建议
- ✅ 位置精确引用:所有发现都引用特定的模块、包或文件(不是模糊的描述)
- ✅ 可操作的输出:每个发现都提供了具体的重构建议或改进方向
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-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