By wpsoul
Convert HTML/CSS/JS designs or files to paste-ready WordPress Gutenberg blocks using Greenshift/GreenLight plugin, including charts, tables, and dynamic content tied to WP query loops. Reverse process to export blocks back to vanilla HTML/CSS/JS code.
npx claudepluginhub wpsoul/greenlight-vibeConvert HTML to WordPress Gutenberg blocks using the Greenshift/GreenLight system. Build designs, convert any format to blocks, add charts, tables, and dynamic content.
Inside Claude Code, run:
/plugin install greenlight-vibe@claude-plugins-official
Add the repo as a marketplace source, then install:
/plugin marketplace add wpsoul/greenlight-vibe
/plugin install greenlight-vibe@wpsoul-greenlight-vibe
Add a local directory as a marketplace source:
/plugin marketplace add ./greenlight-vibe
Copy skills/greenlight-vibe/ to .claude/skills/ in your project:
cp -r skills/greenlight-vibe .claude/skills/
| Command | Description |
|---|---|
/greenlight-vibe:convert <file.html> | Convert an HTML file to Greenshift blocks |
/greenlight-vibe:deconvert <file.txt> | Convert Greenshift blocks back to HTML |
The greenlight-vibe skill activates automatically when you use keywords like:
wordpress, gutenberg, greenshift, greenlight, convert to blocks, chart
scripts/convert.js transforms HTML into block code (parses CSS into local classes with styleAttributes, extracts JS, maps all HTML attributes)scripts/deconvert.js turns Greenshift block code back into HTML/CSS/JS for larger editsgreenlight-vibe/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── commands/
│ ├── convert.md # /greenlight-vibe:convert
│ └── deconvert.md # /greenlight-vibe:deconvert
├── skills/
│ └── greenlight-vibe/
│ ├── SKILL.md # Main skill (auto-invoked)
│ ├── scripts/
│ │ ├── convert.js # HTML-to-blocks converter (zero-dependency)
│ │ └── deconvert.js # Blocks-to-HTML converter (zero-dependency)
│ └── instructions/
│ ├── core-structure.md # Block format, JSON parameters
│ ├── attributes.md # HTML attributes, links, images, icons
│ ├── variables.md # CSS variables (fonts, spacing, shadows)
│ ├── scripts.md # Custom JavaScript
│ ├── charts.md # ApexCharts integration
│ ├── dynamic-content.md # Dynamic placeholders
│ └── dynamic-loops.md # Query loop syntax
└── README.md
The scripts/convert.js is a standalone, zero-dependency Node.js script that converts full HTML pages or snippets into Greenshift block code:
node scripts/convert.js input.html # stdout
node scripts/convert.js input.html -o output.txt # file
cat input.html | node scripts/convert.js # stdin
The scripts/deconvert.js reverses the process and converts Greenshift block code back into HTML/CSS/JS:
node scripts/deconvert.js input.txt # stdout
node scripts/deconvert.js input.txt -o output.html # file
cat input.txt | node scripts/deconvert.js # stdin
Features:
dynamicGClasses with styleAttributes, hover/focus states, sub-selectors, media queries, keyframescustomJs / customJsEnabledWPsoul - @mr_igor_sanz
MIT
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.