code-verify-and-clean-skill
Installation
SKILL.md
Code Verification & Cleaning Skill
Transform chaotic development cycles into deterministic, highly stable software systems through rigorous automated checks, strict code sanitation, and live execution audits.
When to Use This Skill
- Pre-Merge Verification: Confirming changes actually compile and completely pass test suites before declaring a task finished.
- Code Cleaning & Sanitization: Eliminating dead code, unused imports, redundant parameters, and refactoring deep cognitive nesting.
- Runtime and UI Diagnostics: Leveraging DevTools/Browser environments to check for rendering fidelity, memory leaks, and broken network pipelines.
- Automated Ecosystem Linting: Running stack-specific formatters and compilers to guarantee static compliance.
Core Principles
1. The "Trust But Verify" Runtime Standard
An expert agent never assumes written code is functional code just because it looks flawless.
- Execute: Boot servers, compile modules, or run interpreters instantly.
- Observe: Open target layouts via the
Browsertool to dynamically catch visual or architectural breaks. - Isolate: Capture stack traces, errors, and system warnings directly from the environment.