I Set Out to Understand Cloudflare, and Two Days Later I'd Published a 50-Page "Textbook"
I couldn't find a Cloudflare textbook that fit how I learn, so I built one with Claude Code: 9 chapters, 50 pages, written in two days. Here's how, and what I learned.

Contents7 items
Have you heard of Cloudflare?
I’ve only been using it for about a year myself, but it’s an incredible service, and it never stops evolving. Deciding “it’s time I properly understood this thing” is where it all began.
According to one statistic, about 20% of the world’s web traffic passes through Cloudflare. In other words, whether you know it or not, you’re going through Cloudflare somewhere today.
In fact, the blog you’re reading right now is one of them. kaylog.io runs on a Synology NAS at my home and is delivered through Cloudflare. Publishing it safely without opening any ports, and making the site fast: all thanks to Cloudflare. So it’s something I rely on every single day.
So, to understand it properly, I first went looking for learning materials.
To be clear, materials do exist. Cloudflare’s official Learning Center is available in Japanese and is full of good content, and the developer documentation is enormous. There are also plenty of blog posts explaining individual settings.
But none of them fit “the way I learn”. The Learning Center is a dictionary organized by term, so I couldn’t tell what order to read it in. The official documentation is a reference, not a textbook. Blog posts are fragmentary. What I wanted was a “single-path textbook” I could climb step by step, and I wanted to try the hands-on parts in my own environment (NAS and WordPress). …Materials that convenient don’t exist anywhere in the world.
And then the thought hit me.
“If there’s no material that fits, why not make it myself?”
…Before I knew it, two days later, I had published “The Complete Cloudflare Guide”: 9 chapters, 50 pages in total, about 230,000 characters, the equivalent of two Japanese paperbacks.

