Article complete

Claude Wrote the Code for Cloudflare, Developer Reveals Prompts

“Claude’s output was thoroughly reviewed by Cloudflare engineers with careful attention paid to security and compliance with standards.”

Hands typing on a keyboard against a textured orange background with abstract shapes in blue and white.

Key takeaways

  • Developers increasingly leverage AI models like Claude to enhance coding efficiency.
  • Cloudflare's project used Claude for an OAuth library, ensuring thorough security reviews.
  • Kenton Varda documented the prompt process, providing transparency in AI-assisted coding.
  • The initiative challenges skepticism around AI's coding capabilities with significant results.
  • Project logs offer unique insights into human-AI collaboration in software development.

Takeaways drafted with AI from the article text.

It is no surprise that developers are using AI models to write their code. However, a developer from Cloudflare sparked discussions when he used Claude to build something, while documenting the entire prompt process. 

“I was an AI sceptic. I thought LLMs were glorified Markov chains...I started this project on a lark...and then…the code actually looked pretty good,” Varda wrote in the GitHub repository. 

“Claude’s output was thoroughly reviewed by Cloudflare engineers with careful attention paid to security and compliance with standards,” he added.

The project includes complete prompt histories in the git commit logs, which is an unusual but transparent move. 

“What’s fascinating isn’t just the code—it’s that they documented every single prompt in their git commits, creating an archaeological record of human-AI collaboration,” Mitchell wrote on X. “AI handles mechanical implementation while humans provide direction, context, and judgment.” 

Developers on Hacker News echoed the sentiment. One comment pointed to a commit where Varda challenged Claude over a design flaw to improve security.

“I don’t think a non-expert would even know what this means, let alone spot the issue,” the user wrote, underscoring the importance of human oversight in AI-assisted development.

The library marks a significant case study in practical LLM usage for critical infrastructure code. While concerns remain about generative AI’s reliability, the OAuth project demonstrates how structured workflows and expert review can transform LLM usage.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

About the author

Editor

I am a tech aficionado and a computer science graduate with a keen interest in AI, Coding, Open Source, Global SaaS, and Cloud. Have a tip? Reach out to

All stories
Belamy · Daily

The day’s AI news, before your first meeting.