💻 Coding
Refactor to production-ready
Refactor the following code for readability, performance, and error handling. Explain each change with rationale.
```
{code}
```AI Prompt Vault & Customizer
Filter by craft, fill your topic/brand/audience variables live across every card, and copy or launch straight into ChatGPT or Claude.
Beach sunset silhouettes, 3D wings name art, 90s vintage film aesthetic, and cinematic drone zoom reels. Copy prompts with zero login wall!
Refactor the following code for readability, performance, and error handling. Explain each change with rationale.
```
{code}
```Design a REST endpoint for {feature}. Include route, request/response schema (Zod), auth, edge cases, and example curl.Write thorough unit tests for the following function using {framework}. Cover happy path, edge cases, and failure modes.
```
{code}
```Design an AI agent that {goal}. Return system prompt, tool definitions with JSON schemas, memory strategy, guardrails, failure handling, evaluation set and cost estimate per run.Here is an error and the relevant code. Give the most likely root cause, two alternative hypotheses, the minimal fix, and a regression test.
{error}
```
{code}
```Act as a senior lead engineer. Review the following code, refactor it for production readiness, implement type safety with Zod/TypeScript, handle edge cases, and generate complete unit tests using {framework}.
```
{code}
```Design a normalized PostgreSQL schema for {feature} with indexes, foreign keys, RLS policies, and zero-downtime migration steps. Include example seed rows and common analytical queries.Audit this frontend component for re-renders, bundle bloat, hydration mismatches, and accessibility issues. Provide an improved production version.
```
{code}
```Every workspace on AI Is Everywhere connects seamlessly — move from prompts to tools, workflows, and converters in one place.
Browse copy-ready prompts with live variable fill and 1-click ChatGPT & Claude launch for every department.
Compare top AI tools, explore zero-signup file converters, and inspect role-tested AI software stacks.
Discover dedicated toolkits, daily automations, and step-by-step playbooks tailored to your exact role.