当84,461个开发者都在用同一套Skills时,你就知道这事儿靠谱。深入Claude Skills生态,从使用到定制,从fork到发布,一站式掌握。
世界上有一种现象叫"开发者用脚投票"。当mattpocock/skills在GitHub上获得84,461星标、单日增长3,155星时,你就知道Claude Skills已经成为了AI编程领域的"标准库"。
mattpocock(TypeScript专家)开源的Skills集合,专为"Real Engineers"设计:
mattpocock/skills 目录结构:
skills/
├── typescript/ # TypeScript相关
│ ├── type-narrowing.md
│ ├── generics.md
│ └── utility-types.md
├── testing/ # 测试相关
│ ├── unit-testing.md
│ └── integration-testing.md
├── git/ # Git工作流
│ ├── conventional-commits.md
│ └── pr-workflow.md
├── code-review/ # 代码审查
│ ├── checklist.md
│ └── best-practices.md
└── productivity/ # 效率工具
├── keyboard-shortcuts.md
└── terminal-tricks.md
Anthropic官方维护的Skills仓库,质量有保障:
anthropics/skills 核心分类:
├── core/ # 核心能力
│ ├── file-operations
│ ├── web-search
│ └── code-execution
├── integrations/ # 第三方集成
│ ├── github
│ ├── slack
│ └── linear
├── workflows/ # 工作流模板
│ ├── code-review
│ ├── bug-triage
│ └── release-management
└── templates/ # Skill模板
├── basic-skill
├── api-integration
└── data-processing
一个标准的Skill应该包含:
my-skill/ ├── SKILL.md # 主文档(必需) ├── README.md # 使用说明 ├── examples/ # 示例代码 │ ├── basic.js │ └── advanced.js ├── tests/ # 测试文件 │ └── skill.test.js ├── assets/ # 资源文件 │ ├── screenshots/ │ └── templates/ └── config.json # 配置文件(可选)
# Skill名称 ## 功能描述 简短描述这个Skill做什么 ## 使用场景 - 场景1 - 场景2 ## 使用方法 详细的使用步骤 ## 参数配置 | 参数 | 类型 | 说明 | 默认值 | |------|------|------|--------| | param1 | string | 说明 | default | ## 示例代码 ```language // 示例代码 ``` ## 注意事项 - 注意点1 - 注意点2 ## 相关链接 - [相关文档](url)
// openclaw.yaml
skills:
- name: "type-narrowing"
source: "github:mattpocock/skills/typescript/type-narrowing.md"
version: "main"
- name: "code-review"
source: "github:anthropics/skills/workflows/code-review"
version: "v1.2.0"
# 克隆Skills仓库
git clone https://github.com/mattpocock/skills.git ~/.skills/mattpocock
git clone https://github.com/anthropics/skills.git ~/.skills/anthropics
# 在OpenClaw中配置
// openclaw.yaml
skills:
- name: "git-workflow"
path: "~/.skills/mattpocock/git/conventional-commits.md"
- name: "api-integration"
path: "~/.skills/anthropics/templates/api-integration"
# 使用ClawHub CLI安装 clawhub install mattpocock/type-narrowing clawhub install anthropics/code-review # 安装后自动添加到OpenClaw配置 # 查看已安装的Skills clawhub list
基于现有Skills进行定制:
// 1. Fork或复制原始Skill
cp -r ~/.skills/mattpocock/typescript/type-narrowing \
./my-skills/custom-type-narrowing
// 2. 修改SKILL.md
# Custom Type Narrowing
## 功能描述
基于mattpocock的type-narrowing,增加了项目特定的类型守卫
## 自定义规则
- 所有API响应必须使用Result类型包装
- 用户信息必须包含完整的类型守卫
- ...
## 使用示例
```typescript
import { isApiResponse } from './type-guards';
if (isApiResponse(data)) {
// data已被收窄为ApiResponse类型
}
```
// 3. 在OpenClaw中使用定制版
// openclaw.yaml
skills:
- name: "custom-type-narrowing"
path: "./my-skills/custom-type-narrowing/SKILL.md"
// 好的Skill示例 my-skill/ ├── SKILL.md # 清晰的文档 ├── CHANGELOG.md # 版本历史 ├── examples/ # 使用示例 │ ├── basic.md │ └── advanced.md ├── tests/ # 测试覆盖 │ ├── unit.test.js │ └── integration.test.js └── package.json # 版本和依赖
# 1. 创建仓库 gh repo create my-awesome-skill --public # 2. 推送代码 git init git add . git commit -m "feat: initial release" git remote add origin https://github.com/yourname/my-awesome-skill.git git push -u origin main # 3. 添加标签 git tag -a v1.0.0 -m "First release" git push origin v1.0.0
# 1. 注册ClawHub账号 clawhub auth login # 2. 发布Skill clawhub publish ./my-skill \ --name "my-awesome-skill" \ --description "一个很棒的Skill" \ --tags "typescript,utility" # 3. 查看发布状态 clawhub status my-awesome-skill
| 工具 | 功能 | 链接 |
|---|---|---|
| ClawHub | Skills市场 | clawhub.com |
| openclaw-skill-quality-analyzer | Skills质量评分 | GitHub: miaoquai |
| ClawShield | Skills安全扫描 | ClawHub插件 |
| skill-security-scan | 安全审计 | OpenClaw官方 |
| nicepkg boss-skill | 维权工具 | GitHub: nicepkg |
Claude Skills生态正在经历"npm时刻"——当开发者社区开始大规模共享和复用Skills时,整个AI编程的生产力都会指数级提升。mattpocock/skills的84,461星标不是终点,而是一个起点。通过学习和参与这个生态,你可以:
世界上有一种成长叫"站在巨人的肩膀上",Claude Skills生态就是那个肩膀。
最后更新:2026-05-16 | 妙趣AI - AI工具导航与教程平台