workers-development

द्वारा cloudflare

स्थानीय विकास के दौरान cf dev, wrangler dev या Cloudflare Vite plugin का उपयोग करके Cloudflare Workers चलाएँ, निरीक्षण करें और डीबग करें। Local Explorer से बाइंडिंग डेटा पढ़ें और सीड करें, तथा स्थानीय ट्रेस और लॉग क्वेरी करें। यह प्रोडक्शन डीबगिंग को Workers observability पर भी भेजता है। अनुरोधों को डीबग करने के लिए इसका उपयोग करें, चाहे प्रोजेक्ट Wrangler का उपयोग करता हो या नहीं।

npx skills add https://github.com/cloudflare/skills --skill workers-development

Workers development and debugging

Use the project's existing tooling, scripts, and configuration. Installed help, the Local Explorer API schema, and current docs describe the supported operations; read them rather than guessing endpoints or flags.

NeedTools and discovery
Run locallyUse the project's existing dev command: cf dev in a cf project, otherwise the Wrangler or Cloudflare Vite dev script. See local development.
Inspect or seed local binding dataLocal Explorer is a UI and API for local KV, R2, D1, SQLite-backed Durable Objects, and Workflows, and can trigger Cron handlers. Open /cdn-cgi/local/explorer on the dev server's origin.
Debug local requestsLocal Explorer captures traces and logs from every local invocation, including binding operations, without code changes. Check traces before adding logging.
Debug a deployed WorkerChoose logs, traces, or metrics with Workers observability, or the cloudflare skill's observability reference when installed. If the Cloudflare MCP server is connected (bundled with this plugin), use search to find the Workers Observability API operations, then execute to call them, scoped to the target account, Worker, and time window.

Use the Local Explorer API

When the dev server detects an AI agent, including under cf dev, it prints a hint with the API URL and relevant endpoints. Fetch the OpenAPI specification from /cdn-cgi/local/explorer/api on the dev server's origin, then extract only the operations the task needs. If no hint appears, request that URL directly. If the API or an operation is missing, compare the installed Wrangler or Vite plugin version against the requirements in the Local Explorer docs.

Bindings are simulated locally by default, but a binding set to remote: true reaches the real deployed resource while the Worker runs locally. Traces also capture those remote calls. Identify which bindings are remote before seeding or writing data.

Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md.

cloudflare की और Skills

add-autogate
cloudflare
वर्करड में नए ऑटोगेट को जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें एनम पंजीकरण, स्ट्रिंग मैपिंग, उपयोग पैटर्न और… शामिल है
add-autogate
cloudflare
workerd में नए autogate जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जोखिम भरे बदलावों के क्रमिक रोलआउट के लिए, जिसमें enum पंजीकरण, स्ट्रिंग मैपिंग, उपयोग पैटर्न, और…
add-compat-flag
cloudflare
वर्कर्ड में नया संगतता फ़्लैग जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें कैपएनपी स्कीमा, C++ उपयोग, परीक्षण और दस्तावेज़ीकरण आवश्यकताएँ शामिल हैं।
add-compat-flag
cloudflare
workerd में नया संगतता फ़्लैग जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका, जिसमें capnp स्कीमा, C++ उपयोग, परीक्षण और दस्तावेज़ीकरण आवश्यकताएँ शामिल हैं।
agents-sdk
cloudflare
Cloudflare Workers पर Agents SDK का उपयोग करके AI एजेंट बनाएं। स्टेटफुल एजेंट, टिकाऊ वर्कफ़्लो, रीयल-टाइम WebSocket ऐप्स, शेड्यूल किए गए कार्य बनाते समय लोड करें,…
architecture
cloudflare
कोडबेस में पहली बार नेविगेट करते समय, नया क्लाइंट मेथड जोड़ते समय, नया कंटेनर हैंडलर/सर्विस जोड़ते समय, या यह समझने के लिए उपयोग करें कि अनुरोध कैसे प्रवाहित होता है…
basin
cloudflare
Basin Pipelines, Basin Catalog और Basin SQL के साथ Cloudflare Basin एनालिटिक्स वर्कफ़्लो बनाएँ और उनकी समस्याएँ हल करें। R2 Iceberg टेबल में स्ट्रीमिंग डेटा भेजने, कैटलॉग प्रबंधित करने या उन टेबल पर क्वेरी चलाने के लिए इसका उपयोग करें; पूर्व Data Platform, Pipelines, R2 Data Catalog या R2 SQL नामों का उपयोग करके किए गए अनुरोधों के लिए भी इसका उपयोग करें।
data-analysisawsdatabase
bazel-test-hygiene
cloudflare
विकास के दौरान bazel परीक्षण चलाने के लिए अनिवार्य नियम। किसी भी bazel परीक्षण कमांड को चलाने से पहले इस कौशल को लोड करें, विशेष रूप से सुधारों या… को मान्य करते समय।