一键导入
starter-sync
Walk through unmerged changes from aniftyco/laravel and laravel/laravel since the last sync, deciding what to pull into this derived project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Walk through unmerged changes from aniftyco/laravel and laravel/laravel since the last sync, deciding what to pull into this derived project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | starter-sync |
| description | Walk through unmerged changes from aniftyco/laravel and laravel/laravel since the last sync, deciding what to pull into this derived project. |
| disable-model-invocation | true |
This project is derived from the aniftyco/laravel starter kit, which itself tracks laravel/laravel. This skill walks the upstream history of both repos since the last sync (or the project's first commit) and helps you absorb worthwhile changes.
You — the LLM — make the calls autonomously. Only ask the user when you genuinely cannot decide.
Before doing anything, verify the working tree is clean:
git status --porcelain
If output is non-empty, stop. Tell the user to commit or stash first, then rerun. Applied changes must not mix with in-flight work.
Read .claude/LAST_UPSTREAM_SYNC if it exists. The file contains a single ISO date (e.g. 2026-05-07). Use that as the
baseline.
If the file does not exist, this is a first run. Use the date of the project's first commit:
git log --reverse --format=%aI | head -1
Tell the user which baseline you're using and warn them if it's a first run (the change set may be large).
Clone the upstream into a temp directory:
git clone --quiet https://github.com/aniftyco/laravel.git /tmp/starter-sync-aniftyco
List commits since the baseline:
git -C /tmp/starter-sync-aniftyco log --since=<baseline> --reverse --format='%H %s'
For each commit, in order:
git -C /tmp/starter-sync-aniftyco show <sha>Same flow, against https://github.com/laravel/laravel.git cloned to /tmp/starter-sync-laravel. Use the same
baseline date as Step 1.
Many laravel/laravel changes will already be reflected in this project via aniftyco/laravel's own upstream tracking. When evaluating a laravel/laravel commit, first check whether the same change already landed via Step 1 — if so, skip it silently.
Only if both phases completed cleanly:
YYYY-MM-DD) to .claude/LAST_UPSTREAM_SYNCrm -rf /tmp/starter-sync-aniftyco /tmp/starter-sync-laravelIf a phase failed (network, bad clone, user aborted) — do not update the marker. Clean up temp clones. Tell the user where it stopped so they can rerun.
composer.json / package.json that don't conflict with this project's pins.github/assets/** — derived projects own their identityCLAUDE.md (root or .claude/CLAUDE.md).claude/** (rules, skills, settings, plugins)These files are user-customized but upstream improvements may still be valuable. For each upstream change in this category, present the diff and ask whether to apply.
When in doubt, defer. The user prefers being asked once over silent wrong calls.
While walking commits, keep your narration tight:
<sha> <subject> — one line, no extra commentary<sha> <subject> — one line with brief reason (already absorbed, file removed locally, etc.)The final summary should be a short report — counts plus grouped skip reasons. Don't restate everything you already showed.