Skip to main content

2 posts tagged with "claude"

View All Tags

Claude Code Hooks: A Complete Guide to Automating Your AI Coding Workflow

· 10 min read
Scott Havird
Engineer at Georgia-Pacific · ex-WarnerMedia Innovation Lab (ContentAI) · decade shipping AI-powered platforms

Claude Code Hooks: A Complete Guide to Automating Your AI Coding Workflow

If you've been using Claude Code for more than a week, you've probably noticed a pattern: you keep telling it the same things. "Run prettier after editing." "Don't touch the .env file." "Run the tests before you stop." These aren't complex instructions — they're rules. And rules shouldn't depend on an LLM remembering to follow them.

That's exactly what Claude Code hooks solve. They're deterministic automation that runs at specific points in Claude Code's lifecycle, executed by the harness itself — not by Claude. If you configure a hook to format code after every edit, it will format code after every edit. No exceptions. No "I forgot."

TL;DR

Claude Code hooks turn shaky CLAUDE.md instructions into deterministic automation — the harness runs them, not the LLM. This guide covers the seven practical patterns I use in production: formatting, secret protection, notifications, quality gates, and more. Each with config and rationale.

Claude Code Template: Accelerating AI-Assisted Development

· 6 min read
Scott Havird
Engineer at Georgia-Pacific · ex-WarnerMedia Innovation Lab (ContentAI) · decade shipping AI-powered platforms

Claude Code Template: Accelerating AI-Assisted Development

The future of software development is here, and it's conversational. With AI coding assistants becoming increasingly sophisticated, the way we structure and approach development projects is evolving rapidly. Today, I'm excited to share the Claude Code Template – a comprehensive starter template designed to maximize productivity in AI-assisted development workflows.

TL;DR

Claude Code starter template: devcontainer, custom slash commands, hooks, CLAUDE.md patterns, and analytics wired in from the first commit. Designed to get a team productive with AI-assisted development on day one, not week four.