Reference
Glossary
The words my articles use, in plain English: what each one means, and where it shows up in my work.
AI agents
- Agent harness
The code around a language model that turns it into an agent: the loop that calls the model, the tools it may use, its instructions, its memory, and the rules and checks on what it does. The same model in a different harness can give very different results.
In practice: Bishop is my harness: an orchestrator, a junior dev, a code reviewer, a senior dev, a document writer and a QA agent. I've tried it with frontier models and with open-weight models, and the structure is what holds it together either way.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me; One Expensive Night, and the Junior/Senior Split It Forced; Why My Orchestrator Isn't Allowed to Write Code
See also: Orchestrator agent, Bishop, Multi-agent system
- Agent memory
Whatever lets an agent carry knowledge past one session: notes and files it reads at the start, or a database it searches. Without it, every session starts from nothing.
In practice: At one point I had a hundred missions behind me, all in Markdown, and keeping track of them had become way too hard. So Bishop's memory moved into a small Go and SQLite service.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: How Claude remembers your project, Claude Code docs
See also: SQLite, Cairnbook, Context window
- Bishop
Donovan's agent harness: a small crew of AI agents with a chain of command, for Claude Code and OpenCode. The orchestrator decides and delegates and does not write code; a junior developer writes, a reviewer checks, and a senior developer comes in only by escalation. Both harness repos are public on GitHub.
In practice: I named it after the android in Aliens, the perfect movie. It went on GitHub because if somebody gets benefit out of it, then great, use it.
Read: Why My Orchestrator Isn't Allowed to Write Code; One Expensive Night, and the Junior/Senior Split It Forced; Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Agent harness, Orchestrator agent, Cairnbook
- Cairnbook
An operating record for coding agents: memory, decisions and handover that agents propose and the operator decides. It is being built to replace bishop-memory. Cairnbook is in development and not released.
In practice: bishop-memory ran on one machine, and the harness kept its hard rules in Markdown that only worked with Bishop. I wanted something that works with anyone using Claude Code, so I started again.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Project: Cairnbook overview
See also: Agent memory, Bishop, Claude Code plugin
- Claude Code
Anthropic's coding agent. It runs in the terminal (and in editors and a desktop app), reads your code, edits files and runs commands, and asks for permission as it goes.
In practice: Bishop runs in Claude Code and in OpenCode. Claude Code is excellent. Kirsch exists because I wanted to know, line by line, how a coding agent like it is put together.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; Why My Orchestrator Isn't Allowed to Write Code
See also: Claude Code skill, Claude Code hooks, OpenCode
- Claude Code hooks
Commands that Claude Code runs automatically at set points in a session, such as before or after a tool runs, or when a session starts or is compacted. Unlike an instruction in a prompt, a hook always runs.
In practice: In Cairnbook, which is still in development, the hooks are what let a task started before
/compactcarry on correctly after it.Docs: Hooks reference, Claude Code docs
See also: Claude Code, System prompt, Claude Code plugin
- Claude Code plugin
A package that bundles skills, slash commands, subagents, hooks and MCP servers so they install together in one step, usually from a plugin marketplace.
In practice: Cairnbook is still in development. Its plugin milestone is about turning several install steps for Claude Code into one install.
Docs: Plugins overview, Claude Code docs
See also: Claude Code skill, Claude Code hooks, Cairnbook
- Claude Code skill
A folder with a
SKILL.mdfile of instructions, and optionally scripts and reference files, that the agent loads when a task matches the skill's description. Skills package know-how so it is used the same way every time.In practice: After WordPress.org sent my plugins back, I rewrote the skill my agents use to review a plugin, so a comment that switches off a lint rule is now a finding, not a pass.
Read: How I Build WordPress Plugins With AI; How AI Changed the Way I Do WordPress Development
See also: Claude Code, Claude Code plugin, Lint-ignore comment (
phpcs:ignore)- Code review agent
An agent whose only job is to read code another agent (or a person) wrote and report problems before it is accepted. It works best as a separate agent with a fresh context, because the writer tends to approve its own work.
In practice: Every coding round in my harness gets a code review. A separate reviewer catches what the writer misses because it's a fresh context: it didn't write the code, so it reads the work the way a stranger would.
Read: One Expensive Night, and the Junior/Senior Split It Forced; Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Escalation (junior to senior), Orchestrator agent, Linting
- Context window
The amount of text, counted in tokens, that a model can take in at once: its instructions, the conversation, the files it has read and the results of its tools. As it fills, models tend to lose track of detail, and older material has to be dropped or summarised.
In practice: When I started, the bigger the prompts got and the more context I threw at it, the more it strayed. Small steps, each committed before the next, fixed most of that.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Token, Subagent, Agent memory
- Escalation (junior to senior)
Handing a task from an agent on a cheaper, faster model to one on a stronger, more expensive model, but only when a set rule says the first has failed, for example after two failed fix rounds. It keeps the expensive model as the exception, not the default.
In practice: Two failed fix rounds is the tripwire. If the reviewer finds the same critical problem a third time, the task goes up to the senior developer. The orchestrator can't call the senior directly, and it escalates about one to two tasks in twenty.
Read: One Expensive Night, and the Junior/Senior Split It Forced; Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Code review agent, Opus, Sonnet and Haiku, Token
- GitHub Copilot
GitHub's AI coding assistant. It began as autocomplete inside the editor and now also has a chat and an agent mode that can make changes across a project.
In practice: I started with GitHub Copilot in VS Code. I built my first Go app with it, keeping the structure in my head and letting it finish sections, write the code and do the testing.
See also: Claude Code, Vibe coding, Go (Golang)
- Human-in-the-loop approval
A design where an agent prepares a change or an action but a person has to approve it before it happens. It trades some speed for control.
In practice: Kirsch doesn't apply changes I haven't approved, and I can stop it at any step. For the work I do, cancellable beats autonomous every time.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; One Expensive Night, and the Junior/Senior Split It Forced
See also: Sandboxing an agent, Diff and patch, Cairnbook
- Kirsch
An open-source terminal coding agent in Go, MIT licence, that asks before it edits: patches only land when you approve them, the workspace is its boundary, tool output is treated as data, and sessions stay local with no telemetry. v0.1.5 is the current release, for macOS and Linux.
In practice: Kirsch came about after I tried Pi, a simpler coding agent. I wanted to learn how coding agents work at a base level, so I wrote the ADRs and milestones first.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
Project: Kirsch overview
See also: Bubble Tea, Human-in-the-loop approval, ADR (architecture decision record)
- MCP (Model Context Protocol)
An open standard, first published by Anthropic in 2024, that gives AI applications one common way to connect to tools and data sources. A tool written once as an MCP server can be used by any agent that speaks MCP.
In practice: bishop-memory got an MCP adapter so the agents could read and write memory as tools, the same way they use anything else.
Read: How AI Changed the Way I Do WordPress Development; Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: Model Context Protocol specification
See also: MCP server, Tool calling, Abilities API and the WordPress MCP Adapter
- MCP server
A small program that offers tools (and sometimes data) to AI agents over MCP. The agent sees a list of named tools with their inputs, and can call only those.
In practice: bishop-memory started with eight MCP tools and no raw SQL or file-writing tool among them. An agent can ask for what it needs, within a narrow surface.
Read: How AI Changed the Way I Do WordPress Development; Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
See also: MCP (Model Context Protocol), Tool calling, Agent memory
- Multi-agent system
Several AI agents, each with its own role and context, working on one job and passing work between them: for example one that plans, one that writes code and one that reviews it.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me; One Expensive Night, and the Junior/Senior Split It Forced; Coding Is Not the Same as Developing
See also: Agent harness, Orchestrator agent, Code review agent
- OpenCode
An open-source AI coding agent for the terminal, from opencode.ai, that works with many model providers. Its Go plan is a monthly subscription to open-weight models.
In practice: I use OpenCode with an OpenCode Go subscription. My harness runs in it as well as in Claude Code, and my agents use open-weight models through OpenCode Go.
Read: How I Build WordPress Plugins With AI; Kirsch: why a terminal-native agent, when Claude Code exists
Docs: Agents, OpenCode docs
See also: Claude Code, Open-weight model, Agent harness
- Orchestrator agent
The agent in a multi-agent setup that understands the whole task, breaks it into steps and hands each step to another agent. A good orchestrator plans and delegates; it does not do the work itself.
In practice: My orchestrator plans the work and hands it out. It isn't allowed to write code: I took away its access to the editing tools, so it can't edit files at all now.
Read: Why My Orchestrator Isn't Allowed to Write Code; Why I Assume AI Is Both Smarter and Dumber Than Me; Coding Is Not the Same as Developing
See also: Subagent, Agent harness, Escalation (junior to senior)
- Prompt injection
An attack where text the agent reads, such as a web page, a file or a tool's output, contains instructions that the model then follows as if they came from you. Agents that can act are most at risk.
In practice: Kirsch treats tool output as data, never as instructions. That's its defence against prompt injection.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: Sandboxing an agent, System prompt, Human-in-the-loop approval
- Sandboxing an agent
Limiting what an agent can reach, such as which folders, commands, network and secrets, so a mistake or an attack can only do limited harm. It can be done with a container, a virtual machine or limits built into the agent itself.
In practice: Kirsch works inside one Git repository and has no access to anything outside it, and
.envfiles and keys are blocked too. I wanted the boundary to be the architecture, not a setting.Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: Prompt injection, Human-in-the-loop approval, Docker
- Subagent
An agent started by another agent to do one part of a job in its own fresh context, then report back. In Claude Code, a subagent is a file with its own instructions, its own list of allowed tools and, if you want, its own model.
Read: Why My Orchestrator Isn't Allowed to Write Code
Docs: Create custom subagents, Claude Code docs
See also: Orchestrator agent, Context window, Claude Code
- System prompt
The standing instructions a model receives before the user's message: its role, its rules and how it should behave. A model usually follows them, but a rule written only in a prompt is not enforced; a missing tool or a hook is.
In practice: My orchestrator once edited a file itself on a small task. That's how I learned a rule written in a prompt isn't enough. The fix was taking its editing tools away.
Read: Why My Orchestrator Isn't Allowed to Write Code; Kirsch: why a terminal-native agent, when Claude Code exists
See also: Claude Code hooks, Orchestrator agent, Prompt injection
- Token
A small chunk of text, often part of a word, that a language model reads and writes. Models are priced and limited in tokens; in English, a token is roughly three-quarters of a word.
In practice: One night the reviewer and the junior argued about a for loop and a while loop, with no limit on code reviews, and I burned through every token I had on that one task.
Read: One Expensive Night, and the Junior/Senior Split It Forced
See also: Context window, Escalation (junior to senior), Opus, Sonnet and Haiku
- Tool calling
The way a model asks its harness to do something it can't do in text: read a file, run a command, search a database. The model names a tool and its inputs; the harness runs it and passes the result back.
In practice: At milestone 1 the only commands Kirsch could run were read-only
gitandrg. It could read the repo and change nothing. Writing came later, and only as patches you approve.Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: MCP server, Sandboxing an agent, Agent harness
- Vibe coding
Building software by prompting an AI and accepting what it produces without reading or fully understanding the code. Fine for throwaway experiments; risky for anything someone has to maintain or answer for.
In practice: For me, vibe coding meant getting close to right and then tweaking. A harness meant handing over the whole task: the code, the review and the documentation.
Read: Coding Is Not the Same as Developing; Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Agent harness, Spec-driven development, Code review agent
Models
- Embeddings
A list of numbers that stands for the meaning of a piece of text, so that texts with similar meanings end up close together. They power semantic search and RAG.
See also: RAG (retrieval-augmented generation), SQLite FTS5, Agent memory
- Frontier model
The most capable models available at a given time, from the large AI labs. They are usually reached through a paid API rather than run on your own machine.
In practice: I've tried my harness with frontier models and with open-weight models, and the structure is what holds it together either way.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Open-weight model, Opus, Sonnet and Haiku, Agent harness
- LM Studio
A desktop app for Mac, Windows and Linux that downloads open-weight models and runs them on your own machine, with a chat window and a local server that other tools can talk to.
See also: Local LLMs, Quantisation, Open-weight model
- Local LLMs
Running a language model on your own computer instead of through a provider's API. Your data stays on the machine and there's no bill per token, but you are limited by your memory and graphics hardware.
In practice: I haven't had great success with local models. I use them for basic research and because I enjoy playing with them, but they don't run my agents. To do it properly I'd need a better rig.
See also: LM Studio, Model parameters (what "9B" means), Home lab
- Model parameters (what "9B" means)
The learned numbers inside a model; "9B" means about 9 billion of them. More parameters usually means a more capable model that needs more memory to run.
In practice: On my Mac, a local model has to be about 9 billion parameters before it works properly with my harness.
See also: Local LLMs, Quantisation, Frontier model
- Open-weight model
A model whose trained weights are published for anyone to download and run. That is not the same as open source: the training data and code may stay private, and the licence may limit how you use it.
In practice: My agents use open-weight models through OpenCode Go, alongside frontier models from Claude.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me
See also: Frontier model, Local LLMs, OpenCode
- Opus, Sonnet and Haiku
Anthropic's three families of Claude models: Opus is the most capable and most expensive, Sonnet sits in the middle, and Haiku is the fastest and cheapest. Harnesses often give each role the cheapest model that can do it.
In practice: My junior developer runs on Sonnet, a much cheaper model. The code reviewer runs on Opus, but not at high effort, and the senior runs on Opus with a bit more.
Read: One Expensive Night, and the Junior/Senior Split It Forced
Docs: Pricing, Claude docs
See also: Escalation (junior to senior), Frontier model, Token
- Quantisation
Storing a model's weights at lower precision, for example 4-bit numbers instead of 16-bit (often spelt quantization). The model needs much less memory and runs faster, at some cost in quality.
See also: Model parameters (what "9B" means), Local LLMs, LM Studio
- RAG (retrieval-augmented generation)
Finding the most relevant documents for a question first, usually with a search over embeddings, and adding them to the prompt so the model answers from them rather than from memory alone.
See also: Embeddings, Agent memory, SQLite FTS5
Data and servers
- Docker
A tool that packages an app with everything it needs into an image, then runs it as an isolated container on any machine that has Docker.
In practice: My old Mac runs Ubuntu with Docker.
See also: Proxmox, Home lab, Sandboxing an agent
- Foreign keys
A column that points at a row in another table, plus a rule the database enforces so the link can never point at nothing. SQLite only enforces them when
PRAGMA foreign_keysis switched on for each connection.In practice: In bishop-memory, foreign keys are switched on, which SQLite leaves off by default.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: SQLite Foreign Key Support, SQLite docs
See also: SQLite, MySQL views, SQLite WAL mode
- Home lab
Computers at home, often old or small machines, that you run as your own servers to learn, test and self-host things.
In practice: I'd love to build my own home lab of single-board computers someday, and that's where local models would live.
See also: Proxmox, Local LLMs, Docker
- localhost and loopback (127.0.0.1)
localhost is the name a computer uses for itself, and 127.0.0.1 is its loopback address. Traffic to it never leaves the machine, so a service that listens only on 127.0.0.1 can't be reached from the network.
In practice: bishop-memory binds to 127.0.0.1 by default, so nothing else on the network can reach it. If you want it exposed, you have to choose that.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
See also: Reverse proxy, Sandboxing an agent, VPS (virtual private server)
- Microcontroller
A small computer on one chip, with its processor, memory and input and output pins, built to run one program that controls hardware such as sensors, motors and screens.
In practice: I play with a Pico microcontroller in my spare time. The thing I'd love to build one day is a satellite: something you can't switch off, because you can't switch it back on again.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: Raspberry Pi Pico and C, Git commits and rollback, Home lab
- MySQL views
A saved query that you can select from as if it were a table. A MySQL view stores the query, not the results, so it runs each time you read from it.
In practice: On that same Go API, the data moves from Redis into MySQL, where views are built and populated, and back into Redis as ready JSON.
See also: Redis as a primary database, Foreign keys, SQLite
- N+1 query
A performance bug where code runs one query to get a list and then one more query for every item in it, so a page with 100 items makes 101 database calls. It's invisible on a small test site and slow on a big one.
In practice: A meta query that works on a dev site with twelve posts can fall over on a live one with forty thousand. So I measure before I touch anything, including the loop that hides an N+1.
Read: How AI Changed the Way I Do WordPress Development
See also: Autoloaded options, MySQL views, Staging site
- OpenAPI (Swagger)
OpenAPI is a standard format, in YAML or JSON, for describing an HTTP API: its endpoints, inputs, outputs and authentication. Swagger was its original name and is now the name of tools that read it, including interactive documentation pages.
In practice: On my Go API I wrote the API, its authentication and its Swagger docs.
See also: REST API, Gin, Go (Golang)
- Proxmox
Proxmox VE is a free, open-source platform for running virtual machines and containers on your own hardware, managed from a web page.
In practice: I want Proxmox on my next Mac.
See also: Home lab, Docker, VPS (virtual private server)
- Raspberry Pi Pico and C
The Pico is a small, cheap microcontroller board from Raspberry Pi. You can program it in C with the official Pico SDK, or in MicroPython.
In practice: Before Go, I bought a Pico and a kit of buzzers, motors and screens to learn C. You get bytes, so you've really got to pay attention to the actual code.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: Microcontroller, Go (Golang), Home lab
- Redis as a primary database
Redis is an in-memory data store, usually used as a fast cache in front of another database. Used as the primary database, it becomes the system of record, so its persistence settings decide what survives a restart.
In practice: On the project I'm proudest of, a Go API, Redis is the primary store, not just a cache. It is so fast.
See also: MySQL views, REST API, Go (Golang)
- REST API
A way for programs to talk over HTTP: each resource has a URL, and standard methods (GET, POST, PUT, DELETE) read or change it, usually with JSON. WordPress has one built in.
In practice: Asked to fix a checkbox, an agent changed the WordPress REST endpoints and ended up with one endpoint for checking and another for unchecking. Not very DRY. I had to bring it back in line.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me; How I Build WordPress Plugins With AI
See also: OpenAPI (Swagger), DRY (don't repeat yourself), Gin
- Reverse proxy
A server that sits in front of one or more applications and passes visitors' requests on to them. It often handles HTTPS, caching and load balancing; Nginx, Apache and Caddy are common examples.
In practice: For my Go API I set up the server and the reverse proxy myself.
See also: VPS (virtual private server), SSL certificate, localhost and loopback (127.0.0.1)
- SQLite
A small database engine that keeps a whole database in a single file and runs inside your program, with no separate database server to install or run.
In practice: bishop-memory runs on one SQLite file. Everything ran locally through one path from the Go API, so it couldn't be heavy: it had to be light and portable.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
See also: SQLite WAL mode, SQLite FTS5, Foreign keys
- SQLite FTS5
SQLite's full-text search extension: a special table that indexes text so you can search for words and phrases quickly and rank the results by relevance.
In practice: In bishop-memory, FTS5 indexes every imported Markdown and JSONL file, with English stemming, so a search for "failing" also finds "failed".
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: SQLite FTS5 Extension, SQLite docs
See also: SQLite, Embeddings, Agent memory
- SQLite WAL mode
Write-ahead logging: SQLite writes changes to a separate log file first and folds them into the database later, so reading doesn't block writing. You switch it on with
PRAGMA journal_mode=WAL.In practice: bishop-memory's database runs in WAL mode, so reading never blocks writing.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: Write-Ahead Logging, SQLite docs
See also: SQLite, Foreign keys, SQLite FTS5
- VPS (virtual private server)
A virtual machine you rent from a hosting company: your own share of a physical server, with root access and your own operating system, for less than a whole machine.
In practice: I was thinking of a Bishop fleet: 10 or 20 harnesses working together, on a server and small VPSs. bishop-memory ran on one machine, which is part of why I started what became Cairnbook.
See also: Docker, Reverse proxy, Home lab
Go and tools
- ADR (architecture decision record)
A short, numbered file kept in the repository that records one design decision: the context, the decision, its status and its consequences. Together they explain why the code is the way it is.
In practice: Partway through Kirsch, the harness wanted to start adding quite a lot more than I'd asked for. The ADRs pulled it back into line.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
Docs: Documenting Architecture Decisions, Michael Nygard (2011)
See also: Spec-driven development, Kirsch, Git commits and rollback
- Bubble Tea
A Go framework from Charm for building terminal user interfaces. An app is a model, an update function that handles key presses and messages, and a view that draws the screen.
In practice: Kirsch's interface is a full-screen Bubble Tea TUI, in the spirit of Claude Code, OpenCode and Pi, but it lives in the terminal and scopes itself to one Git repository.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
Docs: Bubble Tea on GitHub
See also: CLI and TUI, Go (Golang), Kirsch
- CLI and TUI
A CLI (command-line interface) takes a command, prints a result and ends. A TUI (terminal user interface) takes over the terminal window with a full-screen interface you move around in with the keyboard, like a text-mode app.
In practice: Kirsch is both: a full-screen Bubble Tea app in the terminal, and a command line built on Go's standard
flagpackage, with no framework.Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: Bubble Tea, Go (Golang), Kirsch
- Diff and patch
A diff shows the lines that differ between two versions of a file. A patch is a diff saved so it can be applied to another copy. Reading a diff is how you review a change before it lands.
In practice: Kirsch only changes code through patches I approve. On client work, a diff I can explain in one sentence is worth more than three I can't.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; How AI Changed the Way I Do WordPress Development
See also: Git commits and rollback, Human-in-the-loop approval, Code review agent
- DRY (don't repeat yourself)
The rule that each piece of knowledge or logic should live in one place, so a change only has to be made once. Overdone, it creates abstractions that are harder to change than the repetition was.
In practice: An agent once fixed a checkbox by adding a second REST endpoint for the same job: one to check, one to uncheck. Not very DRY.
Read: Why I Assume AI Is Both Smarter and Dumber Than Me
See also: REST API, Code review agent, Git commits and rollback
- Fuzz testing
Feeding a program large numbers of generated, semi-random inputs to find crashes and edge cases a person wouldn't think of. Go has it built in since Go 1.18, with
FuzzXxxfunctions andgo test -fuzz.In practice: Kirsch's checks include fuzz tests, run with
npm run fuzz, next tonpm run checkandnpm run security.Read: Kirsch: why a terminal-native agent, when Claude Code exists
Docs: Go Fuzzing, Go docs
See also: Unit testing in Go, gosec and govulncheck, Linting
- Gin
A web framework for Go used to build HTTP APIs: it handles routing, middleware and JSON.
In practice: bishop-memory was written in Go, with Gin for the HTTP layer.
Read: Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
See also: Go (Golang), REST API, SQLite
- Git commits and rollback
A commit is a saved snapshot of a project. To roll back,
git revertadds a new commit that undoes an old one, which is safe on shared history;git resetmoves the branch back and drops later commits, for work not yet pushed.In practice: My agents can commit, but they can't make branches or pull requests, and each task is small enough to commit on its own. That way there's always a point to go back to.
Read: How I Build WordPress Plugins With AI; Why I Assume AI Is Both Smarter and Dumber Than Me; Kirsch: why a terminal-native agent, when Claude Code exists
See also: Diff and patch, ADR (architecture decision record), DRY (don't repeat yourself)
- Go (Golang)
A compiled programming language from Google, known for simple syntax, fast builds, built-in concurrency and programs that ship as a single file.
In practice: Go is the language I build everything with AI in now. I'd put myself somewhere between junior and senior in it.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
See also: Gin, Bubble Tea, Unit testing in Go
- gosec and govulncheck
Two Go security tools. gosec scans your source for common security mistakes, such as hard-coded credentials or SQL built from strings. govulncheck, from the Go team, reports known vulnerabilities in your dependencies that your code actually calls.
In practice: For Kirsch,
npm run securityrunsgovulncheck,gosecand a secret scan.Docs: Go Vulnerability Management, Go docs; gosec on GitHub
See also: Linting, Fuzz testing, Go (Golang)
- JSONL (JSON Lines)
A text file with one complete JSON object on each line. It is easy to append to, stream and process line by line; it is also called NDJSON.
In practice: Kirsch records each session as a plain JSONL file on your own machine: a resumable log you can read, diff and audit, with nothing phoned home.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; Before Cairnbook: How Bishop's Memory Went From Markdown to SQL
Docs: JSON Lines
See also: Kirsch, Diff and patch, Agent memory
- Linting
Running a tool that reads code without running it and flags likely bugs, unsafe patterns and breaks from a style guide. Linters can be switched off line by line, which is why an ignore comment deserves a look.
In practice: I run every project's checks through npm scripts,
npm run lintandnpm run build, out of habit from WordPress and PHP. For Kirsch it's still Go's own tools doing the work underneath.Read: How I Build WordPress Plugins With AI; Scaffolding a WordPress Plugin in an Afternoon
See also: Lint-ignore comment (
phpcs:ignore), WordPress coding standards (PHPCS and WPCS), gosec and govulncheck- Spec-driven development
Writing down what the software must do, the spec, before any code, and having people and agents build against it. With AI agents, the spec keeps the work inside the plan.
In practice: That's the biggest thing writing the spec first saved me. It didn't let the work go off on tangents, so I could let the agent run overnight and stay inside the plan.
Read: Kirsch: why a terminal-native agent, when Claude Code exists
See also: ADR (architecture decision record), Unit testing in Go, Vibe coding
- Unit testing in Go
Go has testing built in: tests live in
_test.gofiles next to the code as functions namedTestXxx, andgo testruns them.In practice: For Kirsch,
npm run checkruns the formatter check,go vet, the linter,go test ./...and a check on the screen layouts.See also: Fuzz testing, Linting, Go (Golang)
WordPress
- Abilities API and the WordPress MCP Adapter
The Abilities API, in WordPress core since 6.9, lets core and plugins register abilities: named actions with set inputs and outputs, each with its own permission check. The MCP Adapter offers those abilities to AI agents over MCP.
Read: How AI Changed the Way I Do WordPress Development
Docs: Abilities API, Common APIs Handbook
See also: MCP (Model Context Protocol), Capability checks (
current_user_can), MCP server- Autoloaded options
Settings in the WordPress
wp_optionstable that are marked to load on every page request. A few are fine; too many large ones slow down every page of the site.In practice: Generated WordPress code is usually correct enough to ship and slow enough to hurt. So I measure first: the queries, the autoloaded options.
Read: How AI Changed the Way I Do WordPress Development
See also: N+1 query, WordPress plugin development, Staging site
- Capability checks (
current_user_can) current_user_can()asks whether the logged-in user may do something, such asedit_postsormanage_options. Every admin action, AJAX handler and REST route needs one, in the right place, before it acts.In practice: A capability check can be present and still sit in the wrong place, so the wrong user can still do the wrong thing. Those are the misses I expect to find myself.
Docs: Checking User Capabilities, Plugin Handbook
See also: WordPress nonces, Escaping and sanitising, Abilities API and the WordPress MCP Adapter
- Escaping and sanitising
Sanitising cleans data on the way in, before you save it (for example
sanitize_text_field). Escaping makes data safe on the way out, for the exact place it's printed (esc_html,esc_attr,esc_url). WordPress's rule: sanitise early, escape late.In practice: My agents missed some escaping, and the WordPress.org reviewers caught it. Now my review skill makes every output show its escaping.
Read: How I Build WordPress Plugins With AI; How AI Changed the Way I Do WordPress Development
See also:
$wpdb->prepare()and SQL injection, WordPress nonces, Capability checks (current_user_can)- Free and pro plugins (freemium)
A free plugin in the WordPress.org directory with a paid Pro version sold elsewhere. WordPress.org allows that, but not trialware: the free plugin can't lock features or ship paid code that's switched off.
In practice: Running a free plugin with a pro upgrade is a lot harder than I anticipated. I'd do it one of two ways: a free version that's fully open source and never gets pro features, or a pro product on its own.
Read: How I Build WordPress Plugins With AI; Scaffolding a WordPress Plugin in an Afternoon
Docs: Guideline 5: trialware is not permitted, Plugin Handbook
See also: MSC plugins, Plugin scaffold (boilerplate), GPL and MIT licences
- hreflang
An HTML attribute (it can also go in an HTTP header or a sitemap) that tells search engines which language and region a page is for and where its translations are, so each searcher gets the right version.
See also: WPML, Polylang, GEO (generative engine optimisation)
- Lint-ignore comment (
phpcs:ignore) A comment in the code, such as
// phpcs:ignore, that tells a linter to skip a rule on that line. Sometimes it's justified, but it can also hide a real problem and turn a failing check green.In practice: The agent didn't fix the query. It added a comment telling the linter to ignore that rule, and the check went green. A comment like that is now a finding my agents have to explain, not a pass.
Read: How I Build WordPress Plugins With AI; How AI Changed the Way I Do WordPress Development
Docs: Ignoring Parts of a File, WordPress Coding Standards wiki
See also: Linting,
$wpdb->prepare()and SQL injection, WordPress coding standards (PHPCS and WPCS)- MSC plugins
Donovan's four free WordPress plugins on WordPress.org, each doing one job: Post Last Updated Date, Post Expiry, Scheduled Visibility and Stealth Login. They're built with the agent harness and reviewed by hand. Three pro plugins are in development and not released.
In practice: MSC stands for Micro Site Care, plus each plugin's initials, so Post Expiry's classes start
MSC_PE. I meant to start a plugin business. It hasn't really worked out like that.Read: How I Build WordPress Plugins With AI; Scaffolding a WordPress Plugin in an Afternoon
Project: The plugins
See also: WordPress plugin development, Free and pro plugins (freemium), Plugin scaffold (boilerplate)
- Plugin Check (PCP)
The official WordPress.org tool that runs the plugin directory's automated checks against a plugin, from the admin screen or WP-CLI. Passing it doesn't mean the human review will pass.
In practice: My plugins went through the agent review, PHPCS and Plugin Check, and passed almost every part. Then a person at WordPress.org looked at them and sent them straight back.
Read: How I Build WordPress Plugins With AI; How AI Changed the Way I Do WordPress Development
Docs: Plugin Check (PCP), WordPress.org
See also: WordPress.org plugin review and SVN, WordPress coding standards (PHPCS and WPCS), Lint-ignore comment (
phpcs:ignore)- Plugin scaffold (boilerplate)
A starting structure for a new plugin, either copied from a boilerplate or produced by a generator, so every plugin has the same files, naming and setup before any real code is written.
In practice: An AI will always give you a slightly different result. An AI that uses a tool gives you the same, or very, very similar, result every time. So my scaffold does the structure, and the AI does the work inside it.
Read: Scaffolding a WordPress Plugin in an Afternoon; How I Build WordPress Plugins With AI
See also: MSC plugins, WordPress plugin development, Tool calling
- Polylang
A WordPress plugin for multilingual sites, with a free version on WordPress.org and a paid Pro version.
In practice: I widened Translation Health to Polylang and multilingual SEO, but I didn't really have a passion for it, and without passion there's no point continuing.
Read: How AI Changed the Way I Do WordPress Development
See also: WPML, hreflang, Free and pro plugins (freemium)
- Stable tag (readme.txt)
The line in a plugin's
readme.txtthat tells WordPress.org which version to serve. It must match the version in the plugin's header and a tag in SVN, or users get the wrong release.In practice: My scaffold checks that the plugin header, the readme.txt stable tag and the changelog all agree. It's boring, and it's exactly the kind of boring thing that gets a WordPress.org submission bounced.
Read: Scaffolding a WordPress Plugin in an Afternoon
Docs: How your readme.txt works, Plugin Handbook
See also: WordPress.org plugin review and SVN, Plugin scaffold (boilerplate), MSC plugins
- WooCommerce development
Building on WooCommerce, the e-commerce plugin for WordPress: custom extensions, payment and shipping integrations, and changes made through its hooks rather than by copying its templates.
In practice: Once I owned my house I moved into WooCommerce, building large stores for a wine-industry agency: wine clubs, subscriptions and memberships. It's the work I did most.
Docs: Template structure, WooCommerce developer docs
See also: WordPress hooks (actions and filters), WordPress plugin development, WPML
- WordPress coding standards (PHPCS and WPCS)
PHP_CodeSniffer (PHPCS) is a linter for PHP. WPCS is the set of WordPress rules for it, covering style and also security checks such as escaping and prepared SQL.
In practice: A plugin fresh from my scaffold comes out clean against the WordPress coding standards: zero errors, zero warnings. Always run
composer lintfrom the plugin root, because PHPCS looks for its config in the folder you're standing in.Read: Scaffolding a WordPress Plugin in an Afternoon; How I Build WordPress Plugins With AI
Docs: WordPress Coding Standards for PHP_CodeSniffer
See also: Linting, Lint-ignore comment (
phpcs:ignore), Plugin Check (PCP)- WordPress hooks (actions and filters)
WordPress's way of letting your code run at set points. An action runs your function when something happens (
add_action); a filter passes a value through your function so you can change it and return it (add_filter).In practice: After a wedding-registry site I couldn't finish, I read an article on actions and filters and made a conscious decision: on the next site, copy as few templates as possible and build with hooks.
Read: Scaffolding a WordPress Plugin in an Afternoon
Docs: Hooks, Plugin Handbook
See also: WordPress plugin development, WooCommerce development, Capability checks (
current_user_can)- WordPress nonces
A token WordPress adds to a form or link so it can check that a request came from your own page and was meant. It protects against cross-site request forgery. Despite the name it isn't single-use, and it doesn't check permissions, so it goes with a capability check.
Docs: Nonces, Plugin Handbook
See also: Capability checks (
current_user_can), Escaping and sanitising,$wpdb->prepare()and SQL injection- WordPress.org plugin review and SVN
Every new plugin in the WordPress.org directory is reviewed by people on the Plugins team before it goes live. After approval you publish code and releases through a Subversion (SVN) repository, not Git: trunk for development, a tag for each release.
In practice: I treat the WordPress.org guidelines as instructions the agents build against from the start, not a hurdle at the end.
Read: How I Build WordPress Plugins With AI; Scaffolding a WordPress Plugin in an Afternoon; How AI Changed the Way I Do WordPress Development
Docs: Detailed Plugin Guidelines, Plugin Handbook; Common issues, Plugin Handbook
See also: Plugin Check (PCP), Stable tag (readme.txt), Free and pro plugins (freemium)
- WordPress plugin development
Writing PHP code that adds features to WordPress without changing WordPress itself, mostly through its hooks. Plugins can be listed for free in the WordPress.org directory or sold directly.
In practice: I maintain four free plugins on WordPress.org. The agents write most of the code now, and I read every patch before it lands.
Read: How I Build WordPress Plugins With AI; Scaffolding a WordPress Plugin in an Afternoon
See also: WordPress hooks (actions and filters), MSC plugins, Plugin scaffold (boilerplate)
$wpdb->prepare()and SQL injectionSQL injection is when user input ends up inside a database query and changes what it does. In WordPress,
$wpdb->prepare()prevents it: you write the query with placeholders such as%sand%d, pass the values separately, and WordPress escapes them.In practice: The agent hadn't fixed the queries that didn't use
$wpdb->prepare(). It had added a comment telling the linter to ignore that rule, and the WordPress.org reviewers picked it up straight away.Read: How I Build WordPress Plugins With AI
Docs: wpdb::prepare(), WordPress developer reference
See also: Lint-ignore comment (
phpcs:ignore), Escaping and sanitising, WordPress coding standards (PHPCS and WPCS)- WPML
A paid WordPress plugin for multilingual sites. It translates posts, pages, theme and plugin text and WooCommerce products, and gives each language its own URLs.
In practice: I went heavy into Translation Health, a scanner for WPML sites that's now parked, then found WPML was building the same kind of report.
Read: How AI Changed the Way I Do WordPress Development
Docs: WPML
See also: Polylang, hreflang, WooCommerce development
Web and site
- CDN (content delivery network)
A network of servers around the world that keeps copies of a site's files close to visitors, so pages load faster and the main server carries less load.
In practice: Someone built 30 or 40 pages in two hours with AI. Nobody had thought about the forms, the hosting, the security or the CDN.
Read: Coding Is Not the Same as Developing; How AI Changed the Way I Do WordPress Development
See also: SSL certificate, Reverse proxy, Static site generator (Eleventy)
- GEO (generative engine optimisation)
Making content easy for AI answer engines, such as ChatGPT, Perplexity and Google's AI answers, to find, understand and cite. Much of it is ordinary SEO: clear structure, plain facts and a clear source.
In practice: My advice to a young developer: diversify. SEO, GEO, working with AI, DevOps. You have to be junior at lots of different things.
- GPL and MIT licences
Both are open-source licences. MIT lets anyone use, change and sell the code, even inside closed products, as long as the notice is kept. The GPL allows that too, but anything you distribute that is built on GPL code must also be released under the GPL; WordPress is GPL, so directory plugins must be GPL-compatible.
In practice: My four plugins on WordPress.org are free and GPL-2.0 or later. Kirsch is MIT.
Read: How I Build WordPress Plugins With AI; Kirsch: why a terminal-native agent, when Claude Code exists
See also: Open source, Free and pro plugins (freemium), Kirsch
- llms.txt
A proposed convention: a Markdown file at
/llms.txtthat gives AI tools a short, clean map of a site's most useful pages. It's a convention, not a standard search engines have committed to. This site has one.See also: GEO (generative engine optimisation), Static site generator (Eleventy), hreflang
- Matomo
Open-source web analytics, an alternative to Google Analytics that you can host yourself, so visitor data stays with you. This site uses it.
See also: GEO (generative engine optimisation), Static site generator (Eleventy), Uptime monitoring
- Open source
Software whose source code is published under a licence that lets anyone read, use, change and share it.
In practice: I've always believed in open source software. Bishop went on GitHub because if somebody gets benefit out of it, then great, use it.
Read: Kirsch: why a terminal-native agent, when Claude Code exists; How I Build WordPress Plugins With AI
See also: GPL and MIT licences, Bishop, Kirsch
- SSL certificate
A file that proves a site's domain to browsers and lets them connect over HTTPS. The protocol today is TLS, but the old name stuck. Certificates expire, so renewals need watching.
In practice: The WPZA platform I built with AI watches email settings and SSL expiry, along with forms, analytics reports and speed tests.
Read: How AI Changed the Way I Do WordPress Development
See also: Uptime monitoring, CDN (content delivery network), Website backups
- Staging site
A private copy of a live site where changes, updates and new code are tested before they go to the real one.
In practice: The agents write the first pass now, but staging still gets tested by hand, the same as before.
Read: How AI Changed the Way I Do WordPress Development; Coding Is Not the Same as Developing
See also: Website backups, Uptime monitoring, Git commits and rollback
- Static site generator (Eleventy)
A tool that builds a whole website into plain HTML files ahead of time, from templates and content files, so there's no database or PHP running when someone visits. Eleventy (11ty) is one, written in JavaScript; this site is built with it.
See also: CDN (content delivery network), llms.txt, Matomo
- Uptime monitoring
A service that checks a site every few minutes from outside and alerts you when it stops responding.
In practice: WPZA used to be updates, backups and a bit of uptime. Now it's a platform that does a lot more.
Read: How AI Changed the Way I Do WordPress Development
See also: Website backups, SSL certificate, Staging site
- Website backups
Copies of a site's files and database kept somewhere other than its server, so you can restore it after a crash, a bad update or a hack. A common rule is 3-2-1: three copies, on two kinds of storage, one off-site.
In practice: I started WPZA in 2014: updates, security, backups, monthly scans and unhacking. It's still only R650 a month.
Read: How AI Changed the Way I Do WordPress Development
See also: Uptime monitoring, Staging site, SSL certificate