EdgeOne Pages Deployment
Paste the following prompt into your AI chat to install this skill:
Please install @user_cdc69ff0/edgeone-pages-deploy according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When publishing a front-end project to EdgeOne Pages, the blocking issues are often operational rather than code-related: the edgeone CLI may be too old, China and Global console sessions can be confused, desktop browser login does not fit headless or CI environments, tokens can be mishandled, and the deploy URL can be truncated. This skill provides an agent with a deployment checklist that forces version, site, login mode, and output parsing decisions before running commands.
How It Works
- Environment checks: requires
edgeoneCLI >=1.2.30and sets an AI-skill context variable so deployments are distinguishable from manual runs. - Site selection: asks the user to choose China or Global before login, mapping to
console.cloud.tencent.comorconsole.intl.cloud.tencent.cominstead of assuming a region. - Auth modes: uses browser login for local desktop IDEs, token login for SSH, containers, CI, or explicit requests; saved tokens can be stored in
.edgeone/.tokenand excluded from version control. - Deploy parsing: extracts
EDGEONE_DEPLOY_URL,EDGEONE_PROJECT_ID, and the console link, preserving the full query string because a truncated URL may not load. - Failure paths: covers missing CLI, browser not opening, expired tokens, project name conflicts, build failures, and browser session reuse that binds the wrong account.
Boundaries
This skill is useful for quick preview or production deployment of an existing buildable project in local and CI workflows. It does not solve ICP filing, custom domain DNS, or resource permissioning. Preview URLs accessed from mainland China may be restricted by filing or CDN policy, so long-term public access still needs a properly filed custom domain.
Use Cases
- After finishing a local front-end build in VS Code, publish the output to an EdgeOne Pages preview URL for quick review.
- Inside a CI container where browser login cannot open, authenticate securely with an API token and deploy to EdgeOne Pages.
- When login binds the wrong China or Global account, switch to token login or clear Tencent Cloud sessions and retry.
- After a successful EdgeOne Pages deploy, extract the full access URL, project ID, and console link without truncating query params.
Best For
- Front-end engineers releasing internal or client projects, who need stable EdgeOne Pages deployment and a complete, untruncated access URL for review.
- CI/DevOps engineers maintaining pipelines, who need token-based EdgeOne Pages deployment in headless containers or remote build agents without opening a browser.
- SREs or backend engineers debugging auth failures, who need to separate China and Global console sessions before redeploying to EdgeOne Pages.
- AI-assisted developers running deployment tasks, who need the model to check CLI version, site choice, and login mode before executing commands.
Related Skills
Detects AI-generated images from Stable Diffusion, Midjourney, and GPT-4o via Tencent Cloud image moderation and returns risk scores.
A log analysis tool combining deterministic rules and AI reasoning, with error severity levels, keyword filtering, real-time monitoring, webhook alerts, batch directory analysis, and path, SSRF, and XSS protections.
Comprehensive network engineering skill covering fault troubleshooting, technical consulting, and architecture design across routing and switching, wireless, security, cloud computing, and optical transport.
A Windows-only read-only storage scanner that finds large directories, grades risks, and opens an interactive local HTML report with one-click cleanup for safe green items.