Skip to content

abanoubkhaliil/Ak-Elementor-Studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AK Elementor Studio Banner

Portfolio License Claude Skill Elementor WordPress

Convert any design into a production-ready Elementor Template Kit β€” in minutes, not hours.


What Is This?

AK Elementor Studio is a Claude AI skill that gives Claude the expert knowledge needed to convert any design input into a fully importable Elementor Pro Template Kit ZIP β€” the same Envato-style format used by professional template marketplaces.

It follows the same structured pipeline a senior Elementor developer uses: detect input β†’ analyze layout β†’ extract styles β†’ map widgets β†’ generate responsive JSON β†’ assemble kit ZIP β†’ validate output. But instead of taking hours, it takes minutes.

What's new in v2: The skill now produces complete multi-page Template Kit ZIPs (not just individual page JSON files), includes a full Python builder for automated generation, enforces stricter JSON rules, and covers 35+ native widgets including the full Pro widget set.

Built and maintained by Abanoub Khalil, Senior WordPress & Webflow Developer with 7+ years of experience at akstudio.me.


Supported Input Types

Input What You Provide Example
πŸ“Έ Screenshot / Mockup Any PNG, JPG, WebP of a webpage or UI Competitor page, inspiration screenshot
🎨 Figma Export Figma design or component export Client's Figma file
πŸ’» HTML / CSS / JS Code pasted or uploaded as files Existing site code, a template you bought
πŸ“„ PDF Single or multi-page design document Style guides, wireframe docs
✏️ Text Description Natural language description of the page "A dark SaaS hero with 3-column features grid"
πŸ”§ Existing JSON An Elementor .json template to modify Edit or extend templates you already have

What Gets Generated

Every run produces a complete Envato-style Template Kit ZIP:

kit-name.zip
β”œβ”€β”€ kit.json                     ← Kit metadata + template list
└── templates/
    β”œβ”€β”€ global-styles.json       ← Brand colors + typography (import FIRST)
    β”œβ”€β”€ header.json              ← Sticky header (Pro)
    β”œβ”€β”€ footer.json              ← Footer template (Pro)
    β”œβ”€β”€ home.json
    β”œβ”€β”€ about.json
    β”œβ”€β”€ services.json
    β”œβ”€β”€ pricing.json
    └── contact.json

Each page template includes:

  • Navbar β†’ Hero β†’ Features β†’ Stats β†’ Testimonials β†’ Pricing β†’ CTA β†’ Footer
  • Full responsive breakpoints on every element (desktop + tablet + mobile)
  • Unique 8-character hex IDs on every element
  • Placeholder images from placehold.co
  • Global brand colors and typography from global-styles.json

How It Works

Your Input β†’ Detection β†’ Analysis β†’ Widget Mapping β†’ JSON Build β†’ Kit ZIP β†’ Import to WP

Step 1 β€” Pre-flight Interview: Claude asks 8 quick questions: kit name, pages, brand colors, fonts, Free vs Pro, CPTs, dark/light theme, and industry.

Step 2 β€” Input Analysis:

  • Images/PDFs β†’ extracts dominant colors via quantization, detects section boundaries by brightness bands
  • HTML/CSS β†’ parses all hex values, font-family declarations, structural tags
  • Text β†’ infers brand palette, section order, and copy tone from industry/niche

Step 3 β€” Widget Mapping: Every visual element is mapped to the correct native Elementor widget. Zero html widgets for visual content β€” the html widget is reserved exclusively for <script> JS injection.

Step 4 β€” JSON Assembly: Builds section containers, inner containers, and widgets with all required keys: id, elType, isInner, settings, elements. Enforces all JSON rules (no comments, no trailing commas, hex/rgba colors only).

Step 5 β€” Kit ZIP: Assembles kit.json, global-styles.json, header.json, footer.json, and one .json per page into the Envato-compatible ZIP structure.


Installation

Prerequisites

  • Claude (claude.ai or Claude Code)
  • A WordPress site with Elementor (Free or Pro)

Install the Skill

Option A β€” Clone:

git clone https://github.com/abanoubkhaliil/Ak-Elementor-Studio.git

Place the folder in your Claude skills directory (e.g. /mnt/skills/user/).

Option B β€” Manual download:

  1. Click Code β†’ Download ZIP
  2. Extract and place the folder in your Claude skills directory

Once the SKILL.md is in place, Claude automatically detects and uses it whenever you mention Elementor, WordPress, template kit, or upload a design file.


Python Builder (Optional β€” Computer Use / Claude Code)

The repo includes a production-ready Python CLI builder for automated kit generation:

Install dependencies

pip install Pillow PyMuPDF beautifulsoup4 lxml

Generate a kit from any input

# From an image
python main.py --input design.png --kit-name "SaaS Kit" --pages home,about,pricing,contact --output ./output/

# From a PDF
python main.py --input mockup.pdf --kit-name "Agency Kit" --pages home,services,portfolio,contact --output ./output/

# From HTML + CSS + JS
python main.py --input index.html --css style.css --js main.js --kit-name "Corporate Kit" --output ./output/

# From a text description
python main.py --description "Dark SaaS landing page with hero, features, and pricing" --kit-name "Dark SaaS" --output ./output/

# Elementor Free mode (no Pro widgets)
python main.py --input design.png --kit-name "My Kit" --free --output ./output/

Run tests

python tests/test_kit_builder.py
# Expected: 11 passed, 0 failed

Builder modules

builder/
  analyzer.py        ← Analyzes image/PDF/HTML/description β†’ DesignSpec
  widget_factory.py  ← Factory functions for 35+ native Elementor widgets
  json_builder.py    ← Section + page assemblers, tree validation
  kit_assembler.py   ← Assembles the Envato-compatible ZIP
