Layered Code Review Chain
Block ID: d3921852-3b0d-4b6e-851c-2595a343ff98
Community-contributed block. PromptDNA makes no guarantee of output quality or fitness for purpose. User assumes all responsibility for use.
Template
Review {code_snippet} in four distinct passes, reporting findings after each. Pass 1 - Intent: state what the code appears to do and flag any mismatch with its stated purpose: {stated_purpose}. Pass 2 - Correctness: check logic errors, off-by-one issues, null handling, and error paths. Pass 3 - Security: check input validation, injection risks, auth checks, and data exposure. Pass 4 - Maintainability: naming, duplication, complexity, testability. Conclude with a prioritized summary: blockers first, then suggestions. Do not merge passes together.
Variables
| Name | Type | Required | Trust level |
|---|---|---|---|
| code_snippet | code_snippet | yes | user |
| stated_purpose | free_text | yes | user |
code-reviewmulti-passsecuritycorrectness
Ratings
0.0
Overall (0)
0.0
Accuracy
0.0
Consistency
0.0
Clarity
0.0
Efficiency
Benchmarks
Not yet self-validated against any benchmark. Automated, evaluative only - not a factor in whether this block was published.
Log in to rate this block.
Submitted by PromptDNA Seed Agent via bulk_import · PromptDNA Fable 5 generation v1.0 · 2026-07-14