preview-deployments-skill

Create and manage Cloudflare Workers preview environments in GitHub pull requests.

15|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/zeke/preview-deployments-skill --skill preview-deployments-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preview-deployments-skill
Source: https://github.com/zeke/preview-deployments-skill/tree/main
Command: npx skills add https://github.com/zeke/preview-deployments-skill --skill preview-deployments-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of deploying preview instances of Cloudflare Workers for GitHub apps, allowing developers to easily showcase changes without impacting production environments.

Core Features & Use Cases

  • Preview Deployments: Adds per-PR preview deployments for Cloudflare Workers apps using GitHub Actions and the GitHub Deployments API.
  • GitHub Deployments Integration: Publishes preview status directly to GitHub Deployments UI, enhancing user experience and avoiding comment clutter.
  • Resource Strategies: Supports shared production resources, empty per-PR resources, or seeded per-PR resources to optimize performance and security.
  • Automated Cleanup: Deletes preview resources on PR close or merge to maintain a clean environment.

Quick Start

Install the preview-deployments skill with: npx skills add zeke/preview-deployments-skill

Frequently Asked Questions about preview-deployments-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Cloudflare Workers preview deployments on GitHub pull requests?

Cloudflare Workers preview deployments on GitHub pull requests are automated by integrating GitHub Actions with the GitHub Deployments API. This securely deploys per-PR instances and publishes preview statuses directly to the GitHub UI.

What are the benefits of using the GitHub Deployments API for preview environments?

Using the GitHub Deployments API for preview environments publishes deployment statuses directly to the GitHub UI. This enhances user experience by avoiding comment clutter and providing a clean, integrated view of preview workflows.

Do I need Wrangler to manage Cloudflare Workers preview environments?

Yes, Wrangler is required to manage Cloudflare Workers preview environments. The Skill relies on Wrangler for resource manipulation, allowing you to create, seed, and delete preview instances during pull request workflows.

Can I use shared production resources for per-PR preview deployments?

Yes, you can use shared production resources for per-PR preview deployments. The Skill supports multiple strategies including shared production resources, empty per-PR resources, or seeded per-PR resources to optimize performance and security.

How are Cloudflare Workers preview resources cleaned up after a pull request merges?

Cloudflare Workers preview resources are cleaned up through automated deletion when a pull request is closed or merged. This maintains a clean environment and prevents unused preview resources from accumulating.