main.py              ← CLI entry point

Usage Examples

Just describe what you want β€” Claude handles the rest:

"Convert this screenshot into an Elementor Template Kit ZIP"

"Build this Figma export as a full WordPress template kit with home, about, pricing, contact"

"Turn this HTML/CSS into an Elementor kit β€” dark theme, Inter font, 5 pages"

"Create a SaaS landing kit: dark hero with gradient, 3-column features, pricing table, CTA banner"

"Edit this existing template and change the hero background to #1A1A2E"

Importing to WordPress

Method A β€” Template Kit ZIP (Recommended, Pro)

Prerequisites:

  • Hello Elementor theme active
  • Elementor Pro installed and active
  • Elementor β†’ Settings β†’ Features β†’ Flexbox Container β†’ Active
  • WordPress β†’ Settings β†’ Permalinks β†’ Post Name β†’ Save

Steps:

  1. WordPress β†’ Tools β†’ Template Kit β†’ Upload Template Kit ZIP File
  2. Click "Import Global Kit Styles" FIRST (sets brand colors + fonts site-wide)
  3. Import Header, then Footer, then each page template in order
  4. Pages β†’ Edit with Elementor β†’ folder icon β†’ View Installed Kit β†’ Insert Template

Method B β€” Individual JSON Files (Free + Pro)

  1. WordPress β†’ Elementor β†’ Templates β†’ Saved Templates
  2. Click the Import icon (top right)
  3. Select a .json file from inside the ZIP β†’ Import Now
  4. Open any page in Elementor β†’ folder icon β†’ My Templates β†’ Insert

What's in This Repo

Ak-Elementor-Studio/
β”œβ”€β”€ SKILL.md                        ← Main skill file (Claude reads this)
β”œβ”€β”€ main.py                         ← Python CLI entry point
β”œβ”€β”€ builder/
β”‚   β”œβ”€β”€ analyzer.py                 ← Input analyzer (image/PDF/HTML/description)
β”‚   β”œβ”€β”€ widget_factory.py           ← 35+ widget JSON factories
β”‚   β”œβ”€β”€ json_builder.py             ← Section builders + page assembler + validator
β”‚   └── kit_assembler.py            ← ZIP kit builder
β”œβ”€β”€ templates/
β”‚   └── section_patterns/
β”‚       β”œβ”€β”€ hero.json               ← Full-screen 2-col hero pattern
β”‚       β”œβ”€β”€ navbar.json             ← Sticky Pro navbar pattern
β”‚       β”œβ”€β”€ features_grid.json      ← 3-col icon-box card grid
β”‚       └── cta_banner.json         ← Gradient CTA section
β”œβ”€β”€ tests/
β”‚   └── test_kit_builder.py         ← 11-test suite (IDs, JSON, guards, ZIP)
β”œβ”€β”€ banner.svg
β”œβ”€β”€ README.md
β”œβ”€β”€ CONTRIBUTING.md
└── LICENSE

Widget Coverage

Free Widgets (21)

heading Β· text-editor Β· button Β· image Β· icon-box Β· icon-list Β· image-box Β· testimonial Β· counter Β· progress Β· divider Β· spacer Β· accordion Β· tabs Β· social-icons Β· video Β· image-carousel Β· image-gallery Β· google-maps Β· shortcode Β· alert

Pro Widgets (15)

posts Β· portfolio Β· slides Β· price-list Β· price-table Β· flip-box Β· call-to-action Β· countdown Β· share-buttons Β· nav-menu Β· site-logo Β· site-title Β· page-title Β· post-content Β· form


Non-Negotiable Rules (Built Into the Skill)

Rule Detail
html widget = <script> only Never used for visual content
Unique 8-char hex IDs secrets.token_hex(4) β€” never duplicated
No JSON comments /* */ and // break Elementor's parser
No trailing commas Parser fails silently
Hex or rgba() colors only Never named colors (white, transparent, etc.)
"elements": [] on every node Required even on widgets
isInner rules enforced Top-level = false, nested containers = true
Responsive on everything _tablet + _mobile suffixes on fonts, padding, widths

Elementor Free vs. Pro

The skill generates Free-compatible output by default. When Pro features are used, the response clearly flags them:

⚠️ Pro features used: sticky nav, site-logo widget, form widget, header/footer templates
βœ… Free alternatives: icon-list for nav, image widget for logo, shortcode for forms

Post-Import Checklist

After importing any kit, remember to:

  • Replace all placehold.co images with real images
  • Update nav links to actual page URLs
  • Set the site logo in Elementor β†’ Site Settings β†’ Site Identity
  • Update the email in the form widget or shortcode
  • Replace Β© 2025 YourBrand in the footer
  • Assign header/footer in Elementor Pro β†’ Theme Builder

About the Author

Abanoub Khalil β€” Senior WordPress & Webflow Developer

🌐 Portfolio akstudio.me
πŸ“ Location Cairo, Egypt
πŸ’Ό Experience 7+ years WordPress & Webflow
🏒 Current InVitro Capital β€” AllCare.ai, AllRx.ai

License

MIT β€” free to use, modify, and share. See LICENSE for details.


Contributing

Issues and pull requests are welcome. If you find a widget mapping that's missing, a section pattern to add, or a JSON bug β€” please open an issue.


If this skill saves you time, a ⭐ on the repo is always appreciated.
akstudio.me Β· Built with 7+ years of Elementor expertise

About

A Claude AI skill that converts any design into production-ready WordPress Elementor templates

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors