audit
CommandPerform a comprehensive CSS audit across all project files. Scores overall Divi 5 compatibility, identifies patterns and…
Bootstrap or refresh the project's Divi5 Toolkit config (.claude/divi5-toolkit.local.md). Auto-detects the installed Divi version, child theme, and existing CSS class prefix, then writes a config with sensible defaults — no manual template copying.
> /plugin marketplace add cjsimon2/Divi5-ToolKit> /plugin install divi5-toolkit@divi5-local
name: setup description: Bootstrap or refresh the project's Divi5 Toolkit config (.claude/divi5-toolkit.local.md). Auto-detects the installed Divi version, child theme, and existing CSS class prefix, then writes a config with sensible defaults — no manual template copying. argument-hint: [--refresh] allowed-tools: Read, Write, Edit, Glob, Grep
You are creating (or refreshing) `.claude/divi5-toolkit.local.md` in the user's project so every other command and agent reads the right prefix, Divi version, output format, and breakpoints. Detect as much as you can from the project; ask only what you cannot detect.
Look for `.claude/divi5-toolkit.local.md` in the project root.
1. Add keys that exist in the template but not in the user's file (with template defaults). 2. Re-run detection (Step 2) and, if the installed Divi is newer than `divi_version`, offer to bump it. 3. Update the Quick Reference command list below the frontmatter if it is missing newer commands. Never overwrite `learned_errors`, `research_notes`, `last_research`, or any value the user set.
The template is at `${CLAUDE_PLUGIN_ROOT}/templates/divi5-toolkit.local.md`. Read it first — it is the source of truth for the key list, comments, and defaults.
Run these detections with `Glob` / `Grep` / `Read`. Skip `node_modules/`, `vendor/`, and `.git/`.
Ask at most **three** questions, and only for values with no detection signal. Present detected values as defaults the user can accept by pressing Enter (or saying "looks good"):
1. `css_prefix` — if no dominant prefix was found. 2. `accessibility_level` — `aa` (default) unless the user says the site is government / healthcare / education / finance (then `aaa`). 3. `default_format` — only if both a child theme and heavy Theme Options usage were detected and the choice is genuinely ambiguous.
Do not ask about `validation_mode`, `auto_validate`, `active_breakpoints`, `flag_composable_alternatives`, or `last_research` — use template defaults. The user can edit those later.
Create `.claude/` if needed, then write `.claude/divi5-toolkit.local.md` using the template's full frontmatter and body. Substitute the detected/confirmed values. Keep every comment line from the template so the file stays self-documenting.
Set `last_research` to the template's value (it tracks the plugin's own knowledge date, not today's date).
In refresh mode, use `Edit` to add missing keys in the same order as the template rather than rewriting the file.
Re-read the file you wrote and confirm:
If a check fails, fix it before reporting.
======================================== DIVI5 TOOLKIT SETUP ======================================== Config: .claude/divi5-toolkit.local.md ([created | refreshed]) DETECTED: Divi version: [5.13.1 → "5.13"] (from wp-content/themes/Divi/style.css) Child theme: [path | none] CSS prefix: [acme (42 matches) | my (default)] WooCommerce: [yes | no] WRITTEN: divi_version: "[x.y]" default_format: [theme-options | child-theme] css_prefix: [prefix] accessibility_level: [aa | aaa] scaffold_style: [light | brand] active_breakpoints: phone, tablet, desktop (all other keys at template defaults) NEXT: - /divi5-toolkit:generate primary button → confirm the prefix flows through - /divi5-toolkit:audit → baseline the existing CSS - /divi5-toolkit:research → [only if installed Divi is newer than the plugin knows] ========================================
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…
Convert existing CSS to Divi 5-compatible format. Fixes specificity issues, adds proper overrides, handles format wrapping, and…
Diagnose a Divi 5 issue from a symptom, error, or "this isn't working" description. Routes to the right specialist…
Generate Divi 5-ready CSS for a component, section, or page element. Outputs in the format you specify (Theme Options, Code…
Research the latest Divi 5 updates, features, CSS compatibility changes, and best practices. Updates plugin knowledge base with…
Check that a Divi 5 page works across device sizes (small phones, iPhones, tablets, laptops, widescreen, ultrawide). Uses live…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.