opencode-extract-diffs

Official

Turn OpenCode artifact diffs into clean patches

Authoropen-hax
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenCode session artifacts often contain raw or inconsistent diff dumps. This skill cleans and structures them into usable patch files for review and application.

Core Features & Use Cases

  • Extracts diff snapshots from OpenCode artifacts and normalizes paths to be repo-relative.
  • Splits large diffs into per-file patches and validates patches with git apply --check.
  • Groups patches by feature or session for review and application.

Quick Start

Run a session that contains diff dumps and specify the target repository root to produce clean patch files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opencode-extract-diffs
Download link: https://github.com/open-hax/opencode-skills/archive/main.zip#opencode-extract-diffs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.