Toolverse
All skills

python-playground

by pydantic

Run and test Python code in a dedicated playground directory. Use when you need to execute Python scripts, test code snippets, investigate CPython behavior, or experiment with Python without affecting the main codebase.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
pydantic
Category
Testing
Views
9

About this skill

Run and test Python code in a dedicated playground directory. Use when you need to execute Python scripts, test code snippets, investigate CPython behavior, or experiment with Python without affecting the main codebase.

How to use

  1. Upewnij się, że katalog playground istnieje — Claude automatycznie utworzy go poleceniem mkdir -p playground, jeśli go jeszcze nie ma.

  2. Opisz Claude'owi, jaki kod Pythona chcesz przetestować. Claude użyje narzędzia Write, aby utworzyć plik w katalogu playground z rozpoznawalną nazwą, np. test_value_error.py lub test_custom_logic.py.

  3. Claude uruchomi skrypt poleceniem uv run playground/nazwa_pliku.py, aby wykonać kod i pokazać Ci wyniki. Jeśli chcesz testować zachowanie Monty zamiast CPythona, użyj cargo run -- playground/nazwa_pliku.py.

  4. Przeanalizuj wynik — Claude pokaże Ci output, błędy lub zachowanie kodu. Jeśli chcesz zmodyfikować test, poproś Claude'a o zmianę kodu w pliku playground.

  5. Powtarzaj kroki 2–4 dla kolejnych testów. Każdy test umieść w osobnym pliku z opisową nazwą, aby łatwo je rozróżniać.

  6. Pliki w katalogu playground pozostają na dysku — nie usuwaj ich ręcznie, chyba że chcesz je wyczyścić. Katalog jest ignorowany przez git, więc nie wpłyną na Twój projekt.

Related skills

vitest

by antfu

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

Testing
1236

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

nextjs-developer

by zenobi-us

Expert Next.js developer mastering Next.js 14+ with App Router and full-stack features. Specializes in server components, server actions, performance optimization, and production deployment with focus on building fast, SEO-friendly applications.

Testing
166226

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862