deploy
Skill2 starsChanged 5 days agoMITView on GitHub
Build and deploy broker (`llm-broker`) to production. Triggers: deploy, 部署, push to production, 发布, ship it, 上线. Handles: frontend build, Go cross-compile, remote snapshot, upload, migrate, restart, verification, rollback.
169 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- uac-ops/founder-stacktheir own version, first seen Nov 29, 2026
- euginevd/sdlc-templatetheir own version, first seen Nov 29, 2026
- anmolnagpal/devops-skillstheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- gregale-dev/gregale-cursor-plugintheir own version, first seen Nov 29, 2026
Used with
Projects with it also use Code Review & Quality, Incremental Implementation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fdhhhdjdSkillCode Review & Quality
Five-axis code review for comprehensive quality assessment
Also in 3 projects that use this
fdhhhdjdSkillIncremental Implementation
Build features in thin vertical slices with continuous verification
Also in 3 projects that use this
ww-w-aiSkillqa-phase
Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.
Also in 3 projects that use this
ww-w-aiSkilldesktop-app
Desktop application development guide for Electron, Tauri, and native apps. Covers cross-platform desktop development for macOS, Windows, and Linux. Triggers: desktop app, Electron, Tauri, mac app, windows app, native app, 데스크톱 앱, 일렉트론, 타우리, デスクトップアプリ, Electron, 桌面应用, 桌面程序, aplicacion de escritorio, application bureau, Desktop-App Do NOT use for: mobile apps (use $mobile-app), web apps (use $dynamic or $starter).
Also in 4 projects that use this
- +1 more from fdhhhdjd
- +7 more from ww-w-ai
Other versions169 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 169
- ok-oldking/ok-wuthering-waves★ 8.7ksame name
- GetStream/Agents★ 8.2ksame name
- memovai/mimiclaw★ 5.8ksame name
- KingKongRobotics/jumper★ 3.1ksame name
- jhd3197/ServerKit★ 1.9ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- microsoft/power-platform-skills★ 1.2ksame name
- jazzyalex/agent-sessions★ 958same name
- awslabs/agent-plugins★ 953same name
159 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cellsSkill
- deploySkill
- model-alignSkill
- cellsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 150 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Run scripts/deploy.sh from the repo root (or any worktree).
- Distinctive: line 15
Create a remote snapshot of binary, env, service unit, and SQLite DB
- Very specific: line 17
Stop service, run migrate, replace binary, restart
- Distinctive: line 18
Verify service health — if restart fails, auto-restore the snapshot
- Distinctive: line 21
Before starting any deploy, tell the human the rollback command first so they can recover immediately if the release looks wrong.
- Distinctive: line 41
If the host is already blue-green enabled, the script refuses to re-run unless forced:
- Distinctive: line 47
After bootstrap, regular deploys can keep using:
- Distinctive: line 86
No snapshot exists — first deploy can only fail forward.
“Common” is measured: kept by at least 6 in 10 of the 150 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy broker
Run scripts/deploy.sh from the repo root (or any worktree). The script handles the full pipeline:
- Build SvelteKit frontend (
web/→internal/ui/dist) - Cross-compile Go binary for linux/amd64
- Create a remote snapshot of binary, env, service unit, and SQLite DB
- Upload to remote via scp
- Stop service, run
migrate, replace binary, restart - Verify service health — if restart fails, auto-restore the snapshot
- Smoke test HTTP endpoints —
/health, admin API, frontend pages
Before starting any deploy, tell the human the rollback command first so they can recover immediately if the release looks wrong. At minimum print bash .claude/skills/deploy/scripts/restore.sh latest, and after the snapshot is created, surface the exact snapshot-specific rollback command emitted by the script.
bash .claude/skills/deploy/scripts/deploy.shdeploy.sh now supports strategy selection:
DEPLOY_STRATEGY=auto(default) — if the remote has blue-green layout, use blue-green deploy; otherwise use legacy single-instance deployDEPLOY_STRATEGY=legacy— force the old stop-replace-restart pathDEPLOY_STRATEGY=bluegreen— force blue-green slot deploy
Blue-green bootstrap
Bootstrap a host into blue-green mode once:
bash .claude/skills/deploy/scripts/bluegreen_setup.shIf the host is already blue-green enabled, the script refuses to re-run unless forced:
FORCE_BOOTSTRAP=1 bash .claude/skills/deploy/scripts/bluegreen_setup.shAfter bootstrap, regular deploys can keep using:
bash .claude/skills/deploy/scripts/deploy.shRollback
Manually rollback to the most recent snapshot:
bash .claude/skills/deploy/scripts/restore.sh latestOr restore a specific snapshot:
bash .claude/skills/deploy/scripts/restore.sh 20260309T211816Z-deploydeploy.sh rollback is also available as a shortcut:
bash .claude/skills/deploy/scripts/deploy.sh rollbackPartial deploy
To skip frontend build for a Go-only change:
SKIP_FRONTEND=1 bash .claude/skills/deploy/scripts/deploy.shFailure handling
- Service fails after deploy — script auto-restores the snapshot it just took
- Blue-green bootstrap fails — script auto-restores the snapshot it just took
- Manual rollback — use
restore.shor therollbackshortcut - No snapshot exists — first deploy can only fail forward; nothing remote is deleted before upload succeeds
- npm/go/scp fails — exits before touching the remote runtime
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

