aiskillstore/marketplace / skills/92bilal26/code-validation-sandbox
code-validation-sandbox
FlaggedValidate code examples across the 4-Layer Teaching Method with intelligent strategy selection. Use when validating Python/Node/Rust code in book chapters. NOT for production deployment testing.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 11.5 KB |
| SKILL.md | skill md | 6.2 KB |
| metadata.yaml | config | 641 B |
| scripts/detect-context.shexecutable | script | 6.8 KB |
| scripts/setup-sandbox.shexecutable | script | 2.5 KB |
| scripts/validate-python.shexecutable | script | 6.5 KB |
| scripts/validate.shexecutable | script | 7.4 KB |
| scripts/verify.py | script | 1.5 KB |
| skill-report.json | config | 109.2 KB |
scripts/verify.py
View on GitHub#!/usr/bin/env python3
"""Verify code-validation-sandbox skill environment is ready."""
import subprocess
import sys
import shutil
def check_python():
"""Check Python 3.8+ is available."""
try:
result = subprocess.run(
["python3", "--version"],
capture_output=True,
text=True
)
if result.returncode == 0:
version = result.stdout.strip()
return True, version
return False, "python3 not found"
except FileNotFoundError:
return False, "python3 not installed"
def check_docker():
"""Check Docker is available for sandbox validation."""
if shutil.which("docker") is None:
return False, "docker not installed"
result = subprocess.run(
["docker", "info"],
capture_output=True,
text=True
)
if result.returncode != 0:
return False, "docker not running"
return True, "docker available"
def main():
errors = []
# Check Python
ok, msg = check_python()
if not ok:
errors.append(f"Python: {msg}")
# Check Docker (optional but recommended)
ok, msg = check_docker()
if not ok:
print(f"⚠ Docker: {msg} (optional for isolated validation)")
if errors:
print(f"✗ Validation failed: {'; '.join(errors)}")
print("Run: brew install python3 docker")
sys.exit(1)
print("✓ code-validation-sandbox ready")
sys.exit(0)
if __name__ == "__main__":
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |