leek.io leek.io
contact
~/articles · 10 posts

Notes from the workbench.

Thinking out loud about PHP, AI tooling, ABA software, indie hacking, and whatever else I'm shipping this month.

Do Agent Rules Make Better Code? I Ran a Blind A/B Test
2026·11·15 · ~8 min

Do Agent Rules Make Better Code? I Ran a Blind A/B Test

Same PRD, same model, one run with my Laravel agent rules and one without. Both passed every hidden test. Two blind reviewers still picked the rules version's architecture, and it cost 2.7× as much to get there.

#ai #claude-code #data #methodology
Guardrail Hooks That Teach the Fix, Not Just Say No
2026·11·05 · ~7 min

Guardrail Hooks That Teach the Fix, Not Just Say No

My Claude Code bash hook has blocked one zsh mistake close to 500 times, even though the rule is in my CLAUDE.md. That isn't the hook failing. A block that names the fix costs one retry. A rule the agent forgets costs a broken run.

#ai #claude-code #tooling #tutorial
Your Agent's Memory Is Rotting — Audit It Like a Cache
2026·11·04 · ~7 min

Your Agent's Memory Is Rotting — Audit It Like a Cache

My agent told me, confidently, that an integration had been broken for weeks. It had been working the whole time. The source was its own memory folder. So I had it audit all 344 memory files. About 130 were wrong.

#ai #claude-code #tooling #methodology
A Floor, Not a Ceiling: Why My Agent Skills Use Everything Claude Code Offers
2026·10·06 · ~9 min

A Floor, Not a Ceiling: Why My Agent Skills Use Everything Claude Code Offers

Most of my agent skills started as Matt Pocock's. His are written to run the same in every harness. Mine still run anywhere, but where Claude Code has a better tool for the job, they use it. Here's what that changes when you're the one sitting at the keyboard.

#ai #claude-code #tooling #methodology
When 'Always' Means Always: The Implied Clause in Your Agent Rules
2026·08·14 · ~6 min

When 'Always' Means Always: The Implied Clause in Your Agent Rules

I told my agent to ALWAYS add --tia to Pest. It did — by running the whole suite after every single step. A human hears an implied 'when you run Pest.' The agent doesn't. Here's the lesson.

#ai #tooling #claude-code #methodology
Multiple Claude Code Accounts, One Shared Setup
2026·07·20 · ~6 min

Multiple Claude Code Accounts, One Shared Setup

Claude Code can isolate each account in its own config directory, but that usually leaves every profile with stale settings and missing skills. Symlinks give each account the same personal setup without sharing its identity.

#ai #claude-code #tooling #dotfiles
Turning a Creator's X Tips Into Agent Rules Claude Actually Reads
2026·07·01 · ~8 min

Turning a Creator's X Tips Into Agent Rules Claude Actually Reads

I follow Povilas Korop for Laravel tips, but they scroll by on X and vanish. So I scraped ~696 of them, OCR'd the code-in-image samples with Claude, and distilled the durable ones into versioned agent-rules repos my coding agents load automatically. Here's the whole pipeline.

#ai #tooling #claude-code #tutorial
My Global CLAUDE.md: The Rules I've Built Up Over Time
2026·06·17 · ~11 min

My Global CLAUDE.md: The Rules I've Built Up Over Time

Every time an AI agent burned me, I wrote a rule. Here's my entire ~/.claude/CLAUDE.md — the personal rules that travel with me across every project — and the scar behind each one.

#ai #claude-code #tooling
A Linear workspace per project in Claude Code (no more reconnecting)
2026·06·06 · ~8 min

A Linear workspace per project in Claude Code (no more reconnecting)

If you work across two projects with two different Linear workspaces, Claude Code's Linear MCP makes you disconnect and reconnect every time you switch. Here's how to bind each repo to its own Linear account so it just works.

#ai #claude-code #mcp #tooling
Getting More Out of Claude Code: Tips for New Users
2026·02·20 · ~3 min

Getting More Out of Claude Code: Tips for New Users

Treat Claude Code like a very fast junior developer who needs clear direction. A handful of habits — plan mode, scoped @ references, skills — make the difference between magic and mess.

#ai #claude-code