What problem does it solve?
This Skill unit is designed to audit the robustness and input safety of Python code, identifying potential failure modes in NES projects due to bad input, missing tools, or mid-pipeline failures.
Core Features & Use Cases
- Error Handling Analysis: Identifies swallowed errors that should abort the pipeline, preventing silent failures in NES ROMs.
- Input Validation: Ensures malformed input does not lead to unhandled exceptions or corrupted outputs.
- Subprocess and CC65 Safety: Verifies secure subprocess execution and toolchain handling.
- Deserialization Safety: Ensures that data loading from sources like YAML or pickle does not introduce vulnerabilities.
- JSON-Intermediate Guards: Protects against JSON parsing errors and incomplete data.
- File/Resource Handling: Ensures files and resources are managed correctly and temp directories are cleaned up.
- Exception-Type Discipline: Ensures appropriate exception handling and clarity.
- Partial-Output-on-Failure: Ensures that partial outputs do not remain in case of failures, preserving data integrity.
Quick Start
Use the audit-safety skill to perform a robustness audit on your NES project directory.