Skip to content
<Notes of dev/>

Developer notes on AI, software and the tools we build with

Research, experiments and working patterns by Hieu (Chris) Pham.

Three panels of a tin robot: photographing a book beside a cart of prints, sketching the shopfront on a notepad, and collecting a wrapped parcel from the squirrel for a rabbit customer.

Should you block AI crawlers?

October 25, 2026•21 min read

Sort AI crawlers by job, write a robots.txt that matches, separate GEO evidence from hype, and keep your pages from steering AI agents.

An owl postman hands a red-sealed letter to a shocked squirrel outside the shop, whose window is covered in cherry and dice posters nobody in the shop put up.

Would you know if your website was hacked?

October 25, 2026•21 min read

How Google Search Console and Bing Webmaster Tools flag hacks and stray pages, where they stay silent, and what to check on a headless site.

The squirrel hands a string-tied bundle of prints across the counter, and a ferret in a red cap reaches for the brass key tucked under the string.

Is your API key in your JavaScript bundle?

October 25, 2026•20 min read

How API keys and CMS tokens reach your JavaScript bundle past green scanners, and how to check what your live site really serves.

A cartoon squirrel in a blue apron bolts the shop door and holds a clipboard of green ticks while a grinning ferret climbs down a rope from an open roof hatch.

Are you sure your website is safe?

October 25, 2026•18 min read

The four layers a headless CMS site has to check, why green scanners are not proof, and the DNS records that stop strangers emailing as you.

Top-down view of a design team arranging a user-goal card into dashboard, mobile, and itinerary interfaces

When the interface starts with intent

September 20, 2026•13 min read

How intent-driven UX, adaptive UI, and generative UI work together in real products without making layouts unpredictable or hard to control.

Three nested concentric frames — a single dot (context) inside a loop arrow (loop) inside a network of nodes (graph) — showing each layer wrapping the one before it.

Context, Loop, and Graph engineering

August 4, 2026•14 min read

They are nested layers, not rival techniques. What each one does, when it's enough, and when to reach for the next.

A marble observatory on a plateau at golden dawn with a giant sundial and armillary sphere.

The AI agent ROI playbook

July 28, 2026•28 min read

A self-test against your own past, a PM dashboard you refresh with one command, and the role-by-role setup that turns AI agent ROI from a feeling into a number.

A colossal marble balance scale in a bright valley: a pan heaped with gold floats weightless while one glowing stone tips the beam.

Measure AI agent ROI by outcomes

July 28, 2026•21 min read

What to count when judging an AI agent: outcomes over activity, early signs of decline, and why product and outsourcing teams count the gain differently.

A grand marble temple on solid bedrock in a sunlit valley, with small scattered ruins fading into morning haze.

The complete AI coding agent setup for Claude Code and Copilot

July 28, 2026•23 min read

The files, context, and workflow that turn an AI coding agent into consistent, reviewable output — set up once, for both Claude Code and Copilot.

Armored defenders on a city rampart fire energy rifles at incoming bug-droids and dripping virus creatures, while engineers in hardhats build a glowing futuristic city behind them.

Set up Dependabot, CodeQL, and the install delay

June 6, 2026•13 min read

Four free guardrails: Dependabot, CodeQL, a SECURITY.md file, and a package install delay, plus an auto-merge workflow for the boring updates.

Pop-art illustration of a man in glasses and a black roll-up-sleeve shirt sitting in his home workspace with one hand on his chin, gazing across the room at a framed painting of anthropomorphic dogs playing poker around a card table.

Where developers pivot in the AI era

May 29, 2026•8 min read

Only 2.5% of AI engineering roles target juniors. Here are the six roles worth pursuing, the ones to watch, the ones to skip, and the fundamentals to keep on the way.

Storyblok and Next.js logos suspended inside translucent glass capsules on a gradient background

Storyblok and Next.js: the complete setup in 2026

May 15, 2026•34 min read

What Storyblok actually is, the five primitives every Next.js integration runs on, and the full App Router setup — including the bits that bite once real editors start clicking around.

Abstract illustration with a large purple geometric shape and a winding path leading through orange arches, against a light background.

A daily loop for Obsidian vaults

May 5, 2026•13 min read

Capture cheaply, link liberally, crystallize by hand. Folder rules, naming, a daily routine, plugins and anti-patterns that keep an Obsidian vault useful after month one.

Isometric view of an Asian-inspired temple complex with red-roofed pavilions around a central pond, surrounded by pathways and trees.

A complete guide of using Claude Code + NotebookLM + Obsidian

May 1, 2026•40 min read

Step-by-step setup of a research workflow that combines Claude Code, NotebookLM, and Obsidian — with the four skill prompts you need to copy-paste.

Person with headphones coding in a neon-lit room, rainy city view, console, and cat. Cyber café sign and vibrant decor around.

ESLint Flat Config for Next.js 16: The Complete Setup Guide

April 15, 2026•6 min read

Upgraded to Next.js 16 and your linting just… stopped working? Yeah, same. Here's everything that broke for me and how I fixed it — so you don't have to waste a whole afternoon like I did.

A glass test chamber holding a code block and a document card, wired to gauges and a goal checklist, printing a verified report

Harness engineering proves your AI works

April 9, 2026•13 min read

An eval harness scores AI output on faithfulness and relevance, flags stale context in CI, and replaces the feeling that your workflow is faster with numbers.

A checked task list with a warning box stopped at a security gate before reaching a cloud server

AI-generated code ships hidden vulnerabilities

April 9, 2026•14 min read

An AI wrote 200 lines of auth code in 45 seconds, and the audit found a known CVE. Here is a six-phase workflow that catches it.

A four-stage chain of Plan, Govern, Execute and Connect, with a plan document dropping into the first stage

Pick the right AI workflow framework

April 8, 2026•15 min read

A practical comparison of OpenSpec, Spec-Kit, BMAD, Superpowers and AgentKit, plus the IDEs and MCP that connect them, and which one fits how your team works.

An open shared notebook at the center with two-way arrows to five roles: PM, Dev, QA, SA and Ops

Context Engineering Is a Team Sport

April 8, 2026•15 min read

A solo CLAUDE.md setup optimizes one node. See what developers, PMs, QA, architects and DevOps each contribute and consume, plus how to roll it out and measure it.

An AGENTS.md file inside a project folder branching into three sub-folders that each inherit the same structure

Give your AI a context file

April 8, 2026•13 min read

Set up a context file (CLAUDE.md, Cursor rules, Copilot instructions, AGENTS.md) so your AI stops guessing your stack, and keep it current.

One saved context notebook feeding the same three-icon context into two AI windows, with the left window fading as its session ends

Why your AI forgets your project

April 8, 2026•9 min read

AI assistants lose your stack and past decisions when a session ends. Context engineering fixes that, starting with a file you can create today.

A boy sits on a hill at sunset, reading a book and overlooking a futuristic city with tall skyscrapers and glowing lights.

AI is changing work and thinking

March 27, 2026•14 min read

AI is redesigning jobs, skills, and habits of mind. Here is what it means for work, kids, and memory, plus four ways to protect your own thinking.