بنقرة واحدة
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 المهني
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
| 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.