Prompt file imported from lichtblick-suite/lichtblick (
.github/prompts/lb-feature-adopt.prompt.md). Copyright stays with the author.
Use this workflow when adopting a specific upstream feature into a downstream branch.
Inputs
- Upstream PR/commit(s)/tag introducing the feature
- Local branch target
- Optional adoption constraints
Phase 1: Specify
- Describe the upstream feature:
- User value
- Technical scope
- Dependencies
- Define desired local outcome and acceptance criteria.
Phase 2: Plan
- Evaluate compatibility:
- Public/internal APIs
- Existing local modifications
- Performance and memory implications
- Choose adoption approach:
- Adopt as-is
- Adopt with adaptation
- Defer
- Reject
- Define implementation and validation plan.
Human checkpoint:
- Wait for approval on adoption decision and approach.
Phase 3: Tasks
Create concrete tasks for:
- Code integration
- Local adaptations
- Test updates
- Documentation updates
Phase 4: Implement and verify
- Integrate feature changes.
- Apply local adaptations with clear rationale.
- Verify acceptance criteria and regression safety.
Output format
- Feature summary
- Compatibility analysis
- Adoption decision + rationale
- Task checklist
- Validation results
- Deferred items