edgeone-makers-deploy
Installation
SKILL.md
EdgeOne Makers Deployment Skill
Deploy any project to EdgeOne Makers.
⛔ Critical Rules (never skip)
- CLI version ≥
1.6.0— reinstall if lower. Versions below1.6.0lack the non-interactive fixes (whoami fail-fast,--jsonoutput) and will hang in Agent/CI environments. Never proceed with an outdated version. - Never truncate the deploy URL —
EDGEONE_DEPLOY_URLincludes query parameters required for access. Always output the complete URL. 3a. Prefer--jsonwhen running non-interactively — in Agent/CI/headless contexts, always pass--jsontodeployso the result is a single machine-readable line; no need to scrape colored/\r-animated stdout. See Parse Deploy Output. 3b. Useedgeone whoamito check login status — on CLI ≥ 1.6.0,whoamifails fast (exit 1) when not logged in instead of hanging. If it exits 0, the user is already logged in and-tis not needed. Do NOT checkcat .edgeone/.token— CLI stores credentials in~/.edgeone/<hash>files, not a fixed.tokenpath. - ⚠️ 部署地址必须醒目地放在回复最前面 — 部署完成后,完整的访问 URL 是用户最关心的核心交付物。必须做到:① 放在回复正文的第一行或第一个独立区块;② 使用醒目的格式(如大标题 + 代码块);③ 绝不能把地址埋在长段落中间让用户去找。示例格式:
然后再附上其他说明(控制台地址、注意事项等)。🌐 线上地址:https://my-project-abc123.edgeone.cool?<auth_query_params> - Ask the user to choose China or Global site before browser login. Never assume. (Token login via
edgeone login --tokenauto-detects site, no need to ask.) - Auto-detect the login method — browser login in desktop environments, token login in headless/remote/CI environments. Follow the decision table below.
- After token login, ask if the user wants to save the token locally for future use.
- Before triggering any browser popup (login / registration), explain the reason and the benefits to the user first — never silently launch a browser window.