外贸个人网站静态页展示

SKILL开发
开发 未标注权限 许可证不明确
安装这个技能

外贸个人网站静态页展示,全套白嫖练手SEO准备工作,Cloudclare的

一句话选型结论

按资料字段整理

外贸个人网站静态页展示是开发类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_a80a7fe6/static-page-deploy-github
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_a80a7fe6仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量15.5 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
外贸个人网站静态页展示当前 未标注权限 未标注 未标注 未标注 有
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

15.5 KB
模型实际读到的说明书原文,来自技能仓库

Static Page Deploy (AI-Powered)

AI 生成静态页面 → 用户审核 → GitHub 推送 → Cloudflare Pages 自动部署 → .pages.dev 上线

When This Skill Triggers

User says Interpretation
"帮我做个网站/页面" AI 生成 + 部署
"做个产品展示页" AI 生成特定页面
"做个 landing page" AI 生成落地页
"Deploy this folder" 部署已有文件
"更新我的网站" Mode B 更新
"发布这个页面" AI 生成 + 部署

Also trigger when: user describes a website/page they want + mentions deploy/host/上线/发布/展示页.

Architecture

用户描述需求
  ↓
AI 生成 HTML(内联 CSS,单文件可运行)
  ↓
show_widget 预览 → 用户确认
  ↓
mcp__github 推送到 GitHub
  ↓
Cloudflare Pages 自动部署
  ↓
projects.json 记录项目状态
  ↓
返回 https://xxx.pages.dev

适用场景与限制

✅ 适用场景(推荐)

本技能主要面向个人静态页展示类需求:

场景 示例
个人作品集 "帮我做个作品集页面展示我的项目"
产品展示页 "做个页面展示我们的 IFP 平板"
个人简历页 "帮我做个在线简历"
活动/会议页面 "做个产品发布会的邀请页"
个人博客首页 "做个简洁的博客首页"
项目落地页 "做个 SaaS 产品的介绍页"

❌ 不适用场景(不推荐)

场景 原因 替代方案
SEO 优化网站 Cloudflare Pages 的 .pages.dev 域名 SEO 表现差,搜索引擎几乎不收录 使用独立域名 + Vercel/Netlify,或专业 CMS
多页面大型网站 本技能面向轻量级单页/少页展示,不适合复杂站点架构 使用 Next.js/Hugo 等静态站点生成器
电商/支付类页面 缺乏后端能力,无法处理交易逻辑 Shopify / WooCommerce / 有赞
需要后台管理的网站 无 CMS,每次更新需通过 AI 生成 WordPress / Strapi / Notion + 同步
高流量网站 Cloudflare Pages 免费版有带宽限制 升级 Cloudflare 付费版或使用 CDN
需要数据库的应用 纯静态,无数据库支持 接入 Supabase/Firebase 等 BaaS

> ⚠️ 重要提醒:如果你做网站的主要目的是搜索引擎获客(SEO),本技能不建议使用。.pages.dev 二级域名在 Google/百度中的权重极低,几乎无法获得自然流量。此时建议购买独立域名(如 yourname.com)并配合专业建站工具。


Project State: projects.json

Maintained at ~/.workbuddy/skills/static-page-deploy/projects.json:

{
  "project-name": {
    "github_repo": "owner/repo",
    "cf_project": "project-name",
    "url": "https://project-name.pages.dev",
    "deployed_at": "2026-07-27",
    "description": "Product showcase for Riotouch IFP"
  }
}

Read this file first to determine if a project exists (Mode B) or is new (Mode A).

Two Modes

Mode A: AI Generate + First-Time Deploy

Full pipeline: requirements → AI generate → preview → confirm → GitHub → Cloudflare → live.

Mode B: Update Existing Project

Look up project in projects.json → push changes → verify deployment.


🆕 新手引导:账号注册与凭证获取

> 如果你从未使用过 GitHub 或 Cloudflare,请先完成以下注册步骤。整个过程大约 10 分钟。

1. GitHub 账号注册

GitHub 是代码托管平台,你的网站文件将存储在这里。

注册步骤:
1. 打开 https://github.com/signup
2. 输入邮箱地址(建议使用常用邮箱)
3. 创建密码
4. 选择用户名(将成为你的 GitHub 身份标识)
5. 完成人机验证
6. 验证邮箱(查收邮件点击确认链接)

创建 Personal Access Token(部署必需):

注册完成后,需要创建一个 Token 让 AI 能帮你推送代码:

  1. 登录 GitHub,点击右上角头像 → Settings
  2. 左侧滚动到底部 → Developer settings
  3. 点击 Personal access tokens → Tokens (classic)
  4. 点击 Generate new token (classic)
  5. 填写 Note:static-page-deploy
  6. 勾选权限:repo(完整仓库控制)
  7. 点击 Generate token
  8. 立即复制保存! 页面关闭后无法再次查看

> ⚠️ 重要:Token 只显示一次,请妥善保存。不要分享给他人。

2. Cloudflare 账号注册

Cloudflare 提供免费的静态网站托管服务(.pages.dev)。

注册步骤:
1. 打开 https://cloudflare.com/
2. 点击 Sign up
3. 输入邮箱和密码
4. 验证邮箱

创建 API Token(部署必需):

  1. 登录 Cloudflare,点击右上角头像 → My Profile
  2. 顶部导航选择 API Tokens
  3. 点击 Create Token
  4. 选择 Edit Cloudflare Pages 模板
  5. 权限:Pages:Edit + Account:Read
  6. 点击 Create Token
  7. 立即复制保存!

获取 Account ID:

  1. 登录 Cloudflare Dashboard
  2. 左侧选择 Workers & Pages
  3. 右侧 Account ID 显示在页面右侧
  4. 复制保存

3. 凭证清单

完成注册后,你将拥有:

凭证 说明 示例格式
GitHub Token 推送代码 ghp_xxxxxxxxxxxx
Cloudflare API Token 管理 Pages Abc123...
Cloudflare Account ID 标识账户 a1b2c3d4e5f6...
GitHub 用户名 你的 GitHub 登录名 barrychen

> 💡 提示:首次部署时,AI 会向你索要这些凭证。之后可以保存在环境变量中避免重复输入。


Mode A: Step by Step

Step 0: Check for Existing Project

Read projects.json. If the user mentions a project name that exists → Mode B.

If new project, proceed.

Step 1: Collect Requirements

Ask the user for:

  1. Purpose: What's this page for? (portfolio, product showcase, landing page, etc.)
  2. Content: What content should it have? (text, images, features list, etc.)
  3. Style: Any style preferences? (minimal, corporate, colorful, dark mode, etc.)
  4. Language: Chinese, English, or bilingual?

If the user is vague, make reasonable assumptions and confirm:
"I'll create a clean, modern landing page with the content you described. Sound good?"

Step 2: AI Generate HTML

Generate a complete, self-contained HTML file:

Requirements:
- Inline all CSS in <style> (single file, no external dependencies)
- Responsive design (mobile-friendly)
- Modern, clean aesthetic
- Use placeholder images from https://picsum.photos/ or https://placehold.co/ if needed
- Semantic HTML5 structure
- If user provides specific content/text, use it verbatim

Output format:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>...</title>
  <style>
    /* All CSS inlined */
  </style>
</head>
<body>
  <!-- Content -->
</body>
</html>

Save to a temporary directory: ~/.workbuddy/skills/static-page-deploy/tmp/{project-name}/index.html

Step 3: Preview & Confirm

Use show_widget to render the HTML inline for the user to preview.

Say: "Here's a preview of your page. Want to deploy it, or should I change something?"

Wait for user confirmation before proceeding to any external action.

Step 4: Collect Credentials

4a. GitHub Token
- Check conversation context or environment
- If missing: ask user for token
- Scope: repo
- Generate: https://github.com/settings/tokens

4b. Cloudflare API Token
- If missing: ask user for token with Pages:Edit + Account:Read
- Generate: https://dash.cloudflare.com/profile/api-tokens

4c. Cloudflare Account ID
- Auto-discover via Cloudflare API: GET /accounts with the token
- If multiple accounts found, ask which one

4d. GitHub Username
- Auto-discover: GET /user with GitHub token
- Use the login field

Step 5: Create GitHub Repository

Use mcp__github__create_repository:

{
  "name": "{project-name}",
  "description": "{description}",
  "private": false,
  "auto_init": true
}

If repo already exists, ask user to confirm reuse.

Step 6: Push Files to GitHub

Use mcp__github__create_or_update_file for each file:

mcp__github__create_or_update_file(
  owner: "{owner}",
  repo: "{repo}",
  path: "index.html",
  content: "{base64-encoded-content}",
  message: "Initial commit: AI-generated static site",
  sha: null  // for new files
)

For full sites (CSS/JS/images), push each file individually via the same tool.

Also push _headers for security:

