firecrawl-developer-index
Original:🇺🇸 English
Translated
Answer a developer question — code behaviour, a library or framework, an API contract, an error message, a known bug — from issues, merged pull requests, repository READMEs, and curated documentation sites with Firecrawl Developer. Always use this skill for any programming question whose answer belongs in a primary source rather than a general web page.
13installs
Sourcefirecrawl/skills
Added on
NPX Install
npx skill4agent add firecrawl/skills firecrawl-developer-indexTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Firecrawl Developer Index
Answer a developer question from the primary source: the issue where the bug was reported, the merged pull request that fixed it, the README or documentation page that states the contract. A blog post that describes a behaviour is a weaker answer than the passage that defines it, so reach for the index first and the open web second.
There is no fixed recipe. Read the question, decide what kind it is, and choose the approach below. A literal error string wants a different move than "how do I do X". Don't run machinery a question doesn't call for.
The tools, and what each is uniquely good at
-
HTTP:MCP:
GET|POST https://api.firecrawl.dev/v2/search/developerCLI:firecrawl_developer_search(query, k?, skills?)Ranked results over the whole index. Each carriesfirecrawl developer <query> [--limit <n>] [--skills-only](id),issue:owner/repo#123(type|doc|issue|pull_request),readme,url, and the matched passages in markdown, so tables and code blocks survive. The default first move for a developer question. It is the only surface that returns the passages, which is what lets you answer instead of pointing at a page.title/kis 1–100 and defaults to 10.--limit/skills="only"restricts the search to agent-skill files. Keyless; send--skills-onlyfor higher rate limits.Authorization: Bearer $FIRECRAWL_API_KEY -
MCP:CLI:
firecrawl_search(query, categories: ["developer"])Developer hits in afirecrawl search <query> --categories developergroup besidedeveloper, each withweb,url,title(the matched passage),description, andposition— web results carry nocategory: "developer", so that is the field to key on when merging. Use this when you are already running a web search and want developer sources weighed in the same call. It exposes none of the filters and no passage control.category -
MCP:/
firecrawl_scrape(url)CLI:firecrawl_search(query)/firecrawl scrape <url>General web fetch and search, for what no primary source states: a comparison between two libraries, an outage, a migration write-up, a project with no public repository or indexed docs. Also the follow-through when a hit is the right page but you need all of it —firecrawl search <query>the result'sscrape.url
Filters, and what each one costs you
Only the HTTP surface takes these. On , pass or repeat the parameter; on , pass arrays. All are optional.
GETtypes=issue,pull_requestPOST- — which of
types,doc,issue,pull_requestto search. Defaults to all four. Narrowing here is the cheapest way to sharpen a query.readme - (
repos) scopes the repository half, meaningowner/name,issue, andpull_request;readme(documentation source ids, at most 20) scopes the documentation half, meaningsources. Passing both unions the halves rather than intersecting them. Both echo back in the response withdoc— that is how you tell "not in the index" from "found nothing".indexed: true|false - A filter that cannot match any requested is a
type, not an empty list:400with no repository type inrepos, ortypeswithoutsources.doc - (1–5, default 1) is the maximum passages per result, not a guarantee. Raise it when one page is clearly the right page but the first passage is the wrong part of it.
passages - ,
language,topic,license,min_stars,max_stars,archiveddescribe a repository. Most documentation pages in the index have no repository behind them, so no repository fact can admit or exclude one. Send any of these without aforkscope and the response holds repository evidence only —sources,issue,pull_request— withreadmereportingcoverageasdoc. That is the design, not an index fault: do not retry it and do not report the index broken. To keep documentation, drop the repository filters, or scope the documentation half withunavailableand readsourcesto confirmcoverageanswered.doc
Match the approach to the question
- Literal error message or stack-trace string → search the string itself plus the library name, with . Whoever hit it filed it. If nothing matches, strip the volatile parts (paths, line numbers, ids, addresses) and retry — the invariant middle of the message is what is indexed.
types=["issue","pull_request"] - Conceptual "how do I do X" → the full question in natural language, all four types. The answer is usually a or a
doc; raisereadmebefore raisingpassages.k - Known bug → the issue reports it, the merged pull request fixes it, and the fix is what you want. Search , then re-query the issue's own terms scoped to its repo with
types=["issue","pull_request"]. A merged PR's passages tell you what changed and in which direction.types=["pull_request"] - API contract ("what does X return", "is Y required", "what is the default") → and
readmeare authoritative and a blog post is not. Usedoc. If the contract looks like it moved, follow up withtypes=["readme","doc"]for the change that moved it.pull_request - Version-specific behaviour → an issue's opening report describes the broken version; its resolution supersedes it. Raise to see further into the thread, and read the resolution and the linked pull request before answering. Never answer from an opening report alone.
passages - Scoped to one library → when you know the slug, plus
repos=["owner/name"]if you want its docs in the same call. If a scoped search comes back empty, read the echoedsourcesflag first:indexedmeans nothing from that repo or source can ever match and no rephrasing will help — drop the scope and search the whole index, or go to the web.false - Ecosystem-wide ("which libraries do X", "who else hit this") → no scope. Use /
language/topicto keep to maintained repositories, accepting that this gives up allmin_starsresults.doc - Agent skills and tooling conventions → /
skills="only".--skills-only - Comparison, opinion, news, or an unindexed project → the open web. , then
firecrawl_searchwhatever deserves a full read. Combining is often right: take the contract from the index and the trade-off from the web.firecrawl_scrape
Principles
- Read before concluding a source doesn't exist. Every response reports
coverage|ok|degraded|unavailableper type.skippedmeans your ownskippedvalue did not ask for that type.typesordegradedmeans the gap came from the index or from a filter you sent, not from your query — drop the filter or widen, rather than retrying the same call or reporting that nothing exists.unavailablewith no hits of that type is a genuine miss: rephrase.ok - Quote the passage, cite the . The passages are the evidence; hand them over rather than paraphrasing them into a claim the reader can't check.
urlis frequently absent ontitleresults — fall back todoc.url - A merge supersedes a report. When an issue and a pull request disagree, the merged pull request is the current behaviour. Say which one you read.
- Scope last, not first. Search the whole index, then narrow with ,
types, orreposonce you know what the hits look like. Scoping first hides the result that would have told you where to look.sources - Go to the web when the index has nothing to say. Trade-offs, ecosystem opinion, and anything about an unindexed project are web questions. Don't force them through the index, and don't dress a general web page up as a primary source.