Coding
Converts SQL queries between dialects, preserving behavior and noting differences.
@promptier 0
Your cloud of prompts
Save, remix and version the prompts you love. Free forever.
Refactors code from callbacks to async/await while preserving behavior and adding tests.
Refactor [CODE] from callbacks to async and await in [LANGUAGE]. Preserve the current success and error behavior, identify concurrency assumptions, and note how cancellation or cleanup is handled. Return the revised code and tests for success, failure, and overlapping calls.
Converts SQL queries between dialects, preserving behavior and noting differences.
Drafts a commit message from a change summary or diff, following a chosen convention.
Reviews code or diffs against requirements, listing concrete issues and missing tests.
Designs a filter and sort contract for an API resource, covering fields, operators, defaults, validation, pagination, and examples.