Phase 4: Type System Completion (P2) - Add comprehensive Workflow type definitions: - WorkflowStepType: hand, skill, agent, condition, parallel, delay - WorkflowStep: individual step configuration - Workflow: complete workflow definition - WorkflowRunStatus: pending, running, completed, failed, cancelled, paused - WorkflowRun: execution instance tracking - Request/Response types for API operations - Control types for pause/resume/cancel - Update types/index.ts with workflow exports Phase 5: Skills Ecosystem Expansion (P2) - Add 5 new Skills with SKILL.md definitions: - git: Git version control operations - file-operations: File system operations - web-search: Web search capabilities - data-analysis: Data analysis and visualization - shell-command: Shell command execution - Skills coverage now at 9/60+ (15%) Documentation: - Update SYSTEM_ANALYSIS.md Phase 4 & 5 status - Mark Phase 4 as completed - Update Phase 5 progress tracking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
119 lines
2.1 KiB
Markdown
119 lines
2.1 KiB
Markdown
---
|
|
name: web-search
|
|
description: 网络搜索 - 执行网络搜索、获取网页内容、研究问题
|
|
triggers:
|
|
- "搜索"
|
|
- "查找"
|
|
- "搜索一下"
|
|
- "web search"
|
|
- "搜索网络"
|
|
- "查一下"
|
|
- "了解一下"
|
|
tools:
|
|
- web_search
|
|
- web_fetch
|
|
- bash
|
|
---
|
|
|
|
# 网络搜索
|
|
|
|
执行网络搜索,获取网页内容,帮助用户研究和了解信息。
|
|
|
|
## 能力
|
|
|
|
- 网络搜索:使用搜索引擎搜索信息
|
|
- 网页抓取:获取网页内容
|
|
- 信息提取:从网页中提取关键信息
|
|
- 多源对比:对比多个来源的信息
|
|
- 实时信息:获取最新的网络信息
|
|
|
|
## 工具依赖
|
|
|
|
- web_search: 执行网络搜索
|
|
- web_fetch: 获取网页内容
|
|
- bash: 使用 curl 等工具获取资源
|
|
|
|
## 搜索策略
|
|
|
|
1. **关键词优化**: 使用精确的搜索关键词
|
|
2. **多语言搜索**: 支持中英文搜索
|
|
3. **时效性过滤**: 可按时间范围过滤结果
|
|
4. **来源评估**: 评估信息来源的可靠性
|
|
5. **交叉验证**: 多来源验证关键信息
|
|
|
|
## 搜索流程
|
|
|
|
```
|
|
1. 理解搜索意图
|
|
↓
|
|
2. 构建搜索关键词
|
|
↓
|
|
3. 执行搜索
|
|
↓
|
|
4. 分析搜索结果
|
|
↓
|
|
5. 如需深入,获取网页内容
|
|
↓
|
|
6. 整理并呈现结果
|
|
```
|
|
|
|
## 常用场景
|
|
|
|
### 技术问题搜索
|
|
|
|
```
|
|
搜索关键词:
|
|
- "[技术] + 错误信息"
|
|
- "[框架名] + 版本 + 问题"
|
|
- "site:stackoverflow.com + 问题"
|
|
```
|
|
|
|
### 文档查找
|
|
|
|
```
|
|
搜索关键词:
|
|
- "[库名] + documentation"
|
|
- "[框架] + 官方文档"
|
|
- "site:github.com + 项目名"
|
|
```
|
|
|
|
### 新闻资讯
|
|
|
|
```
|
|
搜索关键词:
|
|
- "[主题] + 最新"
|
|
- "[事件] + 新闻"
|
|
- 按时间过滤最近结果
|
|
```
|
|
|
|
## 示例用法
|
|
|
|
```
|
|
用户: 搜索一下 React 19 的新特性
|
|
助手: 执行搜索...
|
|
|
|
[使用 web_search 工具]
|
|
|
|
搜索结果:
|
|
|
|
1. React 19 新特性概览 - React 官方博客
|
|
- 新的 use() Hook
|
|
- 服务端组件改进
|
|
- 自动记忆化
|
|
|
|
2. React 19 升级指南
|
|
- 破坏性变更列表
|
|
- 迁移步骤
|
|
|
|
需要我获取某篇文章的详细内容吗?
|
|
```
|
|
|
|
## 输出规范
|
|
|
|
- 列出搜索结果来源
|
|
- 提供结果摘要
|
|
- 标注信息来源链接
|
|
- 中文呈现结果
|
|
- 区分事实和观点
|
|
- 标注信息的时效性
|