workers-best-practices
Review Cloudflare Workers with proven practices
Cloudflare Workers projects can fail through outdated APIs, incorrect bindings, and unsafe runtime patterns. This skill guides code reviews and implementation using current documentation and focused production checks.
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "workers-best-practices" from https://skillstore.io/skills/cloudflare-workers-best-practices.md and its manifest at https://skillstore.io/api/skills/cloudflare-workers-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「workers-best-practices」を使用しています。 Review a handler that stores the current user in a module variable.
期待される結果:
- High: request-scoped data is stored in module state and can leak between reused isolates.
- Use function parameters or local variables for request-specific values.
「workers-best-practices」を使用しています。 Review a configuration that stores an API key in vars.
期待される結果:
- High: the configuration contains a secret that can enter version control.
- Store the value with Wrangler secrets and keep only non-secret settings in vars.
「workers-best-practices」を使用しています。 Review a large upstream response that uses response.text().
期待される結果:
- Medium: buffering an unbounded response can exceed the Workers memory limit.
- Return the response body as a stream or process it incrementally.
セキュリティ監査
中リスクThe 92 static findings are false positives caused by Markdown code spans, illustrative Worker code, safe secret-handling guidance, and public documentation URLs. No prompt injection, credential exfiltration, or hidden execution behavior was found. The skill does instruct users to retrieve and extract an unpinned package, which warrants controlled execution.
確認済みのセキュリティ上の懸念 (1)
リスク要因
⚙️ 外部コマンド (36)
📁 ファイルシステムへのアクセス (9)
🌐 ネットワークアクセス (29)
🔑 環境変数 (2)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/cloudflare-workers-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/cloudflare-workers-best-practices?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/cloudflare-workers-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cloudflare-workers-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/cloudflare-workers-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
cloudflare. (2026). workers-best-practices security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cloudflare-workers-best-practices/audits/1BibTeX形式の引用
@techreport{cloudflare-cloudflare-workers-best-practices-2026,
author = {cloudflare},
title = {workers-best-practices security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/cloudflare-workers-best-practices/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "workers-best-practices security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "cloudflare"
date-released: "2026-07-20"
url: "https://skillstore.io/skills/cloudflare-workers-best-practices/audits/1"
identifiers:
- type: other
value: "skillstore:cloudflare-workers-best-practices:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 中作成できるもの
Review a Worker before release
Identify configuration, type, security, and runtime issues before a production deployment.
Set up a new Worker project
Create a configuration and handler structure that follows current Workers patterns.
Standardize team reviews
Apply a repeatable checklist for bindings, streaming, observability, and error handling.
これらのプロンプトを試す
Review this Cloudflare Worker handler for the most important production issues. Explain each issue and show the corrected approach.
Review this wrangler.jsonc and Worker code together. Check binding names, secrets, compatibility settings, and observability.
Analyze this Worker for buffering, floating promises, global request state, and unnecessary network calls. Prioritize fixes by production impact.
Perform a release review of these Worker files. Retrieve current Workers guidance first, then report verified findings with severity, evidence, and remediation.
ベストプラクティス
- Retrieve current Workers documentation and type definitions before making API-specific recommendations.
- Provide file and line evidence for each finding and distinguish verified issues from suggestions.
- Review configuration and source code together so binding names and secret handling stay consistent.
回避
- Do not treat bundled examples as a substitute for the project's current Workers types and configuration.
- Do not hardcode secrets or recommend storing credentials in Wrangler vars.
- Do not buffer unbounded request or response bodies when streaming is appropriate.
よくある質問
What does this skill review?
Does it use current Cloudflare guidance?
Can it deploy my Worker?
Can it find secrets?
Does it support Durable Objects and Workflows?
Should I run its package retrieval commands automatically?
開発者情報
作成者
cloudflareライセンス
MIT
Skillstore リビジョン
r1
バージョンに関する注意
作者はバージョンを宣言していません。
参照
c51565f83183133fcf8a8a7274ad0df2423655c8
メンテナンスの新しさ
2026/7/20
利用状況
0 ダウンロード · 0 閲覧
ファイル構成