Диагностика перед правкой кода
vibe-coding
observe-before-editing is a Claude Code skill that enforces checking actual system outputs before editing any code to fix a bug. The core idea is straightforward: outputs don't lie, code might. The skill defines a strict sequence — verify expected directories exist with `ls -la .claude/cache/`, check whether files were created, inspect logs via `tail .claude/cache/*.log`, run the failing command manually to surface the real error, and only then make edits. A specific pitfall it guards against is confusing the project-level `.claude/` path with the global `~/.claude/`, a mix-up that has historically caused false assumptions about hook failures. It's aimed at developers debugging hooks, caches, and automation pipelines in Claude Code who want to fix root causes rather than imagined ones.
- #debugging
- #claude-code
- #logs
- #verification
- #troubleshooting