Refactoring plan workflow for Pharma
The value of Refactoring plan is the repeatable decision process, not a one-off output. This workflow starts from Pharma constraints, defines acceptance criteria, executes step by step and finishes with a medical reach and compliance review.
Workflow
- 1
Define the goal and constraints
Clarify the problem and its boundaries. Measure with medical reach and compliance; first establish the current state of low efficiency in medical communication and compliance risk and what is acceptable.
- 2
identify code smells and coupling risks
identify code smells and coupling risks. Ground it in two concrete Pharma situations instead of generic advice.
- 3
design an incremental migration path
design an incremental migration path. Then check it against the criteria from step 1 and flag what still needs human review.
- 4
Deliver and review
Deliver "plan (goal, steps, risks, verification)", then review against medical reach and compliance: what is usable, what needs more data and what to change next.
FAQ
Who is this workflow for?
For pharma medical and marketing teams, especially teams that need to standardize Refactoring plan and reduce repeated communication.
What should I prepare before starting?
Prepare the topic, the medical reach and compliance target and available materials; write a one-page brief on low efficiency in medical communication and compliance risk.
How do I know it worked?
Compare medical reach and compliance, cycle time and rework count before and after; if two rounds show no improvement, adjust the prompt or workflow.
Related skills
AI Code Review
Use AI for a first review pass so human attention goes to architecture, edge cases and security instead of formatting.
Legacy Refactor
Refactor legacy code without changing external behavior by adding tests, finding seams and replacing in small steps.
Test Generation
Generate tests that catch real defects instead of happy-path ceremony.