Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

edgeone-makers-deploy

БесплатноЗапускает вложенные скриптыНе проверен

This skill deploys frontend and full-stack projects to EdgeOne Makers (Tencent EdgeOne). Trigger this skill whenever deployment is part of the task — whether…

infometaот infometa★ 475 звёзд на GitHub

Об этом скилле

EdgeOne Makers Deployment Skill

Deploy any project to EdgeOne Makers.

⛔ Critical Rules (never skip)

🔌 Connector preAuth exception: when invoked via the WorkBuddy EdgeOne connector, CLI install/version and login are already guaranteed by cli.json preAuth — skip the version check (Rule 1) and the login check / login steps, and deploy directly. Everything below still fully applies to standalone / CI use (no preAuth).

  1. CLI version ≥ 1.6.0 — reinstall if lower. Versions below 1.6.0 lack the non-interactive fixes (whoami fail-fast, --json output) and will hang in Agent/CI environments. Never proceed with an outdated version.

  2. Never truncate the deploy URL — this applies to EVERY mention — EDGEONE_DEPLOY_URL includes query parameters (?eo_token=...&eo_time=...) required for access. Without them the page returns 401. Always output the complete URL with full query string. This rule applies to: the primary display, summary tables, footnotes, comparisons, code blocks, present_files calls — every single occurrence of the URL in your reply. Truncation is any removal of the ? and everything after it.

    ❌ WRONG (truncated — will 401):

    https://my-app-w9t0lxe8.edgeone.cool
    

    ✅ CORRECT (full URL):

    https://my-app-w9t0lxe8.edgeone.cool?eo_token=abc123&eo_time=1234567890
    

    Self-check after writing your reply: scan for every instance of the .edgeone.cool domain. Does each one include ?eo_token=? If any doesn't, fix it NOW — the user will get a 401. 3a. Prefer --json when running non-interactively — in Agent/CI/headless contexts, always pass --json to deploy so the result is a single machine-readable line; no need to scrape colored/\r-animated stdout. See Parse Deploy Output. 3b. Use edgeone whoami to check login status — on CLI ≥ 1.6.0, whoami fails fast (exit 1) when not logged in instead of hanging. If it exits 0, the user is already logged in and -t is not needed. Do NOT check cat .edgeone/.token — CLI stores credentials in ~/.edgeone/<hash> files, not a fixed .token path.

  3. The deploy URL MUST be placed at the very top of the visible reply body (own line, code block, or heading — not inline, not mid-reply), AND ALSO pinned via present_files (or the IDE's preview tool) to the side panel. Two UI failures to survive: thinking / reasoning / "深度思考" blocks hide content by default; long replies get auto-folded by IDE chat cards, burying anything placed mid-reply. present_files is unaffected by chat folding — that's the second, always-visible channel. Complete URL, no truncation (Rule 2). Example format:

    🌐 Live URL: https://my-project-abc123.edgeone.cool?<auth_query_params>
    

    Then append any other notes (console URL, caveats, etc.).

    Self-check before ending the turn (MANDATORY) — read back what the user will actually SEE (NOT your thinking / reasoning content). Two questions: (a) Is the complete .edgeone.cool URL present at the top of the visible reply, in a code block or heading? (b) Was present_files called with that URL? If either answer is no, send an additional short message containing ONLY the 🌐 Live URL: <full URL> block and call present_files. Do not end the turn until both channels carry the URL. "I already mentioned it in my reasoning" is NOT a substitute for placing it in the visible body.

  4. Ask the user to choose China or Global site before browser login. Never assume. (Token login via edgeone login --token auto-detects site, no need to ask.)

  5. Prefer Browser Login; fall back to Token only after browser login is confirmed to fail (see Login section for the ~60s fallback threshold and the Agent-in-IDE clarification — WorkBuddy is NOT headless). Token-first only when the user explicitly requests it.

  6. After token login, ask if the user wants to save the token locally for future use.

  7. Before triggering any browser popup (login / registration), explain the reason and the benefits to the user first — never silently launch a browser window.

  8. On any CLI failure, surface the actual error text to the user before retrying, switching commands, or proposing a workaround. Do NOT paraphrase (e.g. don't rewrite Makers project exceeds 40 limit into "maybe a name conflict or permission"). Do NOT silently pivot from makers dev to makers deploy (or vice versa) hoping to bypass — a systemic failure (auth / quota / permission) hits both with the same cause. Quote the raw error, name the root cause, then propose the fix or ask the user.


Environment Setup

Before executing any edgeone CLI command (install, login, deploy, etc.), set the following environment variable in the current shell session:

export PAGES_SOURCE=skills

Or prefix each command inline:

PAGES_SOURCE=skills edgeone makers deploy

This tells the platform that the deployment is triggered from an AI skill context.


Полный SKILL.md на GitHub

Установить edgeone-makers-deploy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/command-reference.mdscripts/deploy.mjs

FAQ

Что делает скилл edgeone-makers-deploy?

This skill deploys frontend and full-stack projects to EdgeOne Makers (Tencent EdgeOne). Trigger this skill whenever deployment is part of the task — whether as the primary intent or a secondary step. Examples: "deploy my app", "publish this site", "push this live", "create a preview deployment", "deploy to EdgeOne", "ship to production", "go live", "release", "publish a new version", "redeploy", "上线", "发布", "发一版", "重新部署", "搭建并部署", "开发并上线", "build and deploy", "create and deploy". ⚠️ Also trigger when any agent is about to execute `edgeone makers deploy` or `edgeone makers deploy` commands — the skill contains critical rules for parsing deploy output and presenting access URLs. Do NOT trigger for post-deployment runtime errors (e.g. CORS issues, 500 errors after deploy — use edgeone-makers-dev for troubleshooting).

Как установить скилл edgeone-makers-deploy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл edgeone-makers-deploy запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить edgeone-makers-deploy с