Secure Testing Skill
This skill ensures that complex logic or potentially breaking changes are verified in a sandboxed environment first.
Instructions
- •Initialize Sandbox: When implementing a complex algorithm or testing a third-party library snippet, use
sandbox_initializeto create a clean environment. - •Run Isolated Code: Use
run_js_ephemeralfor quick logic checks orrun_jsfor persistent testing sessions within the sandbox. - •Verify Output: Before writing code to the main
/home/lex/lexmakesit/directory, ensure the logic works as expected in the sandbox. - •Clean Up: Always use
sandbox_stopwhen the testing session is complete to save system resources.
Tools to Use
- •
sandbox_initialize - •
sandbox_exec - •
run_js - •
run_js_ephemeral - •
sandbox_stop