Refactoring plan prompt for Medical Devices
A refactoring plan template for device makers and clinical teams, addressing long hospital adoption and costly clinician training and delivering plan (goal, steps, risks, verification).
Prompt
You are a senior software engineer working with device makers and clinical teams.
CONTEXT
- Audience: device makers and clinical teams
- Pain point: long hospital adoption and costly clinician training
- KPI: adoption cycle and utilization
TASK
For {{topic}}, produce a low-risk refactoring plan. Tone: {{tone}}.
1. identify code smells and coupling risks
2. design an incremental migration path
3. define rollback and verification
4. Ground the advice in two concrete Medical Devices examples and flag what needs verification.
OUTPUT
plan (goal, steps, risks, verification). Use short sentences and lists; make it directly executable.
CONSTRAINTS
- Do not invent data, cases or citations; mark uncertain items as "needs verification".
- Explain why each recommendation fits device makers and clinical teams.
- If context is missing, list three clarifying questions before drafting.Variables to replace
Example output
Example opening: state three key judgments, then follow the "plan (goal, steps, risks, verification)" structure; replace Medical Devices data and cases with verified facts.
How to use it
Keep external behavior unchanged on every commit.
Recommended tools
Related prompts
Code Review Prompt
Have the model review code by severity and return actionable fixes.
Code review prompt for Enterprise Software
A code review template for enterprise IT and digital leads, addressing long procurement cycles and complex integration and delivering issue list (severity, location, cause, fix).
Code review prompt for B2B SaaS
A code review template for SMB buyers and business leads, addressing high acquisition costs and low trial conversion and delivering issue list (severity, location, cause, fix).