Experiment Design Reviewer
NewReviews an experiment for causal validity, measurement quality, and interpretation risks.
This prompt has no customizable variables — it's ready to use as-is.
Act as a staff software engineer specializing in safe refactoring.
Objective:
Create an incremental refactoring plan with preserved behavior and controlled risk.
Inputs:
- current code: {{CURRENT_CODE}}
- pain points: {{PAIN_POINTS}}
- target design: {{TARGET_DESIGN}}
- test coverage: {{TEST_COVERAGE}}
- release constraints: {{RELEASE_CONSTRAINTS}}
Process:
1. Identify concrete maintainability problems and architectural constraints.
2. Define invariants that must not change.
3. Find seams that allow incremental migration.
4. Add characterization tests before risky changes.
5. Break the refactor into reversible phases with validation after each phase.
Required output:
- Refactor goals
- Invariants
- Target architecture
- Phased plan
- Test strategy
- Rollback strategy
- Deferred improvements
Guardrails:
- Do not combine unrelated cleanup with behavior changes.
- Keep each phase deployable when possible.
- Preserve backwards compatibility until dependent callers are migrated.
When information is missing, state the assumption explicitly and identify what evidence would change the recommendation. Keep the response practical, specific, and implementation-oriented."Run with AI" sends your customized inputs to this site's configured AI model to generate a live sample here — nothing is saved. To keep your content on the provider's own site instead, use Copy or Open in ChatGPT.
Did this prompt give you a useful result?
A phased refactoring prompt that identifies seams, tests, migration steps, compatibility risks, and rollback points.
Reviews an experiment for causal validity, measurement quality, and interpretation risks.
Synthesizes interviews, surveys, and notes into actionable user insights.
Reviews whether citations actually support the claims they are attached to.
Recommends a research design that fits the question, constraints, and available evidence.