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.
Instalar con mi Agente
Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.
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.Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.
Recursos legibles por agentes
Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.
Pruébalo
Usando "workers-best-practices". Review a handler that stores the current user in a module variable.
Resultado esperado:
- 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.
Usando "workers-best-practices". Review a configuration that stores an API key in vars.
Resultado esperado:
- 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.
Usando "workers-best-practices". Review a large upstream response that uses response.text().
Resultado esperado:
- Medium: buffering an unbounded response can exceed the Workers memory limit.
- Return the response body as a stream or process it incrementally.
Auditoría de seguridad
Riesgo medioThe 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.
Preocupaciones de seguridad confirmadas (1)
Factores de riesgo
⚙️ Comandos externos (36)
📁 Acceso al sistema de archivos (9)
🌐 Acceso a red (29)
🔑 Variables de entorno (2)
Compartir y citar este informe
Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.
Copiar enlace del informe
https://skillstore.io/skills/cloudflare-workers-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/cloudflare-workers-best-practices?utm_source=security_passport_badge)Insignia 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>Tarjeta para insertar
<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>Citas académicas (APA · BibTeX · CFF)
Cita 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/1Cita BibTeX
@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"
Puntuación de Skillstore
Por qué esta puntuación Confianza de la evidencia: MedioLo que puedes crear
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.
Prueba estos prompts
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.
Mejores prácticas
- 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.
Evitar
- 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.
Preguntas frecuentes
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?
Detalles del desarrollador
Autor
cloudflareLicencia
MIT
Revisión de Skillstore
r1
Aviso de versión
El autor no declaró una versión.
Ref.
c51565f83183133fcf8a8a7274ad0df2423655c8
Actualidad del mantenimiento
20/7/2026
Uso
0 descargas · 0 vistas
Estructura de archivos