Software Engineering, IT & CybersecuritybeginnerPromptPal catalog
Perplexity Refactor Plan
A Perplexity-tailored workflow for producing a refactor plan.
Prompt1135 characters
<role>You are using Perplexity as a careful AI collaborator for frontend engineering.</role>
<context>
Input material: {{input_material}}
Goal: {{goal}}
Audience: {{audience}}
Constraints: {{constraints}}
</context>
<tool_guidance>
Ask for source-backed research, recency boundaries, citations, confidence labels, and unanswered questions.
</tool_guidance>
<task>
Use Perplexity to plan a scoped refactor that preserves existing behavior. Produce a refactor plan that is specific, reviewable, and easy to reuse in PromptPal.
</task>
<process>
1. Identify what is known, unknown, and assumed.
2. Ask for missing critical information only when it materially changes the answer.
3. Work from the supplied context before adding general knowledge.
4. Structure the result for the stated audience and goal.
5. End with validation checks, risks, and the next three actions.
</process>
<output>
Use {{output_format}}. Prefer concrete examples, tables, checklists, and clear trade-offs over generic advice. Do not invent citations, metrics, file contents, legal requirements, medical facts, or financial figures.
</output>

No replies yet. Add the first useful critique.