← Context.devCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Context.dev
Snapshot Sep 30, 2026 · 22:49 UTC · version 2.0.0
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"name": "context-build",
"description": "Integrate Context.dev into application, agent, backend, or workflow code that needs live web search, company news, page scraping, crawling, structured extraction, document parsing, brand intelligence, screenshots, monitoring, or large batch jobs. Use when the user is building a product feature that needs web or file data, even if they describe the desired feature without naming Context.dev. Do not use for a one-off lookup or scrape performed only for the current conversation.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 233
},
{
"relative_path": "references/api-routing.md",
"size_in_bytes": 4114
}
],
"skill_md_contents": "---\nname: context-build\ndescription: Integrate Context.dev into application, agent, backend, or workflow code that needs live web search, company news, page scraping, crawling, structured extraction, document parsing, brand intelligence, screenshots, monitoring, or large batch jobs. Use when the user is building a product feature that needs web or file data, even if they describe the desired feature without naming Context.dev. Do not use for a one-off lookup or scrape performed only for the current conversation.\n---\n\n# Context Build\n\nAdd the smallest correct Context.dev integration to the user's existing application and verify it in the project's own stack.\n\n## Workflow\n\n1. Inspect the repository before choosing an implementation.\n - Identify the runtime, framework, package manager, server boundary, test runner, and existing API-client conventions.\n - Reuse the project's configuration, validation, logging, and error-handling patterns.\n - Keep Context calls on the server. Never expose the API key in browser or mobile client code.\n\n2. Read [API routing](references/api-routing.md) and choose the narrowest capability that matches the feature.\n - Prefer search when the source URL is unknown.\n - Prefer a single-page scrape when the URL is known.\n - Prefer crawl for a focused set of linked pages and sitemap for URL discovery only.\n - Prefer extract when the output must follow a JSON schema.\n - Prefer News for company-specific stories and Web Search for broader topics.\n - Use batches only for genuinely large asynchronous work and monitors only for recurring change detection.\n\n3. Use the official Context SDK when it supports the project language and capability. Use the REST API only when the SDK is unavailable or the repository already standardizes on raw HTTP.\n - Use `CONTEXT_DEV_API_KEY` as the environment variable.\n - Add the variable to an example environment file without a value when the repository uses one.\n - Never hardcode, print, commit, or return the secret.\n - Use `https://api.context.dev/v1` as the REST base URL.\n\n4. Implement the smallest complete integration.\n - Add a thin server-side client or service instead of scattering calls through UI code.\n - Validate user-controlled URLs, schemas, filters, limits, and file sizes before sending requests.\n - Preserve source URLs and relevant metadata in returned application data.\n - Add timeouts and actionable errors for authentication, insufficient credits, rate limits, upstream failures, and empty results.\n - Retry only safe transient failures. Use an idempotency key when retrying batch submission.\n - Keep response payloads bounded with explicit limits or pagination.\n\n5. Treat side effects and cost explicitly.\n - Confirm intent before creating or changing a recurring monitor, configuring a webhook, or submitting a large batch.\n - Do not start a large batch merely to demonstrate that the integration works.\n - Poll asynchronous work with a bounded interval and terminal timeout; do not busy-loop.\n\n6. Verify the actual feature path.\n - Run the repository's formatter, typecheck, and relevant tests.\n - If `CONTEXT_DEV_API_KEY` is available, run one small representative live request through the application's integration boundary.\n - If it is unavailable, add a mocked contract test and provide the exact command the user can run after setting it.\n - Check that no secret or sensitive response data appears in logs, generated files, or client bundles.\n\n## Completion\n\nReport:\n\n- the feature and Context capability added\n- the files changed\n- the required environment variable\n- the checks and live request that passed\n- any remaining setup the user must complete\n\nDo not claim live validation if only mocked tests ran.\n"
}SHA-256: 76a9b4a584c84b28e3f074c06831f9f6048ef74716be3d3dd2f734737dd7e600