edgeone-deploy

EdgeOne deployment assistant: use Tencent Cloud EdgeOne API to configure CDN acceleration, HTTPS, and security protection for domains. Trigger conditions include EdgeOne, CDN integration, HTTPS certificates, accelerated domains, origin configuration, CNAME integration, dnsPodAccess; prerequisites: tccli configured with Tencent Cloud credentials and EdgeOne site already created.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "edgeone-deploy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8bab059a25d5ea970395048e46f635c45a3a5ab82d893a16febd84df44776272. Verify the upstream source and version against https://skillhub.cn/skills/user_f12a44b7/edgeone-deploy-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

EdgeOne deployment assistant: use Tencent Cloud EdgeOne API to configure CDN acceleration, HTTPS, and security protection for domains. Trigger conditions include EdgeOne, CDN integration, HTTPS certificates, accelerated domains, origin configuration, CNAME integration, dnsPodAccess; prerequisites: tccli configured with Tencent Cloud credentials and EdgeOne site already created.

0 Downloads

Introduction source: third_party · user_f12a44b7 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: edgeone-deploy
slug: edgeone-deploy-skill
version: 1.0.0
displayName: "Edgeone Deploy Skill"
description: >
  通过腾讯云 EdgeOne(teo)API 为域名配置 CDN 加速、HTTPS 和安全防护。
  Triggers: EdgeOne、CDN接入、HTTPS证书、加速域名、回源配置、CNAME接入、dnsPodAccess。
  前置依赖:tccli 已配置腾讯云凭证,EdgeOne 站点已创建。

EdgeOne Deploy — 腾讯云边缘安全加速接入

通过 tccli(teo 服务)将域名接入 EdgeOne,实现 CDN 加速 + 免费 HTTPS + 安全防护。

前置条件

  • tccli 已配置腾讯云 API 密钥(支持 teo 服务)
  • EdgeOne 站点已创建(通过控制台或 CreateZone API)
  • 源站已部署并可访问(HTTP 80 或 HTTPS 443)

常用查询

# 查看已有站点
tccli teo DescribeZones
# 返回 ZoneId、ZoneName、Type 等

# 查看站点下加速域名
tccli teo DescribeAccelerationDomains --ZoneId <ZoneId>

# 查看站点 DNS 记录(NS 模式下)
tccli teo DescribeDnsRecords --ZoneId <ZoneId>

# 查看站点配置
tccli teo DescribeZoneSetting --ZoneId <ZoneId>

核心工作流

Step 1: 确认站点信息

# 获取 ZoneId
tccli teo DescribeZones | python3 -c "
import sys,json
d=json.load(sys.stdin)
for z in d['Zones']:
    print(f\"{z['ZoneName']} | ZoneId={z['ZoneId']} | Type={z['Type']}\")
"

站点类型说明:

  • dnsPodAccess:NS 接入,DNS 由 EdgeOne 托管,需改域名 NS 到 EdgeOne 指定地址
  • cnameAccess:CNAME 接入,DNS 在原有服务商,加 CNAME 记录指向 EdgeOne

Step 2: 创建加速域名

tccli teo CreateAccelerationDomain \
  --ZoneId <ZoneId> \
  --DomainName <子域名.主域名> \
  --OriginType ip \
  --Origin <源站IP> \
  --OriginPort <端口>

参数说明:

  • DomainName:要加速的完整域名(如 design.yunjinhong.cn)
  • OriginType:ip(IP 回源)或 domain(域名回源)或 cos(COS 回源)
  • Origin:源站地址(IP 或域名)
  • OriginPort:源站端口,默认 80

Step 3: 配置 HTTPS(免费证书)

EdgeOne 支持免费 SSL 证书(Let's Encrypt),通过站点配置开启:

tccli teo ModifyZoneSetting \
  --ZoneId <ZoneId> \
  --Hosts '{"Domain": "<子域名.主域名>", "Https": {"Switch": "on"}}'

免费证书申请(如站点支持):

tccli teo ApplyFreeCertificate \
  --ZoneId <ZoneId> \
  --DomainName <子域名.主域名>

Step 4: 验证 CNAME 接入

# 查询 CNAME 状态
tccli teo CheckCnameStatus \
  --ZoneId <ZoneId> \
  --DomainName <子域名.主域名>

如果站点类型是 dnsPodAccess,DNS 记录由 EdgeOne 管理,无需手动配置。 如果是 cnameAccess,需要在 DNSPod 添加 CNAME 记录指向 EdgeOne 分配的地址。

Step 5: 回源策略(可选)

# 配置回源 Host(源站有多域名时)
tccli teo ModifyZoneSetting \
  --ZoneId <ZoneId> \
  --Hosts '{"Domain": "<子域名.主域名>", "Origin": {"HostHeader": "<回源Host>"}}'

# 配置缓存规则
tccli teo ModifyZoneSetting \
  --ZoneId <ZoneId> \
  --Cache '{"Switch": "on", "Rules": [...]}'

已有站点信息

站点 ZoneId 类型 套餐
yunjinhong.cn zone-3pjwxe4xqjlo dnsPodAccess 免费版

与 service-deploy skill 的关系

  • service-deploy:负责服务器侧(nginx + 后端 + DNSPod A 记录直连)
  • edgeone-deploy:负责 CDN 层(EdgeOne 接入 + HTTPS + 缓存 + 防护)
  • 推荐顺序:先 service-deploy 确保源站可访问,再 edgeone-deploy 加 CDN 层
  • 接入 EdgeOne 后,DNSPod 的 A 记录可删除,改为 EdgeOne 托管 DNS

提示词模板

  • "把 <域名> 接入 EdgeOne"
  • "给 <域名> 开 HTTPS"
  • "查 EdgeOne 站点列表"
  • "给 <域名> 配 EdgeOne 加速,回源到 <IP>:<端口>"

注意事项

  • EdgeOne 免费版有流量限制,适合中小站点
  • NS 接入需要去域名注册商修改 NS 服务器,DNS 切换期间可能短暂不可用
  • 修改配置后通常 1-5 分钟生效
  • tccli teo 参数用驼峰命名(--ZoneId 不是 --zone-id)

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供完整 EdgeOne 接入工作流,涵盖 CDN 加速、HTTPS 配置、回源策略
Trigger Precision82/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    缺少 SSL 证书、边缘加速等常见变体

    Recommendation: 补充常见同义词和变体触发词,提升触发覆盖率

Structure and Standards92/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未明确说明适用场景和典型用例

    Recommendation: 增加 When to Use 章节,说明典型使用场景和用户画像

Highlights

  • 结构清晰,分步骤说明,含前置条件和示例命令
Execution Reliability75/100

Areas to improve

  • 缺少常见异常处理 Reported severity: Major

    未覆盖 tccli 未配置凭证、API 调用失败等常见异常

    Recommendation: 增加异常处理建议,如凭证配置检查、API 错误码处理、重试机制等

Highlights

  • 命令参数正确,覆盖主要流程,含 CNAME 验证机制
Evidence Verifiability (mean of the first four)82/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 18

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.