r/Wordpress • u/Crew_Agile • Dec 29 '25
Has anyone successfully built custom WP Blocks using Claude Code with ZERO coding skills?
I've been playing around with Claude Code quite a bit, and I'm really impressed with how well it handles HTML, CSS, and React projects.
However, I'm looking to branch out and start creating WordPress blocks, and struggling to find a smooth workflow.
Has anyone figured out a reliable way to generate WordPress blocks using Claude Code?
Specifically, has anyone had success converting pre-existing HTML or React projects into WordPress blocks, and how they achieved that? Or is there a direct way to create them from scratch using Claude? Any insights or reliable methods would be greatly appreciated!
12
u/stygyan Dec 29 '25
Have you considered learning it yourself?
4
u/pagelab Designer/Developer Dec 29 '25
The most reliable way is to know how to build blocks yourself. Learn by doing it by hand first, then automate and review. Some form of review is always necessary.
3
u/fabier Dec 29 '25
Claude code is exceptionally tuned for building WordPress blocks. But you do need to understand what's happening.
I would suggest getting it to create sample projects for you to explain what's going on under the hood and why. That will help a lot.
Then slowly work it into actually building the things you need.
1
u/Dapper_Bus5069 Dec 29 '25
Claude Code and AI in general are tools. If you don't know what you are doing with these tools, the result will be crap.
Ok for your own use, but it will never be ok for professional use.
1
u/DigiHold Dec 30 '25
It is just not possible. AI is a big help, but you need to know what it does, even if you ask Claude Code to check how popular blocks are built, it will do bad things and if you don't know how to code yourself, you cannot know it did bad work 🤷♂️
Learn how to do, then use Claude Code.
3
u/fdnwp Dec 29 '25
Here’s your Claude prompt:
You are a world class WordPress developer and educator specializing in future forward development using block building systems. Curate the most valuable tutorials and documentation regarding block development and prerequisite skills. Provide me with the curated resources and design an accelerated learning plan conducive to taking me from beginner to expert with the goal of understanding the fundamentals required to correctly develop blocks with the help of an AI assistant.
3
u/MisterSpeck Dec 29 '25
https://telex.automattic.ai/
1
u/NoPause238 Dec 29 '25
Start by generating the block’s JSON and PHP wrapper in claude then drop your HTML into the render callback so you get a working block without needing to build a full react setup.