review-vue
技能(Skill):审查 Vue
目的 (Purpose)
仅查看 Vue 3 代码的 框架约定。不要定义范围(差异与代码库)或执行安全/架构分析;这些是通过范围和cognitive技能来处理的。以标准格式发出结果列表以进行聚合。重点关注组合 API 和 <script setup>、反应性(ref/reactive、compute/watch)、组件边界和 props/emits、状态(Pinia/store)、路由和防护、性能(例如 v-memo)以及相关的可访问性。
核心目标(Core Objective)
首要目标:生成 Vue 3 框架调查结果列表,涵盖组合 API 使用情况、反应性正确性、组件边界、状态管理、路由、性能和给定代码范围的可访问性。
成功标准(必须满足所有要求):
- ✅ 仅 Vue 3 框架范围:仅审查 Vue 3 框架约定;未执行范围选择、安全性或架构分析
- ✅ 涵盖所有七个 Vue 维度:组合 API/脚本设置、反应性(参考/反应/计算/监视)、组件边界/道具/发射、状态 (Pinia)、路由/防护、渲染性能和可访问性(如果相关)
- ✅ 结果格式兼容:每个结果包括位置、类别(
framework-vue)、严重性、标题、描述和可选建议 - ✅ 组件/文件引用:所有发现都引用特定文件:行或组件名称
- ✅ 排除非 Vue 代码:除非明确在范围内,否则不会分析非 Vue 文件的 Vue 特定规则
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-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