Shared agent guidelines and scaffold files that stay in sync across projects.
- Common files live under
templates/in this repo. - The file
templates/.sync.manifest.mdlists every syncable file, its current canonical version, and any per-file instructions. - In a downstream project, save
templates/.github/prompts/sync.prompt.mdas.github/prompts/sync.prompt.mdand run/sync. - The prompt fetches the manifest, compares versions against the project's local
.sync.manifest.md, and applies updates.
The sync is version-aware — files are only updated when the canonical version listed in the source manifest is higher than the version recorded in the project's local manifest.
templates/ is the single source of truth.
templates/ # ← everything under here will be synced to consumer projects
.sync.manifest.md # ← THE source of truth: file list, versions, instructions
.gitattributes
.gitignore
AGENTS.md
CHANGELOG.md
CONTRIBUTING.md
…
.github/
prompts/
sync.prompt.md
…Note
.github/prompts/ at the repo root is a symlink to templates/.github/prompts/ so Copilot finds the prompts at the standard location without duplication.
All sync metadata — file paths, versions, per-file instructions — lives in templates/.sync.manifest.md. Template files themselves carry no sync metadata; they're clean copies ready to drop into a downstream project.
Downstream projects keep a .sync.manifest.md at their repo root that records which versions of which files they've received. The /sync prompt updates this file as part of every run; no other file is modified for bookkeeping.
Available under the ISC License. See LICENSE.md.