shine-reapply-patches

Merge saved user-local patches back into updated SHINE installations.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/diShine-digital-agency/SHINE-Code-System --skill shine-reapply-patches
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shine-reapply-patches
Source: https://github.com/diShine-digital-agency/SHINE-Code-System/tree/main/skills/shine-reapply-patches
Command: npx skills add https://github.com/diShine-digital-agency/SHINE-Code-System --skill shine-reapply-patches

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After a SHINE update wipes and reinstalls files, this command merges user's previously saved local modifications back into the new version. It uses three-way comparison (pristine baseline, user-modified backup, newly installed version) to reliably distinguish user customizations from version drift.

Core Features & Use Cases

  • Three-way patch reapplication: Reintegrates user changes from shine-local-patches into the updated SHINE install.
  • Baseline-aware merge: Distinguishes user customizations from upstream changes using pristine baseline when available.
  • Conflict handling & guidance: Flags conflicts for user review and provides merge rationale and options.

Quick Start

Run the patch reapplication flow after a SHINE update to restore your local modifications.

Frequently Asked Questions about shine-reapply-patches

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restore local modifications after a SHINE update overwrites my files?▼

To restore local modifications after a SHINE update, merge saved user patches back into the new installation using a three-way comparison. This process distinguishes your customizations from upstream version drift by comparing the pristine baseline, your modified backup, and the newly installed version.

What is three-way merge conflict resolution for local patches?▼

Three-way merge conflict resolution for local patches compares the pristine baseline, user-modified backup, and new installation to reconcile changes. When both the user patch and the new version modify the same code, it raises conflicts for manual resolution and provides per-file merge guidance.

How does baseline reconciliation work when reapplying patches to an upgraded installation?▼

Baseline reconciliation works by enforcing a comparison against a pristine baseline or git history before merging. This ensures user customizations are accurately distinguished from upstream changes during the patch reapplication workflow, preventing accidental overwrites of your local modifications.

Can I use git history for conflict resolution if a pristine baseline is unavailable?▼

Yes, you can use git history for conflict resolution if a pristine baseline is unavailable. The merge enforces baseline reconciliation via pristine files or git history, applying an enhanced two-way merge to reliably reintegrate your local patches into the updated SHINE install.

What happens when both my local patch and the new SHINE version change the same file?▼

When both your local patch and the new SHINE version change the same file, the merge raises conflicts for manual resolution. It surfaces per-file merge results with clear guidance and merge rationale, ensuring you review and correctly integrate both sets of modifications.

When should I run a patch reapplication workflow for SHINE upgrades?▼

You should run a patch reapplication workflow immediately after completing a SHINE upgrade. Running it right after the update ensures your local modifications are merged into the new installation before any further changes, minimizing version drift and simplifying conflict resolution.