console-cleanup
Installation
SKILL.md
Remove console statements in production
Console statements leak sensitive information, impact performance, and create unprofessional user experiences when visible in production.
Quick Reference
- Remove console.log, console.debug, console.table before production
- Use environment-aware logging utilities
- Configure build tools to strip console statements automatically
- Keep console.error for critical error tracking if needed
Check
Scan this JavaScript code for console.log, console.debug, console.warn, console.error, and other console statements that should be removed before production deployment.
Fix
Remove or conditionally disable console statements for production, or replace them with a proper logging service.