sync-template

Installation
SKILL.md

Skill: sync-template

Purpose

Synchronize structural and template improvements between the current project and the master template repository https://github.com/Rheinmir/setup.git.

When to use

  • Upstream: After improving a template file locally and wanting to save it to Master.
  • Downstream: When the Master repo has newer features or fixes that you want to bring into the current project.

Steps

Step 1: Load Manifest

Read .template-manifest.json for the inclusion list and remote URL.

Step 2: Fetch Master Repo & Branch Audit

  • CRITICAL: Always list all remote branches via gh api repos/<owner>/<repo>/branches.
  • Check latest commit date on each branch — do not assume master/main is most up-to-date.
  • Ask user which branch to use if unclear.
  • Use gh api + curl to fetch files directly — no need to git clone.
Installs
18
Repository
rheinmir/setup
First Seen
May 23, 2026
sync-template — rheinmir/setup