This guide explains how to pull newer template changes into a game project that already uses Codex Game Studios.
Use a template remote and merge selectively.
git remote add template <your-codex-game-studios-repo-url>
git fetch template
git merge template/mainIf you only want a specific improvement, cherry-pick the relevant commit instead:
git fetch template
git cherry-pick <commit-sha>These usually contain project-specific decisions and should not be overwritten blindly:
AGENTS.mddesign/AGENTS.mddocs/AGENTS.mdsrc/AGENTS.md.agents/docs/technical-preferences.md- Any files under
design/,docs/architecture/,production/, orsrc/that you have customized for your game
These are template infrastructure files and can usually be updated from the new version:
.agents/agents/**.agents/rules/**- Most of
.agents/docs/templates/** - Most of
.agents/skills/** README.md- This
UPGRADING.md
Review skill changes before replacing them if you have edited any skill locally.
- Create a backup branch.
- Merge or cherry-pick the new template changes.
- Resolve conflicts in
AGENTS.mdand technical preferences by keeping your project-specific choices. - Re-scan the repository for outdated paths or legacy references.
- Run a quick smoke pass on the skills you use most often.
If you are forking this repository into your own public template:
- Update the repository name and clone URL examples.
- Replace any remaining historical references in
docs/examples/and optional framework docs.