Dev.to
7/9/2026

3 Claude Code habits that were quietly costing me (and the fixes I actually run)
Short summary
Author shares three costly Claude Code habits and working fixes: marking code 'done' without testing (solved by a Stop hook that blocks turns until verification passes), token waste from auto-loaded rules and unused MCP servers (move rarely-used rules on-demand), and lost decisions between sessions (use a greppable MEMORY.md index). Practical implementations provided with code examples. Free starter kit available.
- •Stop hooks prevent shipping untested code by blocking turns without verification
- •Reduce context bloat by moving rarely-used rules on-demand and disabling unused MCP servers
- •Use plain-file MEMORY.md index for cross-session knowledge instead of databases
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



