Daniel Broadhurst
← All writing

Tutorial

29 Oct 2026 · 7 min read

Hand-Drawn, Scroll-Animated Diagrams for a Blog with Rough.js

Generate sketchy SVG diagrams with Rough.js at build time, inline them only where JavaScript runs, and let the ink draw itself in as the reader scrolls.

ArticlesTutorialDevEx

Ink sketch of a fountain pen resting on grid paper beside a half-drawn diagram of three boxes, with the final arrow still being drawn in pink ink

27 Oct 2026 · 8 min read

Retiring WordPress with a Cloudflare Worker: 301s and 410s

One Cloudflare Worker in front of a static site: 301s for old WordPress permalinks, 410 Gone for wp-admin and wp-json, and tests before DNS cutover.

ArticlesWebsiteTutorial

Ink sketch of an old garden gate boarded shut with a pink sign reading 410, while a hand-drawn signpost beside it points along a new path to a small house

20 Oct 2026 · 7 min read

Migrate WordPress to Astro with the REST API, Not XML Export

An 84-line Node.js script that moves WordPress posts into Astro content collections via the REST API, images downloaded and captions kept.

ArticlesNode.jsTutorial

Ink sketch of a removal van outside a house, a figure carrying boxes of pages and framed pictures down a path into a tidy new building, one caption label on a frame picked out in pink

15 Jan 2026 · 14 min read

From Chaos to Curtain Call: How I Engineered Consistent Delivery with AI Agents

How I used a team of specialised AI agents to automate repetitive code review checks and cut my review time by 60%, so I only review what needs a human.

TutorialAI Engineering

Ink sketch of a small theatre stage with the curtains drawn back and seven doodled robots taking a bow in a neat line

20 Dec 2025 · 6 min read

How to Write Robust Prompt Files for GitHub Copilot in VS Code

How to write reusable prompt files for GitHub Copilot in VS Code: where they live, the anatomy of a robust prompt, and examples for refactoring and tests.

AI EngineeringArticlesDevExTutorial

Ink sketch of a neat stack of recipe cards held with a bulldog clip, lying on a keyboard, one card pulled half out

9 Jun 2023 · 11 min read

EventBridge Event Store with DynamoDB and Lambda (Node.js 22)

Build an Amazon EventBridge event store with DynamoDB and a Node.js 22 Lambda using the AWS SDK v3, then deploy it with AWS SAM to trace every event.

ArticlesAWSLatest NewsServerlessTutorial

Ink sketch of a conveyor belt carrying small envelopes that drop one by one into a long neat card-index drawer where every envelope is kept in order

14 May 2022 · 8 min read

Add Lambda Notifications to an Existing S3 Bucket with SAM

How to add S3 event notifications for Lambda to an existing S3 bucket with AWS SAM and CloudFormation, using a custom resource to manage the configuration.

ArticlesAWSLatest NewsNode.jsTutorial

Ink sketch of a metal bucket with a bell tied to its handle; an object dropping into the bucket makes the bell ring and wakes a small Greek lambda symbol sitting beside it

27 Mar 2022 · 9 min read

AWS Lambda Monorepo with Node.js 22 and pnpm Workspaces

Build an AWS Lambda monorepo with Node.js 22 and pnpm workspaces: share code between functions, bundle with esbuild and deploy nested SAM stacks from CI.

ArticlesAWSLatest NewsNode.jsShowcaseTutorial

Ink sketch of a tidy wooden tool chest with several open drawers, each drawer holding one small Greek lambda symbol like a tool, and one shared drawer in the middle that all the others draw from

20 Oct 2021 · 4 min read

Building a Serverless App using CloudFormation, AWS Amplify and React

Build a serverless web app on AWS with React, Amplify and CloudFormation: Cognito auth, deployment to the cloud and running the app locally.

ArticlesAWSTutorial

Ink sketch of a blueprint unrolled on a drafting table, and a small house assembling itself out of the blueprint's lines

2 Oct 2021 · 6 min read

How to Host WordPress on AWS with CloudFormation

Deploy WordPress on AWS with a CloudFormation template: create the database password, launch the stack, install WordPress and clean up the resources.

ArticlesAWSTutorial

Ink sketch of a stack of building blocks forming a small house that sits on top of a cloud