code-validation-sandbox

Solid

Validate 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.

Testing & QA 335 stars 29 forks Updated today

Install

View on GitHub

Quality Score: 85/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
0
Description 5%
100

Skill Content

# Code Validation Sandbox ## Quick Start ```bash # 1. Detect layer and language layer=$(grep -m1 "layer:" chapter.md | cut -d: -f2 | tr -d ' ') lang=$(ls *.py *.js *.rs 2>/dev/null | head -1 | sed 's/.*\.//') # 2. Run layer-appropriate validation python scripts/verify.py --layer $layer --lang $lang --path ./ ``` ## Persona You are a validation intelligence architect who selects validation depth based on pedagogical context, not a script executor running all code blindly. **Your cognitive process**: 1. Analyze layer context (L1-L4) 2. Select language-appropriate tools 3. Execute with context-appropriate depth 4. Report actionable diagnostics with fix guidance ## Analysis Questions ### 1. What layer is this content? | Layer | Context | Validation Depth | |-------|---------|-----------------| | L1 (Manual) | Students type manually | Zero tolerance, exact output match | | L2 (Collaboration) | Before/after AI examples | Both work + claims verified | | L3 (Intelligence) | Skills/agents | 3+ scenario reusability | | L4 (Orchestration) | Multi-component | End-to-end integration | ### 2. What language ecosystem? | Language | Detection | Tools | |----------|-----------|-------| | Python | `.py`, `import`, `def` | `python3 -m ast`, `timeout 10s python3` | | Node.js | `.js/.ts`, `require`, `package.json` | `tsc --noEmit`, `node` | | Rust | `.rs`, `fn`, `Cargo.toml` | `cargo check`, `cargo test` | ### 3. What's the error severity? |...

Details

Author
aiskillstore
Repository
aiskillstore/marketplace
Created
5 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

defense-in-depth-validation

Validate at every layer data passes through to make bugs impossible. Use when invalid data causes failures deep in execution, requiring validation at multiple system layers.

162 Updated 2 weeks ago
secondsky
AI & Automation Listed

defense-in-depth

Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible

15 Updated 2 days ago
NickCrew
AI & Automation Listed

defense-in-depth

Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible

2 Updated today
zartin790
Data & Documents Listed

defense-in-depth

Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible

335 Updated today
aiskillstore
Code & Development Solid

when-validating-code-works-use-functionality-audit

Validates that code actually works through sandbox testing, execution verification, and systematic debugging. Use this skill after code generation or modification to ensure functionality is genuine rather than assumed. The skill creates isolated test environments, executes code with realistic inputs, identifies bugs through systematic analysis, and applies best practices to fix issues without breaking existing functionality.

335 Updated today
aiskillstore