Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

533 B
Raw Blame
{
  "version": "1.0.0",
  "enabled": true,
  "name": "console-log-check",
  "description": "Check for console.log statements in JavaScript and TypeScript files to prevent debug code from being committed.",
  "when": {
    "type": "fileEdited",
    "patterns": ["*.js", "*.ts", "*.tsx"]
  },
  "then": {
    "type": "askAgent",
    "prompt": "A JavaScript or TypeScript file was just saved. Check if it contains any console.log statements that should be removed before committing. If found, flag them and offer to remove them."
  }
}