Perplexity Refactor Plan
A Perplexity-tailored workflow for producing a refactor plan.
likes
PromptPal Team
Software Engineering, IT & Cybersecurity
0 uses
taxonomy:2026-06category:software-engineering-it-cybersecuritysubcategory:frontend-engineeringtool-hub:perplexityperplexityperplexityperplexity-aisource-backedcitationsai-tool-templateprompt-template
Template text
<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>Variables (5)
| Name | Type | Required |
|---|---|---|
| input_material | string | Yes |
| goal | string | Yes |
| audience | string | Yes |
| constraints | string | Yes |
| output_format | string | Yes |
Comments
Comments
(0)Please log in to add comments.