Welcome to HowToShipIt — practical how-to guides for developers: code, AI tools, and servers, explained step by step.

Claude Code Hooks Explained: 7 Practical Examples You Can Copy (2026)

Claude Code hooks workflow illustration: gears, plug and circuit lines showing how PreToolUse, PostToolUse and Stop hooks automate coding sessions

Claude Code hooks are one of the most powerful features in the AI coding assistant — and one of the least used. A hook is a shell command (or an LLM prompt, a subagent, or an HTTP endpoint) that runs automatically at a specific point in Claude Code’s lifecycle: before a tool executes, after a … Read more

How to Write a CLAUDE.md File That Makes Claude Code 10x Better

How to write claude.md

Why a Good CLAUDE.md Changes Everything If you have ever retyped the same instructions into every Claude Code session — “this is a Laravel app, run php artisan test before committing, never touch deployed migrations” — you already understand the problem this file solves. Learning how to write claude.md properly is the highest-leverage thing you … Read more