---
name: stackblitz-webhooks-events
description: |
  WebContainer lifecycle events: server-ready, port changes, error handling.
  Use when working with WebContainers or StackBlitz SDK.
  Trigger: "webcontainer events".
allowed-tools: Read, Write, Edit
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags: [saas, ide, webcontainers, stackblitz]
compatible-with: claude-code
---

# StackBlitz Webhooks Events

## Overview

WebContainer lifecycle events: server-ready, port changes, error handling.

## Instructions

### Refer to the WebContainer API documentation for detailed guidance.

See the core workflow skills for implementation patterns.

## Error Handling

| Issue | Cause | Solution |
|-------|-------|----------|
| Configuration error | Wrong setup | Check WebContainer docs |
| Build failure | Missing deps | Run npm install |

## Resources

- [WebContainer API Docs](https://webcontainers.io/)
- [StackBlitz SDK](https://developer.stackblitz.com/)

## Next Steps

See related skills for more patterns.
