使用 Skill Seekers MCP 工具生成 Claude AI 技能的完整工作流指南
/plugin marketplace add tianzecn/myclaudecode/plugin install tianzecn-skill-seekers-plugins-skill-seekers@tianzecn/myclaudecodeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
本技能提供使用 Skill Seekers MCP 工具创建 Claude AI 技能的最佳实践和工作流指南。
┌─────────────────────────────────────────────────────────────────┐
│ SKILL CREATION WORKFLOW │
├─────────────────────────────────────────────────────────────────┤
│ │
│ 1. 选择数据源 │
│ ├── 文档网站 → scrape_docs │
│ ├── GitHub 仓库 → scrape_github │
│ └── PDF 文件 → scrape_pdf │
│ │
│ 2. 配置 (可选) │
│ ├── 使用预设 → list_configs │
│ ├── 生成配置 → generate_config │
│ └── 验证配置 → validate_config │
│ │
│ 3. 爬取内容 │
│ └── estimate_pages → scrape_* → 本地技能文件 │
│ │
│ 4. 打包和安装 │
│ ├── package_skill → .zip 文件 │
│ ├── upload_skill → Claude 平台 │
│ └── install_skill → 一键完成 │
│ │
└─────────────────────────────────────────────────────────────────┘
使用 list_configs 工具列出所有可用的预设配置
如果目标框架有预设配置(如 React、Vue、Django),直接使用。
使用 estimate_pages 工具估计 https://react.dev/ 的页面数
这有助于了解爬取工作量和预计时间。
使用预设配置:
使用 scrape_docs 工具和 react 预设配置爬取 React 文档
使用自定义 URL:
使用 scrape_docs 工具爬取 https://docs.example.com/
使用 package_skill 工具将生成的技能打包为 zip 文件
使用 install_skill 工具安装打包的技能到 Claude
1. 使用 scrape_github 工具分析 owner/repo 仓库
2. 查看生成的 AST 分析结果
3. 使用 package_skill 打包
4. 使用 install_skill 安装
| 语言 | AST 解析 |
|---|---|
| TypeScript/JavaScript | ✅ |
| Python | ✅ |
| Go | ✅ |
| Rust | ✅ |
| Java | ✅ |
| C# | ✅ |
1. 使用 scrape_pdf 工具提取 path/to/document.pdf 的内容
2. 查看提取结果(文本、表格、图像描述)
3. 使用 package_skill 打包
4. 使用 install_skill 安装
1. 使用 scrape_docs 爬取官方文档
2. 使用 scrape_github 分析源码仓库
3. 系统会自动进行冲突检测
4. 统一打包为单一技能
使用 generate_config 工具为 https://docs.example.com/ 生成配置
{
"name": "example-skill",
"description": "技能描述",
"base_url": "https://docs.example.com/",
"start_urls": ["https://docs.example.com/getting-started"],
"selectors": {
"main_content": "article",
"title": "h1",
"code_blocks": "pre code"
},
"url_patterns": {
"include": ["/docs", "/api"],
"exclude": ["/blog", "/changelog"]
},
"rate_limit": 0.5,
"max_pages": 200
}
使用 validate_config 工具验证 my-config.json 的结构
使用 add_config_source 添加 GitHub 仓库作为配置源:
https://github.com/myorg/skill-configs
使用 fetch_config 从配置源获取 my-framework 配置
使用 submit_config 将本地配置提交到配置源
始终先使用 estimate_pages 了解工作量,避免爬取过多无关内容。
25 个预设配置经过优化,优先使用它们而非从头创建。
超过 500 页的文档应使用 split_config 分割,然后用 generate_router 创建路由技能。
框架和库会更新,定期重新爬取以保持技能的时效性。
提交或分享配置前,始终使用 validate_config 验证。
rate_limit 降低请求频率url_patterns 排除无关页面Create employment contracts, offer letters, and HR policy documents following legal best practices. Use when drafting employment agreements, creating HR policies, or standardizing employment documentation.
Implement GDPR-compliant data handling with consent management, data subject rights, and privacy by design. Use when building systems that process EU personal data, implementing privacy controls, or conducting GDPR compliance reviews.