- Home
- Skills
- Frontend & Web Apps
- WordPress Block Theme Site Builder (FSE + CI/CD)
More screenshots
Works with the AI Agents you already use
WordPress Block Theme Site Builder (FSE + CI/CD)
wp-block-site is a complete methodology plus a working project scaffold for building WordPress sites as a block theme without a build step.
Free
WordPress Block Theme Site Builder (FSE + CI/CD)
Example session with this skill installed
I have an HTML prototype of a 6-page site for a small design studio (home, services, portfolio, about, blog, contacts) in ./prototype. Turn it into a WordPress site using wp-block-site: block theme, editable blocks, contact form that sends leads to Telegram, SEO set up properly, and GitHub Actions deploy to my shared hosting over SSH (staging + production).
- Read your context and instructions
- Compiled the wordpress block theme
- Generated the app files
Summary
Your prototype becomes a block theme studio plus a data plugin studio-core, scaffolded from wp-block-site and filled page by page. Content lives in the admin of the production site; code ships only through git.
1. Scaffold
node ~/.claude/skills/wp-block-site/scripts/scaffold.js ../studio-site \
--slug=studio --name="Studio" --domain=studio.example
cd ../studio-site && git init && npm install && composer install
docker compose up -d # http://localhost:8080
npm run check # green before any change
2. What was built
| Area | Files | Notes |
|---|---|---|
| Design tokens | assets/css/tokens.css, theme.json | colors, fonts, spacing from the prototype; light + dark; custom colors off in the editor |
| Blocks | blocks/hero, blocks/services, blocks/portfolio-grid, blocks/cta | dynamic, render.php + style.css, no build; empty block = hint in editor, nothing on site |
| Content | project/content/site.js → content.json | 6 pages + 3 posts with query, URL, title, description; builder rejects empty/long/duplicate SEO fields |
| Import | wp studio import | idempotent; --new adds new pages on later deploys without touching owner edits |
| Form | blocks/lead-form, inc/leads.php | CF7 → saved on the site + copied to Telegram even if email fails; honeypot + max 5 submissions per IP in 10 min |
| SEO | inc/seo/* | Rank Math settings in code, JSON-LD (Organization, LocalBusiness, Service, WebPage, BlogPosting, FAQPage, BreadcrumbList), robots.txt with AI bots, llms.txt, IndexNow |
| Security | inc/security.php, .htaccess | headers, XML-RPC and user enumeration closed, no PHP in uploads |
3. Deploy
.github/workflows/deploy.yml — push to main → staging; Run workflow → staging or production. Secrets live in GitHub Environments test and production (same names, own values): SSH_HOST, SSH_USER, SSH_KEY, SSH_KNOWN_HOSTS, DEPLOY_PATH, SITE_URL, DB_*, TG_BOT_TOKEN, TG_CHAT_ID. Each release backs up the DB, runs remote.sh, checks the pages listed in wordpress/deploy/pages.txt and restores the previous theme and plugin automatically if any of them stops opening.
4. Checks run
npm run check— PHPCS, ESLint, Stylelint, size limits, theme/plugin boundary, rule tests: pass- Clean install twice in CI — second run changes nothing: pass
- SEO gate — one H1 per page, title and description present: pass
- Crawl at 360 and 1280 px — no horizontal scroll, no JS errors; editor: 0 invalid blocks: pass
Next steps
- Add the secrets to the
testenvironment and run Deploy → test. - Open the staging site, check the form lands in Telegram.
- Run Deploy → production, then submit the sitemap in Search Console.
tokens.css
ZIP · project files
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
wp-block-site is a complete methodology plus a working project scaffold for building WordPress sites as a block theme without a build step. It is extracted from a real production site (kalaganov5.com) and every rule comes with the reason behind it.
What your agent produces
- Block theme —
theme.json, HTML templates, dynamic blocks (block.json+render.php+style.css), CSS variables as the single design source, light and dark mode. No webpack, no npm build. - Data plugin — post types and fields without ACF, site settings, idempotent content import, SEO, forms, analytics, security, redirects, and
wp <prefix> …WP-CLI commands. The theme works even without the plugin. - Deploy — one repeatable
remote.shused by CI, local Docker, staging and production; DB backup before each release and automatic file rollback if the site stops responding. - GitHub Actions — CI (checks + clean install + SEO gate), deploy to staging/production over SSH, prod→staging sync, health check, monthly SEO audit with Lighthouse.
- One check command —
npm run check: PHPCS, ESLint, Stylelint, Prettier, size limits (120-char lines, 40-line functions, 250-line files), theme/plugin boundary, business-rule tests, page-weight budget.
Why it is different
- An editor the site owner can use: posts open without the template, clicking any paragraph works, no placeholder junk in blocks; block settings panels are generated from
block.json. - SEO from the brief, not at the end: every page has its query, URL, title and description in the content source; the CI gate blocks a page without a title or with two H1s. Rank Math configured in code, JSON-LD per page type, sitemap, robots.txt for AI bots, llms.txt.
- Secure by default: security headers, XML-RPC and user enumeration closed, no PHP in uploads, file editing disabled, secret scanning before commit and in CI.
- Works on cheap shared hosting — only SSH is required.
- Also covered: migrating an old site with 301s, Polylang multilingual, Contact Form 7 → Telegram leads with anti-spam, GTM + Consent Mode cookie banner, Core Web Vitals and accessibility, auditing an existing site.
Verified
The scaffold in this package was generated, installed from scratch in Docker (WordPress + Polylang + Contact Form 7 + Rank Math) and passes npm run check with 27 JS and 42 PHP rule tests; all page types answer 200 in both demo languages and the SEO gate passes. Earlier releases were also verified for repeat deploys (no-op) and automatic rollback (fatal error → 500 → rollback → 200).
About the author
Vladimir Kalaganov is a WordPress developer and webmaster who has built and maintained sites for small businesses in Russia, Europe and North America since 2018 (kalaganov5.com). He also writes WordPress plugins (Stream Video for Cloudflare, Simple CF7 Feedback). This skill is the method behind his own production site, which runs on it today.
Built for block themes: not for page builders (Elementor, Divi) or classic PHP themes. Deploys need SSH access; FTP-only hosting is not supported. Modules like covers, article batches, internal linking and brand book pages are described in the chapters but not included in the scaffold.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
- Free with an Agensi account
- Software
Git
Node.js 22+onarePlaywright
- Optional
Docker (local WordPress site)PHP 8.3+ and Composer (code checks)
GitHub account (CI/CD)SSH access to hosting (deploy)Telegram bot (lead notifications)
On Windows, run the shell scripts from Git Bash. The scaffold ships English + Russian demo content; change languages in project/content/site.js.
Permissions
Shell: scaffold, npm run check, WP-CLI, Docker and SSH deploy. Files: writes the theme, plugin and workflows into your project. Network: npm/Composer installs and deploys to your own hosting. Browser: optional QA crawls of your local site with Playwright. Env vars: deploy secrets and QA settings.
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.