Stuart Duff // HappIness Engineer
WooCommerce, WordPress, and everything in between.
I work at Automattic and spend my days helping people get the most out of WooCommerce and WordPress and writing code. This is where I share what I learn — tutorials, tips, plugins, and the occasional rant about customer service.

Latest Articles
How to Reduce Token Usage in Claude Code and Codex
Claude Code and Codex CLI can get expensive fast, and the culprit is rarely the prompt you just typed. This post covers which tasks burn through tokens and the practical habits that bring costs down without slowing your workflow.
How I Use TDD With AI Coding Tools to Build WordPress and WooCommerce Plugins.
I have been using PHPUnit for WordPress plugin testing for years. What changed when I started using AI tools was the order. Here is the TDD workflow I now use with Claude Code and Cursor.
The Cost of Code Is Not Heading to Zero — It’s About to Get Expensive
AI companies and prominent voices are claiming the cost of software is heading to zero. I think that is misleading, and the financial data backs me up. Here is why AI development costs are more likely to increase than disappear.
Tech Stack
WordPress
WooCommerce
PHP
react
Docker
Node
CSS
Claude
GIT
Stay Updated
Subscribe to my RSS feed to get notified when I publish new technical articles, thoughts on software architecture, and development logs.