/ 目录 / 演练场 / claude-skills
● 社区 secondsky ⚡ 即开即用

claude-skills

作者 secondsky · secondsky/claude-skills

Production-ready Claude Code skills for Cloudflare, React, Tailwind v4, and AI integrations — the modern full-stack bundle.

A focused set of skills for the Cloudflare + React + Tailwind v4 + AI stack. Opinionated toward what actually ships in 2026: Workers, D1, R2, Pages on Cloudflare; React 19 + Tailwind v4 on the frontend; provider-agnostic AI integration patterns.

为什么要用

核心特性

实时演示

实际使用效果

claude-skill-5.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/secondsky/claude-skills",
        "~/.claude/skills/claude-skills"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/secondsky/claude-skills",
        "~/.claude/skills/claude-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/secondsky/claude-skills",
        "~/.claude/skills/claude-skills"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/secondsky/claude-skills",
        "~/.claude/skills/claude-skills"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-skill-5",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/secondsky/claude-skills",
        "~/.claude/skills/claude-skills"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-skill-5": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/secondsky/claude-skills",
          "~/.claude/skills/claude-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add claude-skill-5 -- git clone https://github.com/secondsky/claude-skills ~/.claude/skills/claude-skills

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: claude-skills

Ship a new Cloudflare-hosted React app in one session

👤 Devs building on the CF stack ⏱ ~60 min intermediate

何时使用: You want Workers + Pages + D1 wired up without reading 5 Cloudflare docs.

前置条件
  • Cloudflare account + wrangler — npm i -g wrangler; wrangler login
  • Skill installed — git clone https://github.com/secondsky/claude-skills ~/.claude/skills/claude-skills
步骤
  1. Scaffold
    Use claude-skills. Scaffold a React 19 + Tailwind v4 app deployed to Cloudflare Pages with a Workers API and D1 DB.✓ 已复制
    → Monorepo structure with apps/web, apps/api (Worker), wrangler.toml
  2. Add a feature
    Add a 'notes' feature — D1 schema, CRUD Worker endpoints, React UI with Tailwind v4 styling.✓ 已复制
    → Migration + Worker + React page
  3. Deploy
    Deploy to Cloudflare.✓ 已复制
    → wrangler deploy output; URLs returned

结果: Live URL within an hour.

注意事项
  • Wrangler config drift between environments — Use wrangler environments from the start — dev/staging/prod sections
搭配使用: cloudflare · cloudflare-api

Migrate a Tailwind v3 project to v4

👤 Teams on v3 hitting the v4 release ⏱ ~45 min intermediate

何时使用: You want the new engine + CSS-first config without breaking everything.

步骤
  1. Audit current
    Use claude-skills. Audit my tailwind.config.js for v4 breaking changes.✓ 已复制
    → Change list with severity
  2. Migrate config
    Convert to v4 CSS-first config with @theme directives.✓ 已复制
    → New globals.css with @theme block
  3. Fix utilities
    Find v3 utilities that changed or were removed; rewrite usage.✓ 已复制
    → Grep + rewrite pass

结果: Project on v4 without visual regressions.

注意事项
  • Plugin ecosystem not v4-ready yet — Check each plugin's v4 status; stay on v3 if a critical one lags
搭配使用: filesystem

Wrap multiple AI providers behind one adapter

👤 Devs who want to swap Claude / GPT / local models without rewriting ⏱ ~45 min advanced

何时使用: Locking into one provider feels wrong and you want a clean interface.

步骤
  1. Define interface
    Use claude-skills ai-adapter pattern. Define a TS interface that abstracts chat completion across Claude, OpenAI, and a local model.✓ 已复制
    → Interface + 3 implementations
  2. Wire up streaming
    Add SSE streaming support to the adapter.✓ 已复制
    → Streaming implementation consistent across providers

结果: A swappable AI layer.

注意事项
  • Over-abstracting and losing provider-specific features — Keep a provider-specific escape hatch alongside the shared interface

组合

与其他 MCP 搭配,撬动十倍杠杆

claude-skill-5 + cloudflare

Deploy + manage the CF resources the scaffold creates

After scaffold, use cloudflare MCP to verify DNS and tail Worker logs.✓ 已复制
claude-skill-5 + cloudflare-api

Bulk CF config operations

Configure cache rules and WAF for the deployed Pages project.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
cf_scaffold app type, features New CF app 0
tailwind_migrate v3 config Tailwind upgrade 0
ai_adapter_scaffold providers list Multi-provider AI setup 0

成本与限制

运行它的成本

API 配额
None in skill
每次调用 Token 数
Moderate
费用
Cloudflare has a generous free tier; paid features as you grow
提示
Use wrangler dev locally; reserve cloud deploys for staging/prod.

安全

权限、密钥、影响范围

凭据存储: Wrangler handles CF auth; AI provider keys via env / CF secrets
数据出站: CF, AI providers you configure

故障排查

常见错误与修复

D1 migration fails

Wrangler D1 migrations are finicky; run with --local first and inspect the SQL

验证: wrangler d1 migrations list <db>
Tailwind v4 styles not applying

Check the @source directive captures your content paths

Deploy succeeds but Worker returns 500

wrangler tail to see the actual error

验证: wrangler tail <worker>

替代方案

claude-skills 对比其他方案

替代方案何时用它替代权衡
Vercel / Next.js stackYou prefer Next ecosystemDifferent deployment model, pricing
cc-frontend-skillYou care most about visual identityNot stack-specific

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills