workflow-ship-change
БесплатноЗапускает вложенные скриптыНе проверенShip every change the way the user requires, with the guardrails. Take screenshots of the start, the key moment and the result; give the change its own…
от MengTo★ 8 824 звезды на GitHubОб этом скилле
Workflow: ship a change
A change is done only when all of these are true, and the report shows each one:
- Screenshots of the real rendered game: the start state, the key moment and the result. They're shown inline in the report.
- Its own changelog version, with its pictures on the in-game changelog page.
- Verified:
- your own tests;
- the tests of commits you merged in;
- the asset checks;
- the full suite, run on the pushed commit.
- Committed: one cohesive commit, with only your own files staged.
- Pushed to
mainas a fast-forward, and confirmed on GitHub. - Live: the build of that exact
mainis published, and confirmed working on the real domain. - Measured: the sizes of the commit, the push, any upload and the publish, all measured, never estimated.
Pushing and publishing are standing authorizations for the project's own repository and live site. So don't ask before them, except where a guardrail below says stop. Read the project's AGENTS.md before starting, and this skill's references/<project>.md if there is one. Project rules change often, and wherever they differ from this skill, they win.
Guardrails: stop and ask the user
- Any upload over 50 MB. That covers a git push, a Netlify deploy, a media release, and files sent to any outside service.
- Measure first (
upload-size.sh, or the pack sizepush-main.shprints), and state the size when asking. - Count the whole operation, and never split it to get under.
- A full Supabase media release (about 861 MiB) always needs asking.
- Measure first (
- A force-push, rewriting remote history, changing repository visibility, or pushing to another repository.
- A new site or project, or changing a site's access, domain or DNS, unless the task is exactly that and the user asked for it.
- When the permission check blocks a deploy, rollback or upload: stop. Don't retry it another way or through another thread. Tell the user the exact click path or command.
- Live broken after your publish: say so first in your report, with the measured evidence and the rollback click path. Don't bury it.
Guardrails: never
- Never publish anything but the clean, pushed
origin/main. No unmerged branch, no uncommitted file. - Never deploy large media to Netlify as a fallback; media lives in Supabase Storage.
- Never publish to a host the project has retired, even if old scripts still point at it.
- Never run the broad image optimizer (
pnpm images:optimize, oroptimize-images.py --apply). It rewrites other sessions' pending images. Useruntime-assets.py --only '<your glob>', then--verify. - Never stage credentials,
.env*,node_modules, caches or build output, and never usegit add -Ain a shared checkout. - Never call a local commit pushed, or a deploy live, until you've confirmed it on the remote or the domain.
- Never kill a process you didn't start. Check its working folder first:
lsof -a -p <pid> -d cwd.
Steps
0. Before you start
- Run
git fetch, thengit log origin/main --oneline -30, and search for your area. Look in the sibling worktrees (git -C <wt> diff --stat) for someone already making the same edit. - Work in your own worktree on a branch off
origin/main. Other sessions edit the shared checkout live.
1. Screenshots
- Capture the real game at 1600×900 using the project's review fixtures (
?review=<name>). Take the start, the key moment and the result. - If the project names a capture tool, use it. Otherwise capture headlessly over CDP (see the
workflow-progress-screenshotsskill), and say which you used. - Look at every picture before using it. Stray toasts, stale numbers, or the wrong scene mean recapture.
- Label them honestly: headless browser captures, and a phone-sized viewport is not a device test.
- Keep capture scripts in the worktree's gitignored
qa/captures/; the session scratchpad is wiped on restart.
2. Changelog version
- Follow the project's changelog rules exactly: format, versioning, and how pictures are added.
- Write for players: what they can see or do now, with no file names or hashes.
- Changes to tests, tooling, docs or rules get no version.
- If another session took your version number, renumber yours on merge, and keep their entries.
3. Verify
- Run the suites your change touches as you go.
- After merging
main, also run every test file the incoming commits touched:git diff --name-only <old-base> <new-base> -- tests. - Run the image verify if images shipped.
- The full suite takes 10–40 minutes on a busy machine. Run it with
run_in_backgroundand read the log. Re-run a timeout-looking failure on its own before calling it real. - Report honestly which runs were full and which were targeted, with pass and fail counts.
4. Commit
git diff --cachedmust be empty before you start.- Stage explicit paths only.
- Run
commit-size.shon the staged changes; its numbers go in the report. - One
Установить workflow-ship-change в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл workflow-ship-change?
Ship every change the way the user requires, with the guardrails. Take screenshots of the start, the key moment and the result; give the change its own changelog version with pictures; verify with tests; commit only your own files; merge with the latest main and push as a fast-forward; publish that exact main live; confirm each step; and report measured sizes, asking before any upload over 50 MB. Use at the end of every change (feature, fix, tweak, art, balance, polish) and whenever the user says "ship it", "commit", "push", "merge", "publish", "deploy", "go live" or "update the changelog". Project specifics (hosting, the changelog pipeline, merge conflicts) go in an optional local references/<project>.md next to this skill.
Как установить скилл workflow-ship-change?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-ship-change запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic