Agent skill

Web Design

by countbot-ai in countbot-ai/CountBot

网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。

MITAuto-check passedFrontend & Design

Install Web Design

skills CLI
$ npx skills add countbot-ai/CountBot --skill web-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install countbot-ai/CountBot web-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/countbot-ai/CountBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/web-design .claude/skills/web-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-design
GitHub stars
782
Token cost
~1k tokens
SKILL.md length
112 words
Files
5 (incl. scripts, assets)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。

  • Works in 2 steps: 根据用户需求设计独特的页面风格 → 生成 HTML 并保存到本地文件
  • Frontend & Design work in your project
  • SKILL.md covers 设计规范, 部署到 Cloudflare Pages, AI 调用场景 and 注意事项
  • Runs Python scripts from its folder; calls python3; reaches cdn.jsdelivr.net and cdnjs.cloudflare.com

What it does

Web Design is an agent skill from countbot-ai/CountBot. 网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and assets (for example `scripts/config.json` and `scripts/deploy.py`).

It sits in Frontend & Design. It works with Cloudflare Pages, Chart.js and Tailwind CSS. The repository describes itself as: 更适配中文用户的轻量开源AI Agent | 国产大模型Coding plan支持 | 兼容OpenClaw Skills生态| 已接入微信ClawBot/微博龙虾/飞书/钉钉/QQ/小智AI/Telegram/deepseek-v4。 The licence is MIT.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/web-design”

Requirements

  • Python 3
  • Node.js
  • A credential in YOUR_CLOUDFLARE_API_TOKEN

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. 根据用户需求设计独特的页面风格
  2. 生成 HTML 并保存到本地文件

What it can do on your machine

Read from SKILL.md and the folder at commit 3c26f11. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • cdn.jsdelivr.net
    • cdnjs.cloudflare.com
    • unpkg.com
    • fonts.googleapis.com
    • cdn.tailwindcss.com

    Also links to:

    • dash.cloudflare.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Web Design loads about 1k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 112 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from countbot-ai/CountBot at commit 3c26f11, republished under its MIT licence (© countbot-ai). 112 words, ~1,040 tokens.

Download SKILL.mdSave it as .claude/skills/web-design/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
web-design
description
网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。
homepage
https://github.com/countbot-ai/CountBot

网页设计与部署

生成精美单页 HTML 并部署到 Cloudflare Pages。

设计规范

设计语言

根据用户需求自由设计,每次生成的页面应有独特的视觉风格,避免千篇一律。

设计约束:

  • 不使用紫色渐变配色
  • 不使用 Emoji 表情符号,统一使用 Font Awesome 图标代替
  • 布局:灵活运用 Tailwind CSS 的 Grid / Flex 布局,根据内容量和类型选择合适的排版
  • 卡片组件:圆角、阴影、悬停动效等可根据风格调整
  • 图标:使用 Font Awesome 6.x <i class="fa-solid fa-xxx">
  • 图表:使用 Chart.js,支持 bar / line / doughnut / radar / polarArea 等
  • 响应式:确保移动端和桌面端都有良好的展示效果
推荐在线资源(CDN)
html
<!-- 核心 -->
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">

<!-- 动画 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<script src="https://unpkg.com/aos@2.3.4/dist/aos.js"></script>
<link rel="stylesheet" href="https://unpkg.com/aos@2.3.4/dist/aos.css">

<!-- 字体 -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap">

<!-- 图表增强 -->
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>

<!-- 轮播 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>

<!-- 代码高亮(技术类页面) -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>

<!-- 数字滚动动画 -->
<script src="https://cdn.jsdelivr.net/npm/countup.js@2/dist/countUp.umd.min.js"></script>

<!-- 打字机效果 -->
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.js"></script>

<!-- 粒子背景 -->
<script src="https://cdn.jsdelivr.net/npm/tsparticles-slim@2/tsparticles.slim.bundle.min.js"></script>

<!-- Markdown 渲染(文档类页面) -->
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>

<!-- 图片灯箱 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lightgallery@2/css/lightgallery-bundle.min.css">
<script src="https://cdn.jsdelivr.net/npm/lightgallery@2/lightgallery.umd.min.js"></script>

按需引入,不必全部加载。根据页面类型选择合适的资源。

按需参考 assets/template.html 了解一种可能的实现方式(白底卡片式布局),但不要每次都照搬。

部署到 Cloudflare Pages

重要规则
  • 如果用户没有明确指定部署到哪个项目,必须使用八位随机字母数字前缀 + 内容名称作为项目名(如 a3f8k2m1-product-intro、x7b9d4e2-annual-report),避免项目名冲突
  • 只有用户明确说"部署到 xxx 项目"或"更新 xxx"时,才部署到已有项目
  • 随机前缀使用小写字母和数字混合,每次部署生成新的前缀
配置

编辑 skills/web-design/scripts/config.json:

json
{
  "api_token": "YOUR_CLOUDFLARE_API_TOKEN"
}

API Token 获取:Cloudflare Dashboard > Create Token > Cloudflare Pages: Edit

account_id 无需配置,脚本会通过 API 自动获取。

命令行调用

纯 Python + REST API 实现,无需 wrangler 或 Node.js。

bash
# 部署单个 HTML 文件(自动创建项目,自动作为 index.html)
python3 skills/web-design/scripts/deploy.py deploy index.html --project my-site

# 部署整个目录
python3 skills/web-design/scripts/deploy.py deploy ./dist --project my-site

