deploy-site
БесплатноЗапускает вложенные скриптыНе проверенLand every site-related fix on main, deploy opentraces.ai to Vercel production, and verify it works across all pages (desktop + mobile) and the email-capture…
от JayFarei★ 107 звёзд на GitHubОб этом скилле
Deploy Site
Deploy the Next.js marketing site (web/site/) to Vercel production, but treat
it as a goal, not a single command: land every site-related fix on main,
deploy it, prove it works in production across all pages and the email-capture
flow on desktop and mobile, and keep fixing + re-deploying until everything is
green.
Goal contract
Run this skill as a closed loop. Do not declare success on a clean Vercel deploy alone; a deploy can succeed while a page 500s, a layout breaks on mobile, or the waitlist write silently fails.
- DONE when: all site-related fixes are committed and pushed to
main, the production deploy succeeded, every route below returns 200 and renders correctly on desktop and mobile with no console/network errors, and the email-capture flow accepts a submission and persists it (proven by admin read), with no test rows left behind. - NOT DONE (loop again) when: any route fails to render, a layout breaks at a viewport, the console shows errors, or email capture does not round-trip. Fix in source, re-land, re-deploy, re-verify.
- BLOCKED (stop and report) when: a fix needs a credential/decision you don't have (e.g. KV store down, admin token missing, Vercel auth expired), or the same failure survives 3 fix attempts. Report the exact failure + what you tried; do not loop forever.
Keep a short running log of each iteration (what failed, what you changed,
re-verify result) so the loop is auditable. If the user wants this as a
persistent /goal, point the goal at this skill and use the same DONE/BLOCKED
conditions.
The loop
Phase 0 Scope & land gather site fixes -> local verify -> commit -> push main
Phase 1 Deploy build -> npx vercel@latest --prod (from repo root)
Phase 2 Verify (prod) Workflow fan-out: routes x viewports + email capture
Phase 3 Triage any red? fix in source -> back to Phase 0
all green? -> DONE
Context
- Project:
opentraceson Vercel (scopejayfareis-projects) - Framework: Next.js 16 (App Router)
- Root directory: Vercel is configured with root at
web/site/ - Domain: opentraces.ai (production: https://opentraces.ai)
- Build:
next build(runs fromweb/site/) - Version: Auto-read from
src/opentraces/__init__.pyat build time vianext.config.ts - Email capture:
EarlyAccessFormposts to/api/waitlist(Upstash/KV in prod). Renders on/(viaHubTeaser) and/hub. See the Reference section for selectors + admin read.
Phase 0 — Scope & land the site fixes
Find what is site-related and unlanded. The working tree often holds a mix of site + non-site changes. Land only the site fixes here (the rest is a separate concern).
git status --short web/site/ git status --short -- ':!web/site/' # non-site changes, usually leave these git log --oneline origin/main..HEAD -- web/site/ # site commits not yet pushedLocal verify before landing (gate). Run the site against the already-running dev server and check the changed surface with agent-browser: light + dark, desktop + mobile, the specific interaction you changed, plus console/network clean. This is the pre-land gate; do not commit a visual regression. (If no dev server is up,
cd web/site && npm run devon a spare port, verify, then stop it.)Build locally (catches type/build errors the dev server hides):
cd web/site && npm run buildFix any build failure before continuing.
Commit to main and push. Per project convention, commit straight to
main(do not auto-create a feature branch unless asked). Keep the commit scoped to the site fix; co-author the commit per the repo footer rule.git add web/site/ # stage only the site fixes you verified git commit -m "fix(site): <what changed>" git push origin main
Phase 1 — Build & deploy
Deploy from the repo root (not web/site/), because Vercel resolves the
root directory from its project settings (rootDirectory=web/site). Running
from inside web/site/ double-nests the path. Always pin to the latest CLI
(npx vercel@latest).
cd /path/to/repo/root
rm -rf web/site/.next kb/app/.next # stale build output; bloats the upload
npx vercel@latest --prod --yes
Do NOT use --archive=tgz (measured 2026-06-26, CLI 54.x). --archive=tgz
tars the whole working tree and bypasses .vercelignore, so it hauls up
.git-minus-nothing-else plus kb/, .otbox/, web/site/.next-test/, etc. —
a ~3 GB / 1998-file upload that takes minutes and once hung for ~20 min at
"Extracting deployment files" on the build machine (a real prod stall we hit).
The default file-by-file path on vercel@latest instead:
- respects
.vercelignore→ ~628 files / ~40 MB, - uploads in ~2 s and reaches READY in ~60 s end-to-end,
- does not hit
Установить deploy-site в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deploy-site?
Land every site-related fix on main, deploy opentraces.ai to Vercel production, and verify it works across all pages (desktop + mobile) and the email-capture flow, fixing and re-deploying until green. Runs as a goal: land -> deploy -> verify -> triage -> repeat until safe. Use when the user says "deploy site", "deploy to vercel", "push site", "ship the site", "deploy-site", or "land and verify the site". For a full coordinated release that also bumps the version and publishes the Python packages, use /release-pack instead.
Как установить скилл deploy-site?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deploy-site запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic