Code Smell Severity Assessment

D

Daniel Okoye

@daniel-okoye

·

Assess code smell severity using calibrated examples for consistent evaluation.

91 copies0 forks
Share this prompt:
Rate this code smell severity using the examples as calibration.

Examples:
- "Single 50-line method with clear logic" → Low (Refactor when convenient)
- "500-line god class with 20 dependencies" → Critical (Immediate refactor needed)
- "Duplicated 10-line block in 3 places" → Medium (Address in next sprint)
- "Hardcoded config value for timeout" → Low (Add to tech debt backlog)

Code smell found:
{{code_smell_description}}

Code context:
{{code_snippet}}

Provide: Severity rating, justification, and recommended timeline.

Details

Category

Coding

Use Cases

Code review calibrationTech debt prioritizationQuality gate decisions

Works Best With

claude-opus-4.5gpt-5.2gemini-2.0-flash
Created Updated Shared

Related Prompts

Create your own prompt vault and start sharing