Files
opencode-skill/skills/thai-frontend-dev/MIGRATION_WORKFLOW.md
Kunthawat Greethong 7edf5bc4d0 feat: Import 35+ skills, merge duplicates, add openclaw installer
Major updates:
- Added 35+ new skills from awesome-opencode-skills and antigravity repos
- Merged SEO skills into seo-master
- Merged architecture skills into architecture
- Merged security skills into security-auditor and security-coder
- Merged testing skills into testing-master and testing-patterns
- Merged pentesting skills into pentesting
- Renamed website-creator to thai-frontend-dev
- Replaced skill-creator with github version
- Removed Chutes references (use MiniMax API instead)
- Added install-openclaw-skills.sh for cross-platform installation
- Updated .env.example with MiniMax API credentials
2026-03-26 11:37:39 +07:00

66 lines
1.4 KiB
Markdown

# 🔄 New Smart Migration Workflow
**Date:** 2026-03-10
**Status:** ✅ Safe Migration - No More Broken Websites!
---
## 🎯 **Problem with Old Workflow**
The previous migration approach had these issues:
- Too aggressive - reorganized everything
- CSS broke frequently
- Deployments failed often
- Lost inline styles
- Changed URLs accidentally
- No planning phase
---
## ✅ **New Smart Workflow**
### **Phase 1: DETECT**
Detects tech stack and versions automatically.
### **Phase 2: PLAN**
Creates detailed migration plan with risk assessment.
### **Phase 3: PRESERVE**
Preserves ALL content exactly - inline CSS, text, routes.
### **Phase 4: CONVERT**
Converts CSS frameworks carefully (Tailwind v3 to v4).
### **Phase 5: REBUILD**
Fresh Astro install with preserved content.
### **Phase 6: ENHANCE**
Adds new features (cookie consent, PDPA, etc.).
### **Phase 7: TEST**
Comprehensive testing before deployment.
---
## 🚀 **Quick Start**
```bash
# Step 1: Create migration plan
python3 skills/website-creator/scripts/migrate_existing_website.py \
--input "./existing-website" \
--output "./migrated-website" \
--plan-only
# Step 2: Review the plan
cat migration_plan_*.json
# Step 3: Proceed with migration (after review)
python3 skills/website-creator/scripts/migrate_existing_website.py \
--input "./existing-website" \
--output "./migrated-website"
```
---
**Safe, reliable migrations - no more broken websites!** 🎉