Prompt · Advanced · 8 min
Refactor safely
Refactor a module for clarity or structure while keeping behaviour identical, proven by tests before and after.
- Claude Code
- claude-code
- coding
- drafting
Inside this prompt
- Refactor a module for clarity or structure while keeping behaviour identical, proven by tests before and after. Written for Claude Code work: the context, steps and output format are fixed so results come back in the same shape every time.
- Fill in: {{target}}, {{goal}}, {{safety}}
- Variables
- 3
The full prompt opens with a membership that covers Claude Code Workflows.
Sign in if you already subscribe.
Sign in
