From webflow-to-self-served-page
Convert Webflow export to self-served page with dynamic CSV content loading
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin gutitrombotto-webflow-to-self-served-pageoptional-directory-pathYou are running the Webflow to Self-Served Page conversion workflow. **Task**: Convert a Webflow landing page export (with CSV CMS data) into a self-served static page with dynamic content loading. **Target Directory**: $ARGUMENTS (if provided, otherwise current directory) ## Conversion Workflow ### Step 1: Analyze the Webflow Export 1. Scan for CSV files in the target directory 2. Identify all HTML files 3. Validate this is a Webflow export (check for .w-dyn-list, .w-dyn-bind-empty classes) ### Step 2: Set Up Directory Structure 1. Create `data/` directory for JSON files 2. Create `sc...
You are running the Webflow to Self-Served Page conversion workflow.
Task: Convert a Webflow landing page export (with CSV CMS data) into a self-served static page with dynamic content loading.
Target Directory: $ARGUMENTS (if provided, otherwise current directory)
data/ directory for JSON filesscripts/ directory for converter scriptjs/ directory if it doesn't existFor each CSV file found:
${CLAUDE_PLUGIN_ROOT}/scripts/templates/csv-to-json.pyscripts/csv-to-json.pypython3 scripts/csv-to-json.pydata/ directory.w-dyn-list.w-dyn-items.w-dyn-bind-empty${CLAUDE_PLUGIN_ROOT}/scripts/templates/cms-loader.jsjs/cms-loader.js</body> tag:
<!-- CMS Data Loader -->
<script src="js/cms-loader.js"></script>
Provide a summary at the end:
🎉 Webflow Conversion Complete!
📊 Results:
- CSV Files Processed: X
- JSON Files Generated: X
- Total Items: X
- HTML Files Updated: X
📁 Generated Files:
- data/cms-*.json
- scripts/csv-to-json.py
- js/cms-loader.js
- README.md
🚀 Next Steps:
1. Preview: http://localhost:XXXX
2. Review: Check browser console for CMS loader logs
3. Test: Verify all sections display content
4. Deploy: Upload all files to your web server
Run '/webflow-preview' to open the preview again anytime.
Run '/webflow-update' to regenerate JSON after CSV changes.
Important: Use the webflow-converter subagent for this task by explicitly invoking it for complex analysis and generation tasks.