/*
  X-Frame-Options: DENY
  X-Content-Type-Options: nosniff
  Cache-Control: public, max-age=3600

Step 7: Create Cloudflare Pages Project

Use WebFetch to call Cloudflare API:

POST https://api.cloudflare.com/client/v4/accounts/{account_id}/pages/projects
Authorization: Bearer {cf_token}
Content-Type: application/json

{
  "name": "{project-name}",
  "production_branch": "main",
  "source": {
    "type": "github",
    "config": {
      "owner": "{owner}",
      "repo_name": "{repo}",
      "production_branch": "main"
    }
  }
}

Step 8: Authorize & Verify

Tell user:

Almost done! One manual step:
1. Go to https://dash.cloudflare.com/{account_id}/pages/view/{project-name}
2. Click "Connect GitHub" to authorize
3. This can't be automated — Cloudflare requires browser session

After user confirms:
1. Wait ~30 seconds
2. Check deployment: GET /accounts/{id}/pages/projects/{name}/deployments?per_page=1
3. Verify: curl -sI https://{name}.pages.dev → 200

Step 9: Save Project State

Append to projects.json:

"project-name": {
  "github_repo": "owner/repo",
  "cf_project": "project-name",
  "url": "https://project-name.pages.dev",
  "deployed_at": "2026-07-27",
  "description": "..."
}

Step 10: Summary

Deployed successfully!

Project:   {project-name}
GitHub:    https://github.com/{owner}/{repo}
Live URL:  https://{name}.pages.dev

Next time, just say "update {project-name}" and I'll push changes.

Mode B: Update Existing Project

  1. Look up project: Read projects.json, find by name
  2. Get new files: Either AI-generate new version or use local files
  3. Push to GitHub: Use mcp__github__create_or_update_file (with SHA for updates)
  4. Verify deployment: Check Cloudflare deployment status
  5. Report: URL + status

If Cloudflare Pages doesn't auto-deploy:

POST /accounts/{id}/pages/projects/{name}/deployments
Body: {}

Decision Tree

User wants to deploy
  |
  +-- Project exists in projects.json?
  |     |
  |     +-- YES → Mode B (update)
  |     |     1. Look up project details
  |     |     2. Get updated files
  |     |     3. Push via mcp__github
  |     |     4. Verify deployment
  |     |
  |     +-- NO → Mode A (new)
  |           1. Check for local files
  |           2. If no files → AI generate
  |           3. Preview → confirm
  |           4. Collect credentials
  |           5. Create repo via mcp__github
  |           6. Push files via mcp__github
  |           7. Create CF Pages project
  |           8. User authorizes
  |           9. Verify + save state

Critical Pitfalls

1. production_branch Must Be "main"

After creating or updating a Pages project, ALWAYS set production_branch to "main". Cloudflare sometimes auto-creates a cloudflare/workers-autoconfig branch and points the project there. If this happens, the deployed content will be stale or empty.

PATCH /accounts/{id}/pages/projects/{name}
{
  "production_branch": "main",
  "source": {
    "type": "github",
    "config": {
      "owner": "{owner}",
      "repo_name": "{repo}",
      "production_branch": "main"
    }
  }
}

2. Project Names: Lowercase + Dashes Only

Cloudflare API rejects uppercase letters and most special characters.
- Valid: my-site, barry-portfolio, cool-project-123
- Invalid: MySite, barry_site, -start-dash, end-dash-

3. GitHub Authorization Cannot Be Automated

After creating a Pages project with GitHub source, the user MUST manually authorize Cloudflare to access their GitHub repo. This is a browser-based OAuth flow that cannot be done via API.

4. Always Preview Before Deploy

Never skip the preview step. User must confirm before any external action (GitHub push, CF create).

5. Token Security

  • Never log or display tokens in conversation
  • Don't save tokens to projects.json or any file
  • Ask user to provide tokens each session (or use environment variables)

6. Separate Repos for Worker vs Pages

If the user has both a Cloudflare Worker and Pages, use separate GitHub repos. Sharing a repo causes the Worker's cloudflare/workers-autoconfig branch to conflict.


Cloudflare API Reference

All endpoints: https://api.cloudflare.com/client/v4

Action Method Path
List projects GET /accounts/{id}/pages/projects
Create project POST /accounts/{id}/pages/projects
Update project PATCH /accounts/{id}/pages/projects/{name}
Delete project DELETE /accounts/{id}/pages/projects/{name}
List deployments GET /accounts/{id}/pages/projects/{name}/deployments
Get deployment GET /accounts/{id}/pages/projects/{name}/deployments/{did}
Trigger deploy POST /accounts/{id}/pages/projects/{name}/deployments
List accounts GET /accounts

Auth: Authorization: Bearer {cf_token}


GitHub MCP Reference

Use mcp__github tools (load via ToolSearch first):

Action Tool
Create repo mcp__github__create_repository
Create/update file mcp__github__create_or_update_file
Get file contents mcp__github__get_file_contents
Push multiple files mcp__github__push_files
Search repos mcp__github__search_repositories
Get repo mcp__github__get_file_contents

File Structure

~/.workbuddy/skills/static-page-deploy/
├── SKILL.md              # This file
├── projects.json         # Project state (created on first deploy)
├── references/
│   └── troubleshooting.md
└── tmp/                  # Temporary AI-generated files
    └── {project-name}/
        ├── index.html
        ├── style.css    # Optional: separate CSS
        └── script.js    # Optional: separate JS

Bonus: After First Deployment

Once the site is live, optionally suggest:

  1. Add _headers file for security and cache control:
/*
  X-Frame-Options: DENY
  X-Content-Type-Options: nosniff
  Cache-Control: public, max-age=3600
  1. Add _redirects file for clean URLs:
/about  /about.html  200
/faq    /faq.html    200
  1. Connect a custom domain in Cloudflare Dashboard → Pages → Custom domains

  2. Enable Cloudflare Analytics for visitor insights

常见问题

5 问
答案由本站依据条目字段整理
外贸个人网站静态页展示怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_a80a7fe6/static-page-deploy-github。安装方式为未标注。装完刷新技能列表或重开客户端。

外贸个人网站静态页展示支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

外贸个人网站静态页展示权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

外贸个人网站静态页展示收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

外贸个人网站静态页展示用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。