audit
Perform a comprehensive CSS audit across all project files. Scores overall Divi 5 compatibility, identifies patterns and anti-patterns, and produces an…
Generate complete Divi 5 page section templates (hero, pricing, testimonials, FAQ, CTA, etc.) with best-practice CSS, responsive design, and accessibility baked in.
> /plugin marketplace add cjsimon2/Divi5-ToolKit > /plugin install divi5-toolkit@divi5-local
How it fires
How this command gets triggered: by you, by Claude, or both.
/scaffoldContext preview
What this command does when you run it.
Generate complete Divi 5 page section templates (hero, pricing, testimonials, FAQ, CTA, etc.) with best-practice CSS, responsive design, and accessibility baked in.
name: scaffold description: Generate complete Divi 5 page section templates (hero, pricing, testimonials, FAQ, CTA, etc.) with best-practice CSS, responsive design, and accessibility baked in. argument-hint: <section-type> allowed-tools: Read, Write, Glob, Grep, WebSearch, WebFetch
You are generating complete, production-ready Divi 5 page section templates. Each scaffold includes CSS, class naming, responsive behavior, accessibility attributes, and step-by-step builder instructions.
The built-in scaffolds in this command cover the common cases. Use `WebFetch` or `WebSearch` only when:
Prefer official sources: `help.elegantthemes.com`, `elegantthemes.com/blog`, `victorduse.com/divi-5-changelog`. Do not research for general CSS knowledge — only Divi-specific facts.
If the user hasn't specified, present this menu:
| # | Section | Description | |---|---------|-------------| | 1 | **Hero** | Full-width hero with heading, subheading, CTA buttons, optional background | | 2 | **Feature Grid** | 3- or 4-column feature/blurb cards with icons | | 3 | **Pricing Table** | 2-4 tier pricing comparison | | 4 | **Testimonials** | Carousel or grid of customer quotes | | 5 | **FAQ Accordion** | Expandable question/answer toggles | | 6 | **CTA Banner** | Call-to-action strip with heading + button | | 7 | **Team Grid** | Team member cards with photos and roles | | 8 | **Stats Counter** | Animated number counters with labels | | 9 | **Logo Bar** | Client/partner logo carousel or grid | | 10 | **Contact Section** | Contact form with info sidebar | | 11 | **Footer** | Multi-column footer with links, social, copyright | | 12 | **WooCommerce Product Grid** | Loop Builder product layout with CSS Grid | | 13 | **Off-Canvas Menu** | Canvas-based slide-out navigation | | 14 | **Popup Modal** | Canvas Portal popup with overlay |
Ask about: 1. **Color scheme** — dark, light, or brand colors? *(Defaults to the project's `scaffold_style` config if set — see Step 2.)* 2. **Output format** — Theme Options, Code Module, Child Theme, or Free-Form CSS? *(Defaults to `default_format` if set.)* 3. **Any customization** — specific fonts, spacing, content?
Read `.claude/divi5-toolkit.local.md` if it exists. Apply these settings (use defaults if missing):
css_prefix: my # custom class prefix (defaults to "my") default_format: theme-options # output format default scaffold_style: light # "light" | "dark" | "brand" — color scheme default active_breakpoints: # which breakpoints to target - phone - tablet - desktop
**Behavior:**
Also check for existing design tokens (CSS variables) in the project and reuse them where possible.
Each scaffold MUST include all of the following:
/* ==========================================================================
[Section Name] — Scaffold
Format: [output format]
Generated: [date]
SETUP:
1. [Where to paste CSS]
2. [How to add classes in builder]
========================================================================== */
/* Design tokens (merge into existing :root if present) */
:root {
/* Section-specific variables */
}
/* Section styles */Document every custom class and where to apply it:
CLASS MAP:
┌─────────────────────┬──────────────┬─────────────────────┐
│ Class │ Apply To │ Via │
├─────────────────────┼──────────────┼─────────────────────┤
│ {prefix}-hero │ Section │ Advanced > Attributes│
│ {prefix}-hero__title│ Text Module │ Advanced > Attributes│
└─────────────────────┴──────────────┴─────────────────────┘Every scaffold must address:
Step-by-step instructions for recreating in the Visual Builder:
BUILDER SETUP:
1. Add a [Section type] section
2. Set Element Type to <section> via Advanced > HTML > Element Type
3. Add class "{prefix}-[name]" via Advanced > Attributes
4. Add [Row configuration]
5. Add [Modules with specific settings]
6. Configure responsive visibility for each breakpointFor sections using Canvas, Interactions, or dynamic content:
Before presenting, verify:
The first Claude Code plugin for Divi 5 development. Validates CSS compatibility, generates Divi-ready code, scaffolds page sections, audits project health, checks accessibility, audits Core Web Vitals performance, diagnoses symptoms, learns from errors, and
Perform a comprehensive CSS audit across all project files. Scores overall Divi 5 compatibility, identifies patterns and anti-patterns, and produces an…
Convert existing CSS to Divi 5-compatible format. Fixes specificity issues, adds proper overrides, handles format wrapping, and supports Divi 4 to Divi 5…
Diagnose a Divi 5 issue from a symptom, error, or "this isn't working" description. Routes to the right specialist (error-learner, validator, performance…
Generate Divi 5-ready CSS for a component, section, or page element. Outputs in the format you specify (Theme Options, Code Module, Child Theme, or Free-Form…
Research the latest Divi 5 updates, features, CSS compatibility changes, and best practices. Updates plugin knowledge base with new findings.
Check that a Divi 5 page works across device sizes (small phones, iPhones, tablets, laptops, widescreen, ultrawide). Uses live viewport testing via a browser…