sync-template
Skill by IcelandicIcecream
Explains how to flow changes from apps/studio to templates/base and the create-aphex scaffolder in the aphex monorepo. Written for maintainers who sync the template or cut releases.
Install sync-template
Built from the published package, never by AI.
git clone --depth 1 https://github.com/IcelandicIcecream/aphex /tmp/aphex && mkdir -p ~/.claude/skills && cp -r /tmp/aphex/.claude/skills/sync-template ~/.claude/skills/sync-templateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/IcelandicIcecream/aphex /tmp/aphex && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aphex/.claude/skills/sync-template ~/.gemini/antigravity-cli/skills/sync-templateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a maintainer runbook for the aphex monorepo. It explains how changes in apps/studio, the reference app where new features land first, flow to templates/base, the starter that create-aphex ships to end users. It covers running the sync script with a dry run first, updating the template changelog, and mirroring templates/base to the aphex-base repo through a GitHub workflow.
It also covers the release step. A template fix needs a create-aphex patch changeset, because the scaffolder fetches the mirror at a pinned tag rather than main. The skill lists known drift in the SQLite adapter and describes the single aphex bin from @aphexcms/cms-core that both templates use. It is for contributors who maintain the template or the scaffolder.
Written from the project's SKILL.md and checked against it.
What it can do
- Sync studio to templateCopies files tracked in templates/base from apps/studio, with a dry run available before applying.
- Changelog updateLists changed template files under Unreleased in templates/base/CHANGELOG.md with a one-line reason.
- Mirror to standalone repoDescribes how the sync-template workflow pushes templates/base to IcelandicIcecream/aphex-base.
- Release guidanceExplains that template fixes need a create-aphex patch changeset before users receive them.
- Local scaffolder testGives the commands to build create-aphex and run it, optionally against an unpushed branch or fork.
- Template build checkDescribes building @aphexcms/base to verify the template builds without a real .env file.
- SQLite adapter drift fixesLists two missing fixes in the template's sqlite.ts adapter and how to verify they landed.
- aphex binary referenceExplains the aphex bin from @aphexcms/cms-core and its use in generate:types and migrate.
What you need
- pnpm
- A checkout of the aphex monorepo with apps/studio and templates/base
- Access to the IcelandicIcecream/aphex-base mirror repository for release work
Try asking
- Walk me through syncing apps/studio changes into templates/base.
- What changelog entry do I need before cutting a template release?
- How do I test the create-aphex scaffolder against an unpushed branch?
Good to know
- The sync skips src/lib/schemaTypes/** because the template keeps its own example schema.
- New top-level directories in studio need a placeholder in templates/base before the sync picks them up.
- Template-only changes reach users only after a create-aphex release at a new version.
- @aphexcms/base and @aphexcms/website are in the changesets ignore list, so they cannot take changesets.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/sync-template/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to sync-template
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sync-template: common questions
Why does a template change not reach users right away?
create-aphex fetches the aphex-base repo at a pinned tag, not at main. A template-only change reaches users only after create-aphex is released at a new version with a patch changeset.
Does the sync overwrite the schema types in the template?
No. The source says the sync skips src/lib/schemaTypes/**, because the template keeps its own minimal example schema.
What is the aphex bin and which templates use it?
The aphex bin is exposed by @aphexcms/cms-core. Both templates use it for generate:types and for migrate in the Docker entrypoint and render.postgres.yaml.
How do I install sync-template?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sync-template free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sync-template safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sync-template?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
