一键导入
review-code
Review code changes for OMS-specific patterns, security issues, and best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code changes for OMS-specific patterns, security issues, and best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | review-code |
| description | Review code changes for OMS-specific patterns, security issues, and best practices |
| disable-model-invocation | false |
| allowed-tools | Read, Grep, Glob |
Perform comprehensive code review for OMS project following established patterns and security requirements.
[Authorize] attribute[AutoInject(ServiceLifetime.Scoped)].Result or .Wait() callsBeginTransaction()ApiResponse<T> wrapperapi/[controller][FromBody], [FromQuery], etc.Entity suffixSplitLayout for resizable panels (not manual Flex/Grid)MoreOutlined dropdownuseDraggableModal<script setup lang="ts">ref, reactive appropriatelycomputedwatch or watchEffectsrc/api/{module}.tsrequest from @/utils/requestmessage.error() for user feedbackmessage.success() for confirmationsconsole.log in production code.Result or .Wait() on async callsCode Review Report
==================
Summary:
- Files reviewed: X
- Critical issues: X
- High priority: X
- Medium priority: X
- Low priority: X
Critical Issues:
1. [File:Line] Issue description
Recommendation: Specific fix
High Priority Issues:
1. [File:Line] Issue description
Recommendation: Specific fix
Good Practices:
- What was done well
- Patterns followed correctly
Overall Assessment:
[Summary of code quality and readiness]
For simple, safe fixes, offer to automatically fix:
Always ask for confirmation before modifying code.
Add a new API endpoint with controller, service, and DTOs following OMS patterns
Add a new database entity with migrations for all three databases (MySQL, MSSQL, PostgreSQL)
Add a new mobile page to frontend.h5 using Vant 4 components
Add a new frontend page with proper layout, table, and API integration following OMS UI standards
Audit backend code to ensure all queries properly filter by OrgId for multi-tenant security
Debug and troubleshoot issues in the OMS system with systematic approach