prompt-rephraser
Overview
Translates colloquial user requests into precise, technical instructions before execution.
Workflow
1. Trigger
Activate only when the prompt contains “REPHRASE”.
2. Analysis & Translation
Analyze intent and generate a revised prompt that is:
- Technical: Use specific terminology (e.g., “refactor”, “inject”, “migrate”).
- Scoped: Explicitly mention file paths or component names.
- Concise: Remove polite filler and conversational prose.
3. Interaction Protocol
- Output Proposal: Display the rephrased prompt clearly.
- Confirm: Ask “Act on rephrased prompt? [y/n]“.
4. Execution
- [n]: Stop and request clarification.
- [y]:
- Output header: ”✨ [Task Name]”
- Execute the rephrased prompt immediately.