webdados

Wp Template Rebase — Development skill for Claude Code

Development community

Claude Code skill: update overridden WooCommerce and WordPress templates to the current version without losing your customizations.

How to install Wp Template Rebase

This entry records only its repository, not the path inside it, so there is no exact command to give. Open webdados/wp-template-rebase and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Wp Template Rebase does

Claude Code skill: update overridden WooCommerce and WordPress templates to the current version without losing your customizations.

Alternatives in Development

  • Shorten — Cut length without losing content 407 ★
  • The Dev Squad — Give Claude its own dev team: one supervisor, four specialists, and bulletproof plans/builds without losing co 231 ★
  • Tailor Template Expert — Experimental Template development workspace for creating and modifying React-PDF templates 167 ★

README

WP Template Rebase: Claude Code skill

A [Claude Code](https://docs.claude.com/claude-code) skill that brings an overridden WordPress or WooCommerce template up to the version currently installed, without losing the customizations that were the reason for overriding it.

The problem

WordPress and WooCommerce templates can be overridden by copying them into a theme or child theme, or into a plugin that serves its own copies. Upstream then keeps changing the template and the copy does not, so the site quietly loses bug fixes, accessibility attributes, new hooks and new markup. Updating the copy by hand means first reconstructing what somebody customized in it, which is the part nobody documents.

What it does

  • Inventories the overrides in a theme, a plugin or a single file and reports how stale each one is, against the real upstream release rather than the copy installed on the site.
  • Recovers the customizations by diffing the override against the pristine template of the release it was copied from, taken from the project's public repository at that tag.
  • Replays them onto the current upstream template with a real three-way merge, so upstream changes land deterministically and only genuine conflicts need judgement.
  • Explains each customization: what it is, what it is for including the theme or plugin code that drives it, what upstream did to that region, and how it was carried across.
  • Leaves the result annotated with begin and end markers, keeping the replaced core code commented out, so the next update is cheap.
  • Verifies the result before writing, and refuses to write when it cannot, including a check for variables upstream deleted that a customization still passes to a hook, which no merge tool and no linter will catch.

It covers WooCommerce templates, parent theme templates copied into a child theme, other plugins' templates, and WordPress core.

Structure

  • SKILL.md: the skill itself. Hard rules, the six phases, the marker co