/skynetlabs-all-claude-code:deployfrom skynetlabs-all-claude-code
Multi-target deploy router for SkynetLabs with deploy gotchas baked in as hard rules. Detect the deploy target from the repo, route to the correct procedure, and BLOCK the wrong path before it ships. Targets in active use: - Vercel — React/Next sites (your-site-react, your-app) via `vercel` CLI / git push - Hostinger manual ZIP — example.com (Next.js standalone on Hostinger Node app). HARD RULE: deploys via manual ZIP archive upload, NOT GitHub auto-deploy, NOT Vercel. Warn + refuse if anyone routes it to GitHub push or Vercel. - WordPress theme/plugin — ZIP upload or Hostinger MCP deployWordpressTheme/Plugin - Static site — plain HTML/CSS via Hostinger MCP deployStaticWebsite Runs a pre-deploy gate (build passes, no exposed secrets, security review, git committed), executes the routed procedure, then verifies the URL is live and records the rollback path. Trigger when user says: "deploy", "ship to prod", "push live", "/deploy", "deploy my site", "deploy to vercel/hostinger", "upload the theme", "publish the site", or asks how to get a build live.
Trending skills
7-day visitors to each skill page
Ships in skynetlabs-all-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Route a repo to the RIGHT deploy target and enforce the gotcha so the wrong path never ships. This skill is opinionated on purpose — it's easy to lose time deploying a Hostinger Node app to the wrong target. The detection + hard rules below exist to stop that.
USE when the user wants to get a build live (any of: Vercel, Hostinger ZIP, WordPress theme/plugin, static site) and isn't sure of the procedure, OR when the target carries a gotcha (a Hostinger Node app like example.com).
For the full versioned release flow (merge main → tests → VERSION bump → CHANGELOG →
PR), run /ship FIRST, then /deploy the resulting build. /deploy is about the
last mile (build → host), /ship is about the git release.
cd <repo> # absolute repo path, e.g. ~/GITHUB/your-site-react
git rev-parse --show-toplevel # confirm it's a repo
git remote -v # capture origin (used for the Hostinger-app identity check)
ls # top-level inventory
Detection order (FIRST match wins — the Hostinger-app override beats generic Vercel):
| Signal (check in this order) | Target |
|---|---|
Repo is the Hostinger Node app (dir name, origin URL, or package.json name matches your Hostinger-hosted site) | Hostinger manual ZIP (HARD RULE — see §A) |
style.css with a Theme Name: header, OR a <plugin>.php with Plugin Name: header | WordPress theme/plugin (§C) |
next.config.{js,mjs,ts} OR vercel.json OR .vercel/ present | Vercel (§B) |
index.html at root, no build step, no framework config | Static site (§D) |
| Ambiguous / multiple matches | STOP, ask via AskUserQuestion |
# Hostinger-app identity (override gate)
git remote -v | grep -i your-site ; grep -i '"name"' package.json 2>/dev/null
# WP theme/plugin headers
grep -RIl -m1 -E "Theme Name:|Plugin Name:" --include=style.css --include=*.php . 2>/dev/null | head
# Vercel / Next
ls next.config.* vercel.json .vercel 2>/dev/null
State the detected target and the reason out loud BEFORE deploying. If it's the Hostinger Node app, say so explicitly and confirm Hostinger ZIP (not Vercel, not GitHub auto-deploy).
Do NOT proceed past a failing gate without explicit user override.
git status clean (or user explicitly says deploy WIP). Uncommitted
prod deploys are unreproducible — you can't roll back to a commit that doesn't exist.npm ci && npm run build (Vercel/Hostinger). Build red = STOP.git ls-files | grep -E '(^|/)\.env' ; ls -a | grep -E '\.env'
grep -RIl -E "API_TOKEN|SECRET|PRIVATE_KEY|sk-[A-Za-z0-9]|AKIA[0-9A-Z]{16}" . \
--exclude-dir=node_modules --exclude-dir=.git --exclude-dir=.next 2>/dev/null | head
.env* MUST NOT be in the ZIP/commit. If git archive is the packer it respects
.gitignore (good). For manual ZIPs, exclude .env, .git, node_modules, .next./security-review (or /review). Mandatory pre-delivery
gate per SkynetLabs policy. Skippable only for static-HTML-only changes./ship's job — if not shipped yet, suggest /ship first). Tag the deploy with the
commit SHA so rollback is git-addressable.example.com = Next.js (
output: standalone, node 20) on Hostinger Node.js Web App, account<HOSTINGER_ACCOUNT_ID>. Confirmed via live headers:X-Powered-By: Next.js,Server: hcdn(Hostinger CDN). NOT Vercel.Deploy = manual ZIP archive upload via Hostinger MCP
hosting_deployJsApplication. NOT GitHub auto-deploy. The repo'sDEPLOY_HOSTINGER.mdclaims GitHub auto-deploy is wired — it is FALSE / never connected. Pushing to GitHubmaindeploys NOTHING.If the user/agent tries
vercel deploy, "just push to GitHub", or wires GitHub auto-deploy for this app → STOP and warn. Wrong target. Use the ZIP path below.
Deploy path (verified live):
cd <node-app repo>
# 1. Archive SOURCE ONLY (no node_modules/.next/.git — server runs the build).
# git archive respects .gitignore and excludes .git automatically.
git archive --format=zip -o site-deploy.zip HEAD
hosting_deployJsApplication (this skill's allowed-tools
don't include MCP — load it via ToolSearch select:mcp__hostinger-mcp__hosting_deployJsApplication
then call it):
{
"domain": "example.com",
"archivePath": "<ABSOLUTE path to site-deploy.zip>"
}
npm install && npm run build (build_script build, output .next). ~2 min.hosting_listJsDeployments — deploy statushosting_showJsDeploymentLogs — needs the build uuid from the deploy/list responseEnv gotcha: NEXT_PUBLIC_SITE_URL MUST be https://example.com in the Hostinger
panel — it drives canonicals/OG via SITE.url → metadataBase. A leftover example
(your-personal-site.com) is wrong and points canonicals at the wrong domain.
MCP-dropped fallback (Hostinger MCP is a stdio server npx hostinger-api-mcp@latest,
config ~/.mcp.json, env API_TOKEN). If it disconnects mid-session and /mcp reconnect
isn't available, drive it directly with the repo's one-shot client:
# from the node-app repo (uses the exact tested TUS-upload code path)
API_TOKEN=<tok> node scripts/mcp-deploy.mjs hosting_deployJsApplication \
'{"domain":"example.com","archivePath":"<ABS zip path>"}'
Or spawn the cached package main node <npx-cache>/hostinger-api-mcp/src/servers/all.js
with API_TOKEN and speak newline-delimited JSON-RPC over stdio
(initialize → notifications/initialized → tools/call).
Rollback: re-archive an OLDER commit and redeploy.
git archive --format=zip -o site-rollback.zip <good-sha> # then hosting_deployJsApplication
Track your own known-good SHAs (last good before a risky ship, a stable pre-redesign baseline, and the SHA currently live) so rollback is a single re-archive + redeploy.
Only for repos that are NOT the Hostinger Node app. example.com is Hostinger (§A).
Two valid paths — prefer git-integration if the project is linked, else CLI.
Path 1 — git integration (preferred for linked projects):
Vercel auto-builds on push to the production branch. After /ship merges to main:
git push origin main # triggers Vercel production build
Then verify the deployment in the Vercel dashboard / via vercel ls.
Path 2 — CLI (unlinked, or force a manual prod deploy):
cd <repo>
npm ci && npm run build # gate: build must pass
npx vercel pull --yes # sync env + project settings
npx vercel build --prod
npx vercel deploy --prebuilt --prod # prints the production URL
Env: set via npx vercel env add <NAME> production or the dashboard. Never commit .env.
Confirm prod env vars exist BEFORE deploy (missing env = runtime 500, not a build fail).
Rollback: npx vercel rollback <previous-deployment-url> (instant), or re-deploy a
prior commit. Vercel keeps every deploy immutable — rollback is the safest of all targets.
Detected via
Theme Name:instyle.css(theme) orPlugin Name:header in a.php(plugin). E.g. a travel client's login styler plugin.
Package the ZIP (the theme/plugin folder must be the single top-level dir inside the ZIP):
cd <parent of theme/plugin folder>
# exclude dev cruft + secrets
zip -r my-theme.zip my-theme -x "*/.git/*" "*/node_modules/*" "*/.env" "*.map"
Deploy — two routes:
hosting_deployWordpressThemehosting_deployWordpressPluginselect:mcp__hostinger-mcp__hosting_deployWordpressTheme /
...deployWordpressPlugin.) Pass the domain + absolute ZIP path.wp-content/themes|plugins/.WP gotchas:
style.css / plugin main file — WP caches by version; an
unchanged version may not refresh.loginpress-coexistence memory):
style via CSS, translate via gettext, never DOM-surgery the register form.Rollback: keep the prior ZIP. Re-upload + reactivate, or restore the folder via SFTP. For Hostinger-managed sites, a hosting snapshot/backup restore is the nuclear option.
Deploy via Hostinger MCP hosting_deployStaticWebsite (load via ToolSearch
select:mcp__hostinger-mcp__hosting_deployStaticWebsite): pass the domain + the
source directory / ZIP per the tool schema.
Gate: confirm index.html exists at the served root and no .env/secret files are in
the upload set. Static is the lowest-risk target — no build, no server runtime.
Rollback: redeploy the previous folder/ZIP, or Hostinger hosting snapshot restore.
Never call a deploy done until the live URL is confirmed serving the new build.
curl -I https://<domain> # 200 OK; for the Hostinger Node app expect X-Powered-By: Next.js + Server: hcdn
/browse or /qa against the live URL —
load the page, confirm the changed content renders, check console for errors..env or secrets. Gate step 3 blocks this.npm run build.| Failure | Cause | Fix |
|---|---|---|
| Node-app push deploys nothing | GitHub auto-deploy not wired (it never was) | Use §A manual ZIP via hosting_deployJsApplication |
| Node-app canonicals point to wrong domain | NEXT_PUBLIC_SITE_URL wrong in panel | Set https://example.com in Hostinger env |
| Hostinger MCP disconnects mid-deploy | stdio server dropped | Use scripts/mcp-deploy.mjs fallback (§A) |
| Vercel runtime 500 after deploy | missing prod env var | vercel env add <NAME> production, redeploy |
| Live URL shows old build | CDN cache | purge cache, re-curl, diff a changed element |
| WP theme update not reflected | version header unchanged (WP cache) | bump version in style.css / plugin header |
| Secret leaked in ZIP | manual zip included .env | repack excluding .env/.git; rotate the secret |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
50 skills in this plugin
/aeo-dailyLocal AEO daily content engine — FORKED VOICE + voice filter (v0.4.2). One command → today's pack across 5 BUSINESS channels by default (was 11). Travel pack on-demand via --voice flag.
BUSINESS voice (5 channels, default): LI personal, FB page, IG pro, YT pro, TikTok pro. Carousel + reels + comment-bait.
TRAVEL voice (6 channels, on-demand): FB profile, IG travel x2, TikTok travel x2, Pinterest. Daily-life narrative, no agency talk.
Pipeline writes single MASTER.html (all channels embedded as iframes + sticky TOC) at outputs/<DATE>/MASTER.html.
All saved to <repo>\outputs\YYYY-MM-DD\copy.json (forked schema, see config/copy-schema.json).
Legacy v0.3 still supported: --legacy flag falls back to single LI post + 8-slide carousel.
Voice = the author's locked LinkedIn template (contrarian hook → reframe → → arrow lines → vulnerability beat → CTA + 5-8 hashtags).
Authenticity layer required: 1 local anchor per post (named cafe / local currency / scooter / your local spot).
1 real client win referenced (a SaaS client / a real-estate client / dental flagship / a client).
Voice-linted before render via lint_voice.py — hard-fails on 60+ AI tells.
Hook-bank rotation locked: Mon test-LLMs / Tue prompt-exposure / Wed contrarian /
Thu client-proof / Fri tool-stack / Sat builder-life / Sun meta-recap.
Each day = 2 hook variants for A/B pick.
Replaces v2 n8n cloud flow. $0 infra. Runs in Claude Code.
Trigger: "/aeo-daily", "today's aeo pack", "ship today's content", "aeo daily content".
/browseFast headless browser for QA testing and site dogfooding. Navigate any URL, interact with
elements, verify page state, diff before/after actions, take annotated screenshots, check
responsive layouts, test forms and uploads, handle dialogs, and assert element states.
~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a
user flow, or file a bug with evidence.
/cavemanUltra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
/caveman-commitUltra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
/caveman-helpQuick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
/caveman-reviewUltra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
npx claudepluginhub waseemnasir2k26/skynetlabs-all-claude-code --plugin skynetlabs-all-claude-code