A streamlined workspace for rapid prototyping and experimentation with Claude Code.
Just created this from the template? Run the setup script:
python3 setup.pyThen see TEMPLATE_USAGE.md for complete instructions.
New to this workspace? Check out GETTING_STARTED.md for setup instructions and Claude Code usage tips!
Portfolio Site: View experiments online at the GitHub Pages portfolio
This workspace is designed for quick iterations and testing ideas without the overhead of full project setup. Perfect for proof-of-concepts, algorithm testing, data exploration, and API experimentation.
.
├── experiments/ # Completed experiments with documentation
├── sandbox/ # Temporary testing area (git-ignored)
├── utils/ # Reusable utilities and helpers
├── templates/ # Quick-start templates
├── docs/ # GitHub Pages portfolio site
└── .github/ # Workspace configuration
experiments/: Store your successful experiments here with clear documentationsandbox/: Temporary workspace for quick tests (automatically git-ignored)utils/: Common utilities like timers, loggers, and test helperstemplates/: Pre-configured templates for common tasksdocs/: GitHub Pages portfolio website showcasing experiments
cd sandbox
python -c "print('Hello, Claude Code!')"cp templates/data_analysis.py experiments/2025-11-17_my_experiment.pyfrom utils.timer import timer, Timer
@timer
def my_function():
# your code here
passpython utils/quick_test.pyFor experiments, use descriptive filenames with dates:
YYYY-MM-DD_experiment_name.py- Example:
2025-11-17_api_performance_test.py
| Utility | Purpose | Usage |
|---|---|---|
quick_test.py |
Basic test template | python utils/quick_test.py |
timer.py |
Benchmark code performance | Import @timer decorator or Timer context manager |
logger.py |
Simple logging setup | Import setup_logger() function |
- Keep it lightweight - Install only what you need
- Document as you go - Add comments explaining your thought process
- Clean up regularly - Move successful experiments from sandbox to experiments/
- Use type hints - Better IDE support and code clarity
- Test ideas fast - Don't over-engineer, iterate quickly
- Create file in sandbox:
sandbox/test_algorithm.py - Import timer:
from utils.timer import timer - Test and iterate
- Move to experiments when complete
- Copy template:
cp templates/data_analysis.py sandbox/analyze.py - Add your data source
- Run analysis
- Document findings and move to experiments/
- Copy template:
cp templates/api_client.py sandbox/test_api.py - Configure endpoint
- Test requests
- Document results
Keep dependencies minimal. Document any required packages:
# Required: requests, pandas
# Install: pip install requests pandasThe sandbox/ directory is git-ignored. Clean it regularly:
rm -rf sandbox/*This workspace includes a dynamic GitHub Pages portfolio that automatically showcases your experiments!
- Run
python3 setup.pyto configure repository details - Enable GitHub Pages in repository Settings → Pages
- Deploy from
mainbranch and/docsfolder
See docs/DEPLOYMENT.md for detailed instructions.
The portfolio automatically:
- Discovers experiments from the
experiments/folder - Extracts descriptions from docstrings or comments
- Auto-generates tags based on content
- Displays templates and utilities from your repo
Just push code - the portfolio updates automatically!
- Use
sandbox/for messy exploration - Move polished code to
experiments/ - Add dates to experiment files
- Keep experiments self-contained
- Comment liberally - your future self will thank you
Happy experimenting! 🚀