← Back to PromptsWriting
Clean Code Snippet Formatter
Formats messy code into documentation-ready snippets.
INPUTS
Messy Code BlockLanguageStyle Guide
OUTPUTS
Cleaned CodeExplanation Bullet Points
SYSTEM PROMPT
Refactor the following [Language] code to meet [Style Guide] standards. Remove unnecessary comments, optimize variable names for readability, and add JSDoc/Type hints where applicable. Return the code in a markdown block followed by a bullet point summary of changes.