deploy
Skill2 starsChanged 4 months agoMITView on GitHub
Generic deployment for any project on the kanban board — driven entirely by `kb info <proj>` (path, server, pm2, domain), nothing hardcoded. Triggers — "deploy <project>", "ship it", "update it on the server", and the deploy step of the kanban working loop. Flow: review changes → commit → push → pull on the server → install/build → restart → verify. A local project with no server takes the short branch: commit + restart the local pm2 process.
- Reads credentials
- Installs packages
155 other projects use a version of this.
Adopted by
Most recently taken up by
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- KingKongRobotics/jumpertheir own version, first seen Nov 8, 2026
- stakeme-team/arc-agent-kittheir own version, first seen Nov 8, 2026
- dockhold/mcptheir own version, first seen Nov 8, 2026
- KhaiTrang1995/nexus-kbtheir own version, first seen Nov 8, 2026
- ribato22/vibechecktheir own version, first seen Nov 8, 2026
Used with
Projects with it also use pm-discovery, qa-phase 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.
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
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
- +10 more from ww-w-ai
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- ok-oldking/ok-wuthering-waves★ 8.6ksame name
- memovai/mimiclaw★ 5.8ksame name
- KingKongRobotics/jumper★ 3.1ksame name
- jhd3197/ServerKit★ 1.8ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- microsoft/power-platform-skills★ 1.1ksame name
- jazzyalex/agent-sessions★ 941same name
- awslabs/agent-plugins★ 918same name
- patrickjaja/claude-desktop-extra★ 734same name
145 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 repositoryOne other file it gives its agents.
- kanbanSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 139 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Do not commit junk (temp files, .DS_Store, stray logs).
- Distinctive: line 26
If the working tree is clean and everything is already pushed, go straight to step 3.
- Distinctive: line 30
Commit by meaning, with the task's issue number when the deployment is part of the kanban loop.
- Distinctive: line 52
No pm2 → whatever the project uses (a systemd unit, docker compose).
- Distinctive: line 59
Check exactly what you changed: the specific page or endpoint, not just the home page.
“Common” is measured: kept by at least 6 in 10 of the 139 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
Generic deploy (driven by kb info)
This skill is not tied to any particular server: everything comes from the board's registry. Does
the project have its own flow? Then it has its own deploy_skill in kb info — read that
SKILL.md at deploy_skill_path and follow it instead of this one.
0. The data
kb info <proj> # path (local copy), server (ssh host), server_path (path on the server),
# pm2 (process names), domain (for verification)- SSH access uses the alias or address from
serverviassh <server>: keys, users and ports live in the user's~/.ssh/config. The board stores no secrets. - No
server→ the project is local: steps 1–2, then straight to 5 (a local restart if it has pm2).
1. Review the changes
git -C <path> status --porcelainplusgit -C <path> diff --stat— what has moved away from HEAD.- Do not commit junk (temp files, .DS_Store, stray logs).
- If the working tree is clean and everything is already pushed, go straight to step 3.
2. Commit + push
- Commit by meaning, with the task's issue number when the deployment is part of the kanban loop.
git -C <path> push origin <current branch>.
3. Update on the server
ssh <server> "cd <server_path> && git pull --ff-only"git pullfailed because of local edits on the server → STOP and tell the human: the server has drifted, and overwriting it silently (reset --hard) is not allowed. Inspect it withssh <server> "cd <server_path> && git status --porcelain".
4. Install / build (by project type — check package.json or the manifest)
- Node:
npm ci || npm install; if there is a build script,npm run build. - Python:
pip install -r requirements.txtinside the project's venv. - Static sites with no build step — skip.
5. Restart
- pm2 processes from
kb info:ssh <server> "pm2 restart <names>"(for a local project,pm2 restart <names>without ssh). - No pm2 → whatever the project uses (a systemd unit, docker compose). If it is unclear, ask the human instead of guessing.
6. Verify
- With a
domain:curl -sS -o /dev/null -w '%{http_code}' https://<domain>(or http, whichever the project uses) — expect 200/301. - Check exactly what you changed: the specific page or endpoint, not just the home page.
- pm2:
kb svc <proj>— processes online, restart counts not climbing. - Verification failed → discuss the rollback with the human (git revert plus another deploy); never roll back silently.
Rules
- Production commands (ssh, rsync, restart) run with the user's confirmation — that is expected, do not work around it.
- The code lives in git: editing directly on the server is forbidden. Spotted drift? Report it, do not overwrite it.
- One task, one deployment; related tasks that are ready together ship in a single run.
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.

