Trip Website Generator
by @dustink66
Generates iOS26 liquid glass style multi-page travel websites from travel plans. Invoke when user wants to create a travel website, trip planner page, or pro...
clawhub install trip-website-generator📖 About This Skill
name: "trip-website-generator" description: "Generates iOS26 liquid glass style multi-page travel websites from travel plans. Invoke when user wants to create a travel website, trip planner page, or provides detailed travel itinerary."
Trip Website Generator
This skill generates a beautiful iOS26 liquid glass style multi-page travel website from a detailed travel plan.
When to Invoke
Invoke this skill when:
Templates
This skill includes template files in the templates/ directory:
| File | Description |
|------|-------------|
| templates/styles.css | Complete CSS design system (copy directly) |
| templates/app.js | Shared JavaScript functionality (copy directly) |
| templates/index.html | Itinerary page template |
| templates/prepare.html | Preparation checklist template |
| templates/notes.html | Notes page template |
| templates/budget.html | Budget page template |
When generating a new travel website:
1. Create a dedicated output directory named by date and destination (e.g., guangzhou-shenzhen-20260429/, xian-20260715/, beijing-20260801/)
2. Copy templates/styles.css and templates/app.js directly to the output directory - DO NOT modify these files in any way, copy them exactly as-is
3. Generate HTML files by replacing template variables with actual content
4. All HTML files should reference these two files
IMPORTANT:
Template Variables
Templates use {{VARIABLE_NAME}} syntax for placeholders. Repeatable sections are marked with HTML comments like and .
Common Variables
| Variable | Description | Example |
|----------|-------------|---------|
| {{TRIP_TITLE}} | Trip title | 广州深圳亲子游 |
| {{TRAVELERS}} | Number of travelers | 一大一小 |
| {{DURATION}} | Trip duration | 6天5夜 |
index.html (Itinerary Page)
Header Section:
{{TRIP_TITLE}} - Trip title{{TRAVELERS}} - Number of travelers{{START_DATE}} - Start date (e.g., 2026.04.29){{END_DATE}} - End date (e.g., 05.04){{DURATION}} - Duration (e.g., 6天5夜){{TAG_1}}, {{TAG_2}}, {{TAG_3}} - Feature tagsDay Section (between and ):
{{ANIMATION_DELAY}} - Animation delay (e.g., 0s, 0.05s, 0.1s...){{GRADIENT}} - Gradient color class (purple, pink, orange, blue, green, red){{DAY_NUMBER}} - Day number (D1, D2, D3...){{DAY_TITLE}} - Day title{{DATE}} - Date (e.g., 4月29日 周二){{SUBTITLE}} - Subtitle (e.g., D2431次){{HOTEL}} - Hotel nameTimeline Item (between and ):
{{HIGHLIGHT_CLASS}} - Add " highlight" for highlighted items, empty string otherwise{{TIME}} - Time (e.g., 08:16){{ACTIVITY}} - Activity name{{DETAIL}} - Detail descriptionGuide Section (between and ):
{{GUIDE_TITLE}} - Guide section title{{GUIDE_ITEM}} - Guide item content (repeat between and ){{TIP}} - Tip text (between and )prepare.html (Preparation Page)
Category Section (between and ):
{{ANIMATION_DELAY}} - Animation delay{{CATEGORY_NAME}} - Category name (e.g., 证件, 衣物, 防晒驱蚊)Checklist Item (between and ):
{{ITEM_ID}} - Unique item ID for localStorage{{ITEM_TEXT}} - Item textProgress Card:
{{TOTAL_ITEMS}} - Total number of checklist itemsnotes.html (Notes Page)
Note Category (between and ):
{{ANIMATION_DELAY}} - Animation delay{{ICON_COLOR}} - Icon color class (red, orange, blue, green){{{ICON_SVG}}} - SVG icon (use triple braces for HTML){{CATEGORY_TITLE}} - Category title{{CATEGORY_DESC}} - Category descriptionNote Item (between and ):
{{ITEM_ICON}} - Emoji icon{{ITEM_TITLE}} - Item title{{ITEM_CONTENT}} - Item contentbudget.html (Budget Page)
Total Card:
{{TOTAL_BUDGET}} - Total budget (e.g., ¥7,250 - 8,800)Budget Section (between and ):
{{ANIMATION_DELAY}} - Animation delay{{SECTION_ICON}} - Emoji icon{{SECTION_TITLE}} - Section titleBudget Item (between and ):
{{ITEM_NAME}} - Item name{{ITEM_PRICE}} - Price{{ITEM_NOTE}} - Note (between and ){{ITEM_INCLUDED}} - Included text (between and )Tip Card:
{{TIP}} - Tip textGradients for Day Numbers
| Day | Gradient Class | Colors |
|-----|----------------|--------|
| D1 | gradient-purple | #667eea → #764ba2 |
| D2 | gradient-pink | #f093fb → #f5576c |
| D3 | gradient-orange | #fa709a → #fee140 |
| D4 | gradient-blue | #4facfe → #00f2fe |
| D5 | gradient-green | #43e97b → #38f9d7 |
| D6 | gradient-red | #f5576c → #f093fb |
SVG Icons for Notes Page
Important Notes
1. Always use Chinese for content unless user specifies otherwise 2. Include practical tips in guide sections 3. Make sure all internal links work correctly 4. Ensure tabbar highlights the current page 5. Test checklist functionality with localStorage 6. Verify responsive design on mobile viewports 7. Include dark mode support via prefers-color-scheme 8. Animation delays should increment by 0.05s for each card