npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin gutitrombotto-webflow-to-self-served-pageoptional-csv-filenameRegenerate JSON files after CSV content has been updated. **Target CSV**: $ARGUMENTS (if provided, otherwise process all CSV files) ## Update Workflow ### 1. Verify CSV Files Check that CSV files exist: - If specific file provided: verify it exists - If no file specified: find all `.csv` files ### 2. Verify Converter Exists Check that `scripts/csv-to-json.py` exists. If not found, suggest running `/webflow-convert` first for initial setup. ### 3. Run Conversion Execute the CSV to JSON converter: ### 4. Report Results ### 5. Optional: Auto-Preview Ask user if they want to start/rest...
Regenerate JSON files after CSV content has been updated.
Target CSV: $ARGUMENTS (if provided, otherwise process all CSV files)
Check that CSV files exist:
.csv filesCheck that scripts/csv-to-json.py exists.
If not found, suggest running /webflow-convert first for initial setup.
Execute the CSV to JSON converter:
python3 scripts/csv-to-json.py
โป๏ธ CSV Update Complete
๐ Results:
- CSV files processed: X
- JSON files updated: X
- Total items: X
๐ Updated Files:
- data/cms-collection1.json (X items)
- data/cms-collection2.json (X items)
...
โ
Changes Applied:
Your static page will now display the updated content.
๐ Preview Changes:
Run '/webflow-preview' to see the updates in your browser.
๐ก Tip: Hard refresh (Ctrl+F5) to clear browser cache.
Ask user if they want to start/restart the preview server to see changes immediately.
/webflow-update testimonials.csv
Only regenerates cms-testimonials.json
/webflow-update
Regenerates all JSON files
If a new CSV file is detected that doesn't have a corresponding JSON:
๐ New Collection Detected: new-collection.csv
This CSV wasn't in the original conversion.
Would you like to:
1. Run full conversion (/webflow-convert) to integrate it
2. Just generate JSON for now
3. Skip this file
Recommendation: Run /webflow-convert to ensure CMS loader supports this collection.
Performance Note: This is much faster than /webflow-convert since it only regenerates JSON, not the entire conversion.