opencode-apply-reconstituted-diffs
Installation
SKILL.md
Skill: OpenCode Apply Reconstituted Diffs
Goal
Apply reconstructed diff patches safely and validate that the workspace is consistent afterward.
Use This Skill When
- You have recovered patches from OpenCode sessions
- The user wants diffs applied to reconstitute lost work
- You need a controlled, auditable application of changes
Do Not Use This Skill When
- The changes already exist in a branch or git history
- The diffs are incomplete or untrusted
Inputs
- Patch files or diff directories
- Target repo root
- Required test or build commands