---
name: vercel-deploy-preview
description: |
  Execute Vercel primary workflow: Deploy Preview.
  Use when Deploying a preview for a pull request,
  Testing changes before production, or Sharing preview URLs with stakeholders.
  Trigger with phrases like "vercel deploy preview",
  "create preview deployment with vercel".
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
---

# Vercel Deploy Preview

## Overview
Deploy preview environments for pull requests and branches.
This is the primary workflow for Vercel - instant previews for every commit.


## Prerequisites
- Completed `vercel-install-auth` setup
- Understanding of Vercel core concepts
- Valid API credentials configured

## Instructions

### Step 1: Initialize
```typescript
// Step 1 implementation
```

### Step 2: Execute
```typescript
// Step 2 implementation
```

### Step 3: Finalize
```typescript
// Step 3 implementation
```

## Output
- Completed Deploy Preview execution
- Expected results from Vercel API
- Success confirmation or error details

## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Error 1 | Cause | Solution |
| Error 2 | Cause | Solution |

## Examples

### Complete Workflow
```typescript
// Complete workflow example
```

### Common Variations
- Variation 1: Description
- Variation 2: Description

## Resources
- [Vercel Documentation](https://vercel.com/docs)
- [Vercel API Reference](https://vercel.com/docs/api)

## Next Steps
For secondary workflow, see `vercel-edge-functions`.