一键导入
sync-statamic-statamic
Sync recent commits from "statamic/statamic" and config changes from "statamic/cms" into the boilerplate statamic/statamic application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync recent commits from "statamic/statamic" and config changes from "statamic/cms" into the boilerplate statamic/statamic application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Commit, push and pull request a small fix in one go.
Makes the same change across multiple repositories.
Generate a changelog for a release
Write pull request descriptions that sound like they were written by Duncan.
My process of "refining" code — making code readable, tested and pointed to the goal.
Review a GitHub pull request with a code review mindset. Use when the user provides a PR number to review, asks to review a pull request, or wants inline code review of a PR's changes. If no PR number is given, detects it from the current branch.
| name | sync-statamic-statamic |
| description | Sync recent commits from "statamic/statamic" and config changes from "statamic/cms" into the boilerplate statamic/statamic application. |
The statamic/statamic repository contains the base application for new Statamic sites.
It is very similar to laravel/laravel, the base application for new Laravel apps. Our version changes some of the defaults to better suit Statamic's flat-first approach and provides boilerplate content and Statamic configs.
To avoid statamic/statamic becoming stale, we need to regularly review it for necessary changes. This skill details that process.
Before you begin, checkout the 6.x branch and pull down any changes.
laravel/laravellaravel/laravel" PR:gh pr list --state merged --search "Sync with `laravel/laravel`" --limit 1
gh pr view <PR_NUMBER> --json commits --jq '.commits[].messageHeadline'
laravel/laravel. Filter out the last commit we synced (and any older ones). Filter out any Update CHANGELOG or Merge pull request ... commits too.gh api "repos/laravel/laravel/commits" --jq '.[] | "\(.sha[0:7]) \(.commit.message | split("\n")[0])"
When there isn't anything new to sync, move onto Section 2.
Create a new branch called sync-laravel-laravel. If one already exists, delete it and create a new one.
For each laravel/laravel commit:
laravel/laravel commit into this codebase.gh CLI. Please use the provided title and description (DO NOT change it).Pull request title: "Sync with laravel/laravel"
Pull request description:
This pull request syncs recent changes from [`laravel/laravel`](https://github.com/laravel/laravel/commits/13.x) to `statamic/statamic`.
Checkout the 6.x branch.
Find the latest "Sync Statamic configs" PR:
gh pr list --state merged --search "Sync Statamic configs" --limit 1
gh pr view <PR_NUMBER> --json commits --jq '.commits[].messageHeadline'
statamic/cms affecting the config directory. Filter out the last commit we synced (and any older ones).gh api "repos/statamic/cms/commits?path=config" --jq '.[] | "\(.sha[0:7]) \(.commit.message | split("\n")[0])"'
When there isn't anything new to sync, don't continue.
Create a new branch called sync-statamic-configs. If one already exists, delete it and create a new one.
For each statamic/cms commit:
statamic/cms commit affecting the config directory to this repository's config/statamic directory.gh CLI. Please use the provided title and description (DO NOT change it).Pull request title: "Sync Statamic configs" Pull request description:
This pull request syncs the [recent changes](https://github.com/statamic/cms/commits/6.x/config) from the config files in `cms`.