python-playground
SKILL.md
Python Playground
Run Python code in an isolated playground directory for testing and experimentation.
Instructions
- First, ensure the playground directory exists. If the
playgrounddirectory doesn't already exist, runmkdir playground. - Use the Write tool to create the Python file at
playground/test.py - Run with:
uv run playground/test.pyto test cpython behavior orcargo run -- playground/test.pyto test monty behavior
IMPORTANT: Use separate tool calls for each step - do NOT chain commands with &&. This allows the pre-approved commands to work without prompting.
Example workflow
Step 1 - Create directory if it doesn't already exist (Bash, already allowed):
mkdir playground