firecrawl-developer-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefirecrawl developer search
Firecrawl 开发者搜索
Via the Firecrawl MCP (preferred)
通过 Firecrawl MCP(首选)
This plugin bundles the Firecrawl MCP server. When it's connected, prefer the native tool over the CLI — it needs no local install and authenticates through the plugin's one-time browser sign-in. The CLI commands below are the fallback for when the MCP isn't connected.
firecrawl_developer_searchfirecrawlSemantic search over indexed developer sources. Each result carries an , a , a title, and the matched passages in markdown, so tables and code blocks survive intact.
idurlThe prefix tells you what kind of source a hit is: , , , or .
iddoc:issue:pull_request:readme:此插件内置 Firecrawl MCP server。连接后,应优先使用原生的 工具,而不是 CLI——它无需本地安装,并通过插件的一次性浏览器登录完成身份验证。以下 CLI 命令用于 MCP 未连接时的回退方案。
firecrawl_developer_searchfirecrawl对已索引的开发者资料源进行语义搜索。每个结果都包含一个 、一个 、一个标题以及 Markdown 格式的匹配段落,因此表格和代码块能够完整保留。
idurliddoc:issue:pull_request:readme:When to use
何时使用
- The question is about code behaviour, a library or framework, an API contract, an error message, or a known bug
- You want the issue that reported it, the merged PR that fixed it, or the doc page that defines the contract — not a blog post describing it
- Before falling back to a general web search: reach for the index first, the open web second
Not for this skill: comparisons and opinions ("X vs Y"), news and outages, or a project with no public repo or indexed docs. Those are firecrawl-search plus firecrawl-scrape questions.
- 问题涉及代码行为、库或框架、API 约定、错误信息或已知 bug
- 你需要查找报告问题的 issue、修复问题的已合并 PR,或定义 API 约定的文档页面,而不是介绍该问题的博客文章
- 在回退到通用 Web 搜索之前,应先查询索引,再搜索开放 Web
此 skill 不适用于:比较和观点(“X 与 Y 对比”)、新闻和服务中断,或没有公开仓库及已索引文档的项目。此类问题应使用 firecrawl-search 和 firecrawl-scrape。
Quick start
快速开始
MCP (preferred):
text
firecrawl_developer_search(query: "tokio select cancellation safety", k: 10)
firecrawl_developer_search(query: "agent skill frontmatter conventions", skills: "only")CLI fallback:
bash
undefinedMCP(首选):
text
firecrawl_developer_search(query: "tokio select cancellation safety", k: 10)
firecrawl_developer_search(query: "agent skill frontmatter conventions", skills: "only")CLI 回退方案:
bash
undefinedAsk a developer question
提出一个开发者问题
firecrawl developer "axum middleware ordering" --limit 10 -o .firecrawl/dev-axum-middleware.json --json
firecrawl developer "axum middleware ordering" --limit 10 -o .firecrawl/dev-axum-middleware.json --json
Search a literal error string plus the library name
搜索错误字符串及对应的库名称
firecrawl developer "ERR_REQUIRE_ESM in vitest config" -o .firecrawl/dev-esm-error.json --json
Put all scoping intent in the query text — the repo slug, the library name, the version, the error string. Semantic retrieval handles the scoping; there are no repo or type flags on the MCP tool or the CLI.firecrawl developer "ERR_REQUIRE_ESM in vitest config" -o .firecrawl/dev-esm-error.json --json
将所有限定范围的信息放入查询文本中——例如仓库 slug、库名称、版本和错误字符串。语义检索会处理范围限定;MCP 工具和 CLI 均不提供仓库或类型筛选标志。Options
选项
| Option (MCP) | Option (CLI) | Description |
|---|---|---|
| | Natural-language question or search phrase (required) |
| | Number of ranked results, 1–100 (default 10) |
| — | Set to |
| — | | Output file path |
| — | | JSON output, compact or pretty |
| 选项(MCP) | 选项(CLI) | 说明 |
|---|---|---|
| | 自然语言问题或搜索短语(必填) |
| | 排序结果数量,1–100(默认 10) |
| — | 设为 |
| — | | 输出文件路径 |
| — | | JSON 输出,紧凑或格式化显示 |
Tips
提示
- Match the query to the question. A literal error message wants the error string plus the library name. A conceptual "how do I do X" wants the whole question in natural language.
- Volatile parts hurt a match. If an error string returns nothing, strip paths, line numbers, ids, and addresses and retry — the invariant middle of the message is what's indexed.
- A merge supersedes a report. When an issue and a pull request disagree, the merged PR is the current behaviour. Read the resolution before answering, never the opening report alone.
- Quote the passage, cite the . The passages are the evidence — hand them over rather than paraphrasing into a claim the user can't check.
urlis often absent ontitlehits; fall back todoc:.url - Raise before giving up, and scrape when a hit is the right page. If a result is clearly the right page but the passage is the wrong part of it, scrape its
kfor the whole thing.url - Already running a web search? folds developer hits into the same call as web results (they come back tagged
firecrawl_search(query, categories: ["developer"])). It exposes no passage control, so prefer the dedicated tool when the question is purely a code question.category: "developer" - With the CLI, write results to with
.firecrawl/to keep the context window clean. Naming convention:-o..firecrawl/dev-{topic}.json
- 让查询与问题相匹配。 搜索字面错误信息时,应同时提供错误字符串和库名称。搜索概念性的“如何完成 X”时,应使用完整的自然语言问题。
- 易变内容会降低匹配效果。 如果错误字符串没有返回结果,请移除路径、行号、id 和地址后重试——索引收录的是错误信息中保持不变的核心部分。
- 已合并的 PR 比问题报告更具权威性。 当 issue 与 pull request 的信息不一致时,以已合并的 PR 所体现的当前行为为准。回答前应阅读问题解决方案,不能只依据最初的报告。
- 引用段落,并标注 。 段落才是证据——应将其直接呈现给用户,而不是改写成用户无法核实的结论。
url命中结果通常没有doc:,此时可回退使用title。url - 不要过早放弃,应先提高 ;命中页面正确时再进行抓取。 如果某个结果明显对应正确页面,但匹配段落不是所需部分,请使用 scrape 抓取其
k以获取完整内容。url - 如果已经在执行 Web 搜索,会将开发者资料源的结果合并到同一次 Web 搜索调用中,并以
firecrawl_search(query, categories: ["developer"])标记。该方式无法控制返回的段落,因此对于纯代码问题,应优先使用专用工具。category: "developer" - 使用 CLI 时,可通过 将结果写入
-o,以保持上下文窗口整洁。命名约定为.firecrawl/。.firecrawl/dev-{topic}.json
See also
另请参阅
- firecrawl-search — general web search, and the blend
categories: ["developer"] - firecrawl-scrape — read a full page behind a promising hit
- firecrawl-agent — autonomous multi-source research when one search won't settle it
- firecrawl-search——通用 Web 搜索,以及 混合查询
categories: ["developer"] - firecrawl-scrape——读取 promising hit 背后的完整页面
- firecrawl-agent——当一次搜索无法确定答案时,执行自主的多资料源研究