ssh-vps-deployment
Deep knowledge about deploying applications to Baremetal servers or Virtual Private Servers (VPS) using SSH, SCP, Rsync, and PM2/Systemd.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deep knowledge about deploying applications to Baremetal servers or Virtual Private Servers (VPS) using SSH, SCP, Rsync, and PM2/Systemd.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deterministic AI development workflow orchestrator. Manages task boards (.jonggrang/jonggrang-tasks.json), runs 16-phase pipelines (BUGFIX/SMALL/MEDIUM/LARGE), installs lifecycle hooks for Claude Code and OpenCode, and coordinates five specialist roles (Lead/Developer/Reviewer/TestLead/Tester). Use when planning features, executing multi-step development workflows, or orchestrating AI coding agents. Run via npx jonggrang.
16-phase feature orchestration workflow. Runs in the main thread as Kernel Mode. Coordinates the Lead→Developer→Reviewer→TestLead→Tester assembly line.
Protocol for agents to write structured outputs that survive session resets and are findable by the orchestrator.
GitHub workflow automation with the gh CLI — pull requests, issues, releases, the REST/GraphQL API, and safe message escaping. Auth via GH_TOKEN (set in global settings, attached to the sandbox env).
GitLab workflow automation with the glab CLI — merge requests, issues, CI, releases, and safe message escaping. Auth via GITLAB_TOKEN (set in global settings, attached to the sandbox env).
Prevents premature exit and infinite loops. Three mechanisms: Completion Promises, Scratchpads, Loop Detection.
| name | ssh-vps-deployment |
| description | Deep knowledge about deploying applications to Baremetal servers or Virtual Private Servers (VPS) using SSH, SCP, Rsync, and PM2/Systemd. |
| type | transform |
| tier | library |
| domain | deploy |
| trigger | when deploying to a VPS via SSH |
Deploying {{project_name}} ({{project_type}}) to a VPS via SSH. You will follow a strict 6-phase Deployment Lifecycle Contract.
Execute the following phases in order:
~/.ssh/id_rsa or another identity file).chmod 600), and it is used correctly with the ssh -i command.ssh -i <path-to-key> -o StrictHostKeyChecking=no <user>@<host> "echo Authentication successful". If this fails, abort the deployment.npm run build or yarn build locally to generate the dist/ or build/ directory.go build -o app main.go) ensuring the target architecture matches the VPS (e.g., GOOS=linux GOARCH=amd64).ssh -i <key> <user>@<host> "mkdir -p /var/www/{{project_name}}".pm2 stop {{project_name}} or sudo systemctl stop {{project_name}}) to prevent file lock issues during deployment.rsync (preferred for speed and reliability) or scp to copy the necessary files to the VPS. Example: rsync -avz -e "ssh -i <key> -o StrictHostKeyChecking=no" dist/ package.json <user>@<host>:/var/www/{{project_name}}/.ssh -i <key> <user>@<host> "cd /var/www/{{project_name}} && npm ci --production".pm2 start {{project_name}} or sudo systemctl start {{project_name}}.ssh -i <key> <user>@<host> "pm2 status {{project_name}}".ssh -i <key> <user>@<host> "pm2 logs {{project_name}} --lines 50 --nostream".curl -sSf http://<host> or ssh -i <key> <user>@<host> "curl -sSf http://localhost:<port>".pm2 restart {{project_name}}).