gsd-reapply-patches

Merge local patches into updated GSD files with conflict prompts.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/onelee85/my-skills --skill gsd-reapply-patches-onelee85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-reapply-patches
Source: https://github.com/onelee85/my-skills/tree/main/gsd-reapply-patches
Command: npx skills add https://github.com/onelee85/my-skills --skill gsd-reapply-patches-onelee85

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reapply local modifications after a GSD update to prevent loss of user changes when files are overwritten by upstream updates.

Core Features & Use Cases

  • Automatic detection of common local-patches directories and patches backups.
  • Intelligent merge of user modifications into newly installed versions with conflict flags when necessary.
  • Status reporting and optional patch-backup management to support future updates.

Quick Start

Run the gsd-reapply-patches command after updating GSD to merge your local patches back into the new version.

Frequently Asked Questions about gsd-reapply-patches

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

FAQPage Schema
How do I reapply local patches after an update overwrites my files?

To reapply local patches after an update, run the gsd-reapply-patches command to intelligently merge your local modifications back into the newly installed versions, preventing loss of user changes.

What happens when local modifications conflict with upstream updates during a merge?

When local modifications conflict with upstream updates during a merge, the patch reapplication process flags the conflicts and prompts you to resolve them, guiding cleanup and ensuring user changes are safely integrated.

How are local patch sets detected before merging modifications into new versions?

Local patch sets are detected through automatic identification of common local-patches directories and patch backups, allowing the tool to find and prepare your modifications for merging into the new version.

Does patch management update the patch manifest after reapplying local modifications?

Yes, patch management updates the patch manifest after reapplying local modifications. This status reporting and backup management supports smoother integration and prepares for future updates.

What's the best way to preserve user changes when upstream files are overwritten?

The best way to preserve user changes when upstream files are overwritten is to use an intelligent merging tool that detects your patch sets and reintegrates them into the new version after the update completes.