BrowsePrompt

More in this categoryCoding Prompts

04 / 06

Coding prompt

Refactor Legacy Function

Clean up legacy code without breaking behavior.

Published

  1. Refactor prompt

    Refactor this legacy function for readability and performance WITHOUT changing its behavior. Apply: meaningful variable names, extract helper functions, remove duplication, and modern [LANGUAGE] idioms. Show a before/after diff summary of what changed and why. Code: [PASTE CODE]
  • Coding Prompts2 phases

    Plan Feature Then Build

    Plan a feature first, then build it agentically.

    • Windsurf
    By Priya Sharma
  • Coding Prompts

    Unit Tests Generator

    Full unit test suites with edge cases covered.

    • Windsurf
    By Aarav Mehta
  • Coding Prompts2 phases

    Codebase Question to Fix

    Understand the codebase, then implement the fix.

    • Cursor
    By Sofia Carter