Code Guard

Post-write code safety check. Run AFTER writing or editing code files (.py, .js, .ts, etc.) and BEFORE telling the user the work is done or committing. Detects leaked secrets (API keys, passwords, tokens, .env hygiene), common bug patterns (bare except, mutable defaults, eval, SQL injection, XSS, empty catch, leftover debuggers), syntax errors, lint/type issues (ruff/mypy/eslint if installed), and lists tests impacted by the change via project-index. Do NOT use for non-code files or when no code was modified.

iskendernarynbaev-lab Updated

File contents

iskendernarynbaev-lab/claude-skill/tree/main/code-guard commit 07f0f495be

Frequently asked questions

npx skillmds@latest add iskendernarynbaev-lab/code-guard