# 部署到预览分支
python3 skills/web-design/scripts/deploy.py deploy ./dist --project my-site --branch preview

# 查看项目列表
python3 skills/web-design/scripts/deploy.py list

# 查看项目部署历史
python3 skills/web-design/scripts/deploy.py deployments --project my-site

部署成功后会返回 https://<project>.pages.dev 的访问地址。

AI 调用场景

用户说"帮我做一个产品介绍页":

  1. 根据用户需求设计独特的页面风格
  2. 生成 HTML 并保存到本地文件

用户说"部署到线上"(未指定项目):

bash
# 八位随机前缀 + 内容名称,避免冲突
python3 skills/web-design/scripts/deploy.py deploy 文件路径 --project a3f8k2m1-product-intro

用户说"更新 xxxx 网站":

bash
python3 skills/web-design/scripts/deploy.py deploy 文件路径 --project prompt123

注意事项

  • 单文件部署时自动复制为 index.html
  • 单文件限制 10MB
  • 项目名会作为子域名:<project>.pages.dev
  • 首次部署会自动创建项目
  • 纯 Python 标准库实现,无需 Node.js 或 wrangler

© countbot-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, assets) in workspace/skills/web-design of countbot-ai/CountBot.

  • SKILL.md
  • assets/template.html
  • scripts/config.json
  • scripts/config.json.example
  • scripts/deploy.py

Open the folder on GitHubat commit 3c26f11

Compare with similar skills

Web Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web Design this skillcountbot-ai/CountBot782—~1kAutomated safety check: PassMIT
Brand and Design Toolkitnextlevelbuilder/ui-ux-pro-max-skill134k1 repos~3.5kAutomated safety check: PassMIT
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT

Similar skills

  • Brand and Design Toolkit

    nextlevelbuilder/ui-ux-pro-max-skill

    Bundles design tasks behind one skill: brand identity, tokens, UI styling, logos, corporate identity mockups, slides, banners, icons and social images.

    134k GitHub starsUsed in 1 repo~3.5k tokens
    Media & CreativeAuto-check passed
  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Accessibility Review

    markmead/hyperui

    Run a WCAG 2.1 AA accessibility audit on a design or page. An agent skill from markmead/hyperui.

    12k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed

More from countbot-ai/CountBot

All 11 skills in this repo
  • Ima Knowledge Base

    countbot-ai/CountBot

    通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。

    782 GitHub stars~506 tokensUpdated 4 days ago
    Auto-check passed
  • Find Skills

    countbot-ai/CountBot

    基于腾讯 SkillHub 搜索、安装和管理技能。用户提到“找技能”“安装 skill”“扩展功能”“启用/禁用 skill”“删除 skill”“安装 SkillHub CLI”时优先使用。

    782 GitHub starsUsed in 1 repo~794 tokens
    Auto-check passed
  • Image Analysis

    countbot-ai/CountBot

    图片分析与识别,可分析本地图片、网络图片、视频、文件。适用于 OCR、物体识别、场景理解等。当用户发送图片或要求分析图片时必须使用此技能。

    782 GitHub starsUsed in 1 repo~532 tokens
    Auto-check passed
  • News

    countbot-ai/CountBot

    新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。

    782 GitHub starsUsed in 1 repo~876 tokens
    Auto-check passed
  • Agent Team Manager

    countbot-ai/CountBot

    多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。

    782 GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed
  • Cron Manager

    countbot-ai/CountBot

    定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用. An agent skill from countbot-ai/CountBot.

    782 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed

Questions about Web Design

What does Web Design do?

网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。. Web Design is an agent skill from countbot-ai/CountBot.

When should I use Web Design?

Web Design fits situations like: frontend & Design work in your project.

How do I install Web Design in Claude Code?

Run `npx skills add countbot-ai/CountBot --skill web-design -a claude-code`. Or copy the skill folder (workspace/skills/web-design in countbot-ai/CountBot) into .claude/skills/web-design in your project. Claude Code loads it when a task matches its description.

How do I install Web Design in Codex?

Run `npx skills add countbot-ai/CountBot --skill web-design -a codex`. Or copy the skill folder (workspace/skills/web-design in countbot-ai/CountBot) into .agents/skills/web-design in your project. Codex loads it when a task matches its description.

Can I use Web Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add countbot-ai/CountBot --skill web-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-design, .gemini/skills/web-design, .github/skills/web-design and .opencode/skills/web-design in your project.

What does Web Design need to run?

Going by SKILL.md and its folder, Web Design needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Node.js; A credential in YOUR_CLOUDFLARE_API_TOKEN.

Does Web Design access the network?

SKILL.md names 6 domains. In commands or code: cdn.jsdelivr.net, cdnjs.cloudflare.com, unpkg.com, fonts.googleapis.com and cdn.tailwindcss.com; the agent is likely to contact these when it follows the instructions. As links in the text: dash.cloudflare.com. This is read from the text; nothing was executed.

Is Web Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Web Design use?

Web Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web Design use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Web Design?

Skills that share tags, products or a category with Web Design: Brand and Design Toolkit (nextlevelbuilder/ui-ux-pro-max-skill, 134k stars), Web Artifacts Builder (anthropics/skills, 180k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars) and UI Styling (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web Design?

countbot-ai (a GitHub user) maintains it in countbot-ai/CountBot, which has 782 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 4, 2026.

Source: countbot-ai/CountBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.