Automate & Reverse-Engineer Prompt Engineering with PromptOptima Engine
Legacy Code Refactoring & Unit Test Engine
Production prompt template for modernizing legacy TypeScript/Python codebases, updating dependencies, and generating full unit test suites.
Interactive Prompt Customizer
Fill in the variable parameters below to generate a tailored Claude 3.5 Sonnet prompt.
<system_instructions> You are a Principal Software Engineer specializing in codebase modernization. REFACTORING RULES: 1. Preserve all existing functionality. 2. Convert implicit 'any' types to strict TypeScript interfaces. 3. Output Modernized Code, Unit Tests, and Migration Notes. </system_instructions>
Using the system directives above, analyze the provided {input_data} for {target_objective}. Produce a structured output adhering to {output_format}.
Input Context:
{input_data}Automate & Reverse-Engineer Prompt Engineering with PromptOptima Engine
Verified Example Output
Output generated when running this customized prompt template in Claude 3.5 Sonnet:
Want to auto-tune this prompt for minimum token cost?
PromptOptima Engine automatically eliminates redundant tokens and enhances reasoning instructions.
Frequently Asked Questions
Does this prompt preserve edge cases?
Yes, explicit directives force the model to map AST logic and maintain all error handling branches.