firecrawl-sdk-patterns
Skill by jeremylongshore
Builds a typed, testable Firecrawl v2 adapter for Node or Python projects. It keeps the Firecrawl SDK behind an application-owned interface with explicit options, errors, and pagination.
Install firecrawl-sdk-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/firecrawl-sdk-patterns ~/.claude/skills/firecrawl-sdk-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/firecrawl-sdk-patterns ~/.gemini/antigravity-cli/skills/firecrawl-sdk-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install firecrawl-sdk-patterns in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant in wrapping the Firecrawl v2 SDK in a narrow, application-owned adapter. It asks the assistant to inspect the runtime, the official package and resolved version, and the operations the code needs. It then defines application request and result types, builds one client per process boundary, and injects it into services and tests.
The adapter maps provider responses and errors into a discriminated result model. It keeps API failures, origin errors, validation rejections, partial results, and cancellation distinct. Retry, policy, redaction, metrics, and version reporting are centralized. The skill is for developers who need reusable Firecrawl client code with synthetic contract tests and a pinned dependency.
Written from the project's SKILL.md and checked against it.
What it can do
- Runtime inspectionChecks the runtime, official package, resolved version, compiler settings, and existing HTTP layer before coding.
- Typed request and result modelsDefines application types that contain only approved fields, limits, provenance, and pagination metadata.
- Injected clientConstructs one Firecrawl client per process boundary from validated configuration and injects it into services and tests.
- Discriminated error mappingMaps provider documents and errors into result states that keep failures, partial results, and cancellation distinct.
- Centralized retry and redactionPlaces bounded retry, policy hooks, redaction, metrics, and version reporting in one location.
- Contract tests and pinningAdds synthetic contract tests, pins the dependency through the lockfile, and documents the upgrade and rollback process.
What you need
- Firecrawl API key for authenticated Cloud operations, injected from an approved secret manager
- Node.js or Python runtime
- Access to the target repository
- Firecrawl SDK packages (named client for Node, firecrawl-py for Python)
Try asking
- Wrap Firecrawl in a typed client for this Node repository
- Create a typed Firecrawl adapter in Python with synthetic tests
- Add a Firecrawl service with injected client and error mapping
Good to know
- Adding or upgrading the SDK, exposing new operations, or changing retry policy requires approval
- Does not call Firecrawl, rotate keys, or deploy merely because the skill was invoked
- Keyless access is only suitable where current Firecrawl documentation allows it
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/firecrawl-sdk-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGlobGrepWriteEdit
-
SKILL.md4 KB -
references/official-docs.md2 KB
Alternatives to firecrawl-sdk-patterns
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
firecrawl-sdk-patterns: common questions
Does this skill make live Firecrawl requests?
No. The skill says not to call Firecrawl, scrape a target, or deploy merely because it was invoked. Writes are limited to approved implementation or documentation changes.
Which SDK methods does it cover?
The source lists current top-level v2 methods including scrape, crawl, map, batchScrape, search, parse, and agent surfaces. Feature-frozen v1 is kept behind a separate compatibility boundary.
Can I return the SDK object directly from my code?
The skill rejects this approach. It says returning the SDK object everywhere couples domain code to provider drift.
How do I install firecrawl-sdk-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is firecrawl-sdk-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is firecrawl-sdk-patterns safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to firecrawl-sdk-patterns?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
