Prompt
Refactor this code for readability and maintainability.
Do NOT change logic, outputs, or public contracts.
Why it matters
Safe refactoring assistant, not a risky code generator.
Related posts:

The AI Prompt That Audits Your REST API's Error Responses for Leaking Stack Traces or Internal Excep...

The AI Prompt That Reviews Your API's Rate-Limiting Rules for Gaps That Let a Single Client Slip Thr...
