Scan `TARGET_DIRECTORY` for logging violations, eliminate all console statements, and implement structured logging following the discipline protocol. Save enforcement report to `OUTPUT_DIRECTORY` with violations found and fixes applied.
Scan and enforce structured logging discipline by eliminating console statements and implementing Pino (JS/TS) or structlog (Python) with proper configuration.
/plugin marketplace add AojdevStudio/dev-utils-marketplace/plugin install code-quality-enforcement@dev-utils-marketplaceScan TARGET_DIRECTORY for logging violations, eliminate all console statements, and implement structured logging following the discipline protocol. Save enforcement report to OUTPUT_DIRECTORY with violations found and fixes applied.
TARGET_DIRECTORY: $1 LANGUAGE: $2 CHECK_ONLY: $3 OUTPUT_DIRECTORY: .claude/data/ PROTOCOL_FILE: ai-docs/logging-discipline.md
PROTOCOL_FILE to understand the complete logging discipline requirementsTARGET_DIRECTORY for console.*, print(), and other logging violationsLANGUAGE JavaScript/TypeScript: configure ESLint no-console rule and implement Pino loggerLANGUAGE Python: configure Ruff rules and implement structlogCHECK_ONLY is true, report violations without making changesPROTOCOL_FILE to understand logging discipline requirementsTARGET_DIRECTORY for console.log, console.error, print() violationsLANGUAGE from file extensions (.js, .ts, .py) if not specifiedCHECK_ONLY is false, configure appropriate linting rules for LANGUAGEOUTPUT_DIRECTORY/logging-discipline-report.mdLogging Discipline Enforced
File: OUTPUT_DIRECTORY/logging-discipline-report.md
Target: TARGET_DIRECTORY (LANGUAGE files)
Violations Fixed: