sync-from-shopify
Synchronize Shopify theme changes to git. Pull configuration and template changes from Shopify admin, commit them to git, and push to remote. Use when you need to pull theme updates from the Shopify admin editor or sync recent admin changes.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Sync from Shopify
Pull theme changes from Shopify admin, commit them to git, and push to remote using the core sync script.
Usage
Execute the Shopify sync script:
./scripts/shopify-sync.sh
The script will:
- Check for uncommitted local changes (exits if any found)
- Pull configuration and templates from Shopify admin
- Review changes and show diff summary
- Stage, commit, and push changes to remote
- Report completion status
Error Handling
If the script reports uncommitted changes:
- Commit your local work first:
git add <files> git commit -m "Descriptive message" - Then retry:
./scripts/shopify-sync.sh
If the script reports no changes:
- This means Shopify admin matches your local files - no action needed
If push fails:
- The script will exit with an error
- Report the error to Jared and ask for guidance
Reporting to Jared
After successful sync, report:
- What files were changed (from script output)
- A summary of the changes (from diff shown by script)
- Confirmation that changes are pushed to remote
Notes
- The script focuses on config and template changes (the most common admin edits)
- Core logic lives in
scripts/shopify-sync.shand can be used by any agent - For pulling ALL theme files, modify the script or use
shopify theme pulldirectly
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!