Writing

Featured articles

Most read in the last 6 months

The Abilities API in WordPress 7.1: Lifecycle, Schemas, and Discovery

The Abilities API gives WordPress plugins a common language for describing and executing units of functionality. An ability has a stable name, human-readable metadata, input and output contracts, a permission check, and an execution callback. Other PHP code can discover it without knowing which plugin registered it, while REST, WP-CLI, JavaScript, MCP, and AI integrations… Continue reading →

Research: The Workspace Boundary for Agent Memory

A clear pattern is emerging in how major AI and workspace platforms handle long-term agent memory. The core idea is simple: store memory in the smallest durable workspace that users already recognize, such as a project, repository, document, workspace, namespace, or site. Then, rely on the platform’s existing permission system to decide who can access… Continue reading →

Memory in WordPress Core: Building on Guidelines

When I wrote about WordPress Core AI 7.1 planning a few weeks ago, I called Guidelines my top personal priority and mentioned memories and skills as future primitives this work would unlock. This post explains what I mean by memory in this context, why I think it belongs in core rather than in a plugin,… Continue reading →

WordPress Core AI — 7.1 Planning and Beyond

Building on the Abilities API and three read-only core abilities (core/get-site-info, core/get-user-info, core/get-environment-info) shipped in 6.9, WordPress 7.0 brings the server-side WP AI Client. Together these form the baseline: a way to declare what WordPress can do, and a way to connect to providers that reason about it. This post outlines what I’d like to… Continue reading →

Research: Architecting Tools for AI Agents at Scale

Loading all available tools into an LLM’s context simultaneously is one of the most consequential architectural mistakes teams make when building AI integrations. The solution isn’t bigger context windows, and it’s progressive tool exposure: dynamically presenting only the tools relevant to each interaction. This post surveys the major patterns for doing so, drawn from production servers,… Continue reading →

WC EU 2022 Speakers - Design & Gutenberg group

Building with WordPress Blocks

I’m so excited to speak about Leveling Up Block Building Skills at WordCamp EU in Porto, Portugal. My talk is scheduled for Friday, June 3rd, 16:00 (Porto time). I’ll present a wide range of ways to enrich the block editing experience with custom blocks. From no-code solutions practical for everyone to advanced development techniques that… Continue reading →

Growing JavaScript Skills with WordPress

Growing JavaScript Skills with WordPress

This is a written version of the talk I gave at the JavaScript for WordPress conference on July 12th. WordPress has always been recognized as a very welcoming platform for developers at any level of expertise. The block editor introduced in WordPress 5.0 release is not only an entirely new editing experience for users, but it… Continue reading →

Picking Jest over Mocha – testing tools comparison

Picking Jest over Mocha – testing tools comparison

At Automattic we use Mocha to run all tests written for Calypso project which powers WordPress.com. It also includes end-to-end tests, which live in their own repository. We have been using this setup for over 3 years now. I think it is a good moment to revisit this choice. I found this unit testing tools comparison very… Continue reading →

A journey to functional JavaScript: Part 1 – fundamentals

A journey to functional JavaScript: Part 1 – fundamentals

JavaScript has a quite fascinating history. Brendan Eich created on his own the first language prototype in just ten days. Its implementation was highly influenced by the concepts of first-class functions from Scheme and prototypes from Self. Initially, it was developed under the name Mocha, but released as LiveScript. The latter name didn’t last long either. Java was so hot back in 1995, that Netscape decided to… Continue reading →