<!-- SPDX-License-Identifier: MIT -->
<!-- SPDX-FileCopyrightText: 2025-2026 Marcus Quinn -->

# Common Patterns

Reference corpus for Cloudflare Sandbox examples. Content moved into chapter files to keep the entry point short while preserving every example.

## Chapters

- [01-ai-code-execution.md](./sandbox-patterns/01-ai-code-execution.md) - Execute AI-generated code in a secure sandbox.
- [02-interactive-dev-environment.md](./sandbox-patterns/02-interactive-dev-environment.md) - Spin up an interactive VS Code (code-server) instance.
- [03-ci-cd-pipeline.md](./sandbox-patterns/03-ci-cd-pipeline.md) - Run automated tests and builds in isolated environments.
- [04-multi-language-code-runner.md](./sandbox-patterns/04-multi-language-code-runner.md) - Support for Python, Node.js, TypeScript, and Bash.
- [05-multi-tenant.md](./sandbox-patterns/05-multi-tenant.md) - Isolate user sessions with dedicated working directories.
- [06-jupyter-integration.md](./sandbox-patterns/06-jupyter-integration.md) - Interactive notebooks and headless nbconvert execution.
- [07-git-operations.md](./sandbox-patterns/07-git-operations.md) - Clone, pull, and branch management within the sandbox.

## Related

- [sandbox.md](./sandbox.md) - API overview, quick start, and core capabilities.
- [sandbox-gotchas.md](./sandbox-gotchas.md) - Common pitfalls and performance considerations.

## Preservation Notes

- All original code blocks moved to the chapter files above.
- No examples were removed; this file is now the index for the same material.
