| name | clinpub-modify |
| description | Modify completed analysis outputs. Clarifies modification scope (figure style, statistical method, variables), executes changes, verifies outputs, and records history in PLAN.md. Can be invoked from any phase. Triggers: modify figures, change analysis method, adjust chart style, replace variables. |
ClinPub Modify
Modify completed Phase 2 analysis outputs. Support two categories:
- Style modifications: color, font, chart type, layout adjustments (re-render figures)
- Method modifications: statistical test change, variable replacement, parameter adjustment, new method addition (re-run analysis)
Execution Context
- Workflow:
pipeline/workflows/modify.md
- References:
pipeline/references/analysis_methods.md, r_patterns.md
- Agent:
agents/modify-agent.md
Process
Execute the modification workflow from pipeline/workflows/modify.md end-to-end.
Success Criteria
- Modification scope defined and user-confirmed
- All modifications executed and verified
- Modified figures meet publication standards (>=300 DPI, English labels)
- Statistical reports include effect size + 95%CI + exact p-value
- Modification history appended to PLAN.md
- User informed about manuscript update requirement