The Complete Cloudflare Guide: From Basics to Practice
Of course, there’s no way I could write 50 pages in two days. My partner was Claude Code. This post is the story of how it went, and of the “way of learning for the AI era” that I became convinced of while making it.
If there’s no textbook, make one just for yourself#
Until now, when there was no material that suited you, you had two options: give up, or wrestle with documentation in English.
But now there’s a third option: “turn what you want to learn into media, by yourself, for yourself”.
My learning preferences are clear. I want to build up from the basics in order. I want to digest one topic per page. I want to understand through diagrams, not just text. And I want to try the hands-on parts in my own environment (a Synology NAS and WordPress). No material in the world meets all of these conditions. Naturally, since it would be made just for me.
So why not make that “textbook just for me” together with AI? And if I publish it as a blog, it can become learning material for someone with the same struggle. My own learning becomes my output. That’s far better than killing two birds with one stone.
And this is something I only realized after making it: making a textbook sticks in your head far better than reading one. To review the drafts the AI writes, you have to understand the material yourself. Asking “will a beginner get this explanation?” ultimately means reconstructing the concept inside your own head. Reviewing 50 pages was 50 pages’ worth of lessons.
How it works: hiring the AI as an “editorial team”#
That said, it’s not so easy that you can toss out “write a 50-page Cloudflare textbook” and get one. The heart of this project was building a system that left not just the writing but also progress management to the AI.
I prepared two files: a “rulebook (CLAUDE.md)” spelling out every rule, from writing style and diagram style to work procedures, and a “master plan” listing the titles and statuses (not started / draft / published) of all 50 pages. Claude Code reads both files every session and figures out where things stand on its own.
So what happens? My instruction is “make the next page”. That’s all. From there, Claude decides the next page from the progress table, searches Cloudflare’s official documentation to confirm the latest information, writes the text, draws diagrams in a consistent style as SVGs, posts to WordPress, updates the progress table and commits, running the whole thing single-handedly (single-AI-edly?).
I ensured the diagrams looked consistent by carefully crafting just one sample at the start and making it a rule: “match this exactly”. Thanks to this trick, all 50 pages’ worth of diagrams look like they belong to the same guide.
For automating WordPress posting, there was one safety design I insisted on. The script could only ever post as a “draft”, and only I would press the publish button after checking it visually in the admin screen. Never give the AI publishing rights: that was the beautiful principle. But after running three pages that way, not a single draft review had led to a text fix. It had become a ritual of “open, glance, press publish” every time, so I changed course without much fuss. I automated it all the way to publishing (but only when explicitly specified; the default is still draft).
That was the moment my role changed from “the person who checks before publishing” to “the person who fixes things after publishing if they notice something”. Build the safety mechanisms rock-solid first, then loosen them step by step based on the track record. I think that was a much healthier approach than the reverse (starting loose and tightening after an accident).
It feels like employing 100 university professors#
Actually, ever since I started using AI, there’s a feeling I’ve had the whole time: “it’s like I’ve hired 100 university professors”.
Networking, cameras and RAW processing, NAS, programming, how to write. Whatever field I ask about, a “professor” who knows that field shows up and teaches me. If I ask for “more beginner-friendly”, they rephrase without a hint of annoyance, and whether it’s late at night or early in the morning, they match my pace of understanding perfectly. It’s as if experts in every field are keeping their office doors open, waiting for me any time.
And making this textbook was what turned that feeling into conviction. It’s not just about answering questions. “I want to learn this field systematically, so please design a curriculum, write a textbook, and prepare illustrations too.” The professors even took on an outrageous order like that. Self-service, right down to checking the references (the official documentation).
Not long ago, if you wanted to learn something systematically, you had to wait for a book to come out, take an expensive training course, or piece together fragments of information on your own. Now you can “order a textbook made just for you and have it delivered in two days”. The monthly fee is less than one professor; it’s the cost of a few reference books.
There’s something you want to learn but no material for it: that wall, which used to be a reason to give up, has turned into a simple “well, let’s make it, then” with the arrival of AI. This is learning on a whole different level.
I’m so glad to be alive in an era like this!!
The two days broken down: the system day and the mass-production day#
By the way, to reveal what “50 pages in two days” really involved: day one and day two were completely different things.
Day one was “the day to build the system”. Writing the rulebook, setting up the diagram pipeline, automating posting. Almost all the trouble happened that day, and only a few pages got published. Day two was “the day of mass production”. The established workflow just quietly kept running, and whole chapters were published in a few hours. Zero new problems. Before I knew it, the bottleneck was entirely my review speed. Human checking couldn’t keep up with the AI’s output: a ridiculously luxurious complaint.
In other words, the truth behind “50 pages in two days” is that “the system I spent a day building ran 50 pages’ worth on day two”. I think the key to working with AI comes down to not skimping on this “system day”.
Summary#
- I wanted to learn Cloudflare systematically but couldn’t find the right material, so I made “a textbook just for me” with AI and published it (The Complete Cloudflare Guide: 9 chapters, 50 pages, about 230,000 characters = two Japanese paperbacks, made in two days)
- When you turn what you want to learn into media yourself, you can tailor it perfectly to how you learn, and it becomes material for others too
- Making a textbook sticks better than reading one. Reviewing the AI’s drafts was itself the best lesson
- The system is two files: a rulebook and a progress table. It runs on the single instruction “make the next page”
- Using AI day to day feels like employing 100 university professors. The era of wanting to learn but having no material is over
- Posting started with a “drafts only” safety design and was automated all the way to publishing based on the track record. The human role keeps changing as operations go on
Here’s the finished textbook#
So, here’s the textbook I made just for me.
The Complete Cloudflare Guide: From Basics to Practice
It starts with “What is Cloudflare?” and covers prerequisite knowledge like DNS and CDNs, security, Zero Trust, development with Workers, and AI services. It’s structured so that reading the 9 chapters and 50 pages from top to bottom gives you a systematic understanding.
Did you think “oh, only 50 pages”? When I actually measured the total character count, it came to about 230,000 characters. A Japanese paperback (shinsho) is around 100,000 to 130,000 characters, so that’s roughly two paperbacks, and typeset as a printed tech book with illustrations, it would be well over 300 pages. Don’t underestimate “50 pages” on the web.
Even though I made it for myself, if I may say so, I think it turned out pretty easy to understand. So if you’re someone who thinks “I’ve heard the name Cloudflare but don’t really get it”, please give it a read from Chapter 1. Nothing would make me happier than if it became your learning material too.
One last word#
Is there a topic you’ve been meaning to “sit down and learn someday” but keep putting off because there’s no good material?
Start that “someday” by ordering a textbook made just for you from AI. We’re moving from an era of adapting your learning style to the material to an era of adapting the material to yourself. Living in times like these, it would be a shame not to use it.
*The information in this article is current as of August 2026.