Description
Theprepare-environment prompt implements the recommended CHECK-PREPARE-EXECUTE workflow:
- CHECK - Search for existing prepared environments
- PREPARE - Import and configure if not found
- EXECUTE - Run the task with the prepared environment
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
task | string | Yes | - | Description of the task to perform |
base | string | No | python:3.11-slim | Base image to use |
project | string | No | None | Project name for scoping (uses common if not set) |
packages | string | No | None | Packages to install (space-separated) |
Generated Instructions
When invoked with:disposable=false:
Project-Specific Environment
myproject/pytest-env/python:3.11-slim
Custom Base Image
See Also
- install-packages - Simpler package installation
- build-project - Full build workflow
- Tagging Convention - Tag naming guide