# How I write articles with Claude

> How I write the articles on this site with Claude: what I do, what it measures in the lab, and how every claim gets checked.
>
> Source : https://www.pachadata.com/en/docs/co-writing-with-claude/
> Author : Rudi Bruchez · published 2026-11-28 · updated 2026-11-28
> Markdown version of the page, for tools and LLMs. The HTML page is the reference.


*Page co-written with Claude, from the working notes of our sessions.*

> TL;DR :
>
> Articles marked "co-written with Claude" start from a question I ask. I put it to Claude Code, and Claude runs most of the testing and research: instances of several versions in containers, Extended Events, the debugger. I review, I rewrite, I add what I know from the field, and I decide what gets published.


## My part

When I want to write an article for one of the sections of my site, I start by putting the question to Claude.
It can come from a question asked during a training session, a behavior observed at a client, or a chapter of my book *Optimiser SQL Server* I wanted to revisit.
I say what I want to know, and often what I am suspicious of.
I use a number of processes and skills I have built over time, in particular a multi-step approach that relies on subagents.

Then I review everything. I rewrite passages, cut some, add examples and what field experience has taught me. When a point is still marked "not measured" or "undocumented", I send Claude back to the lab rather than publish a gap. The choices on substance and form remain mine, and the article speaks in the first person because I sign it.

Working this way, I go much faster, and my articles are more precise and go further than anything I wrote before.

## Claude's part

It is much easier and faster for me to ask Claude for a whole battery of tests than to set it up myself. For a single article, it can:

- start SQL Server instances of several versions, from 2017 to 2025 and at different CUs, in disposable Podman containers, to see where a behavior changes;
- create Extended Events sessions to follow what the engine does during a query, including stopping the engine with an Extended Events action, as a debugger breakpoint at the right place;
- read in the debugger (gdb on Linux, WinDbg on Windows virtual machines) the engine function that produces a constant or makes a decision, with Microsoft's public symbols;
- profile a query with `perf` to see where the CPU time goes;
- read the Microsoft documentation, the literature and my own books, and compare what they say with what it measures.

Examples are written for the `PachadataTraining` demo database: you can copy and run them as they are.

## Verification

Every claim Claude produces for an article is backed by evidence: it has a row in a register, with the exact documentation page that establishes it, or the measurement, and the version it holds for.

Before publication, several independent automated reviewers, other models among them, check every claim against the documentation and against a real instance. They are started automatically as subagents, mainly Codex, Vibe or Agy.
They act as proofreaders and consistency checkers.
What they find is measured again before it is corrected, and the SQL blocks are compiled in the demo database.
When a measurement contradicts Microsoft's documentation, the contradiction is recorded and a documentation fix is prepared.
I then submit it as a pull request to the SQL Server documentation on GitHub, [as long as it remains open to contributions that way](https://techcommunity.microsoft.com/blog/skills-hub-blog/changes-to-microsoft-learn%E2%80%99s-public-documentation-repositories/4554909).

The writing notes of each article (decisions, claims register, measurement journal) stay in the site's repository and are not published.
They let me find the sources at any time and check that the claims of each article still hold, even long after publication, so I always start again from solid ground when I make changes.

## Errors

A model can be confidently wrong, and so can I. Verification catches many errors, not all of them. If you find one in an article, [write to me](https://www.pachadata.com/en/contact/): I will fix it, and redo the measurement if it is a measurement.
Thank you for helping keep these articles reliable.


---

## About the author

Rudi Bruchez, independent SQL Server consultant since 2006: performance audits, tuning, migrations, high availability and training. For an audit or hands-on help on your server: https://www.pachadata.com/en/contact/ (remote audit: https://www.pachadata.com/en/services/remote-sql-server-audit/).
