Review AI-generated business/application code for correctness, robustness, maintainability, performance, and security. Output a 0-10 score, a risk level, and a must-fix checklist. For C++ code,
REQUIRED
use
openharmony-cpp
and
openharmony-security-review
as hard constraints.
When to Use
AI-generated business/app code review or quality evaluation
Need scoring, risk level, or must-fix checklist
C++ business code must meet OpenHarmony coding/security requirements
Workflow
Identify language and code type (business vs test). If test code, use
ai-generated-ut-code-review
instead.
For C++: load and apply
openharmony-cpp
+
openharmony-security-review
as mandatory constraints.
Inspect behavior vs requirements, edge cases, error handling, resource management, and security.
Score by rubric, assign risk level, list must-fix items with concrete evidence (file/line or snippet).