#!/bin/bash # Script to fetch remaining Vuer UIKit documentation pages # This script uses curl to fetch pages and saves them as markdown files BASE_URL="https://uikit.vuer.ai" DOCS_DIR="/Users/ge/fortyfive/awesome-skills/skills/vuer-uikit/docs" # Function to fetch and save a page fetch_page() { local url="$1" local output_file="$2" local description="$3" echo "Fetching: $description" echo " URL: $url" echo " Output: $output_file" # Create directory if it doesn't exist mkdir -p "$(dirname "$output_file")" # Fetch the page (you'll need to use WebFetch via Claude for actual content) echo " Status: Ready to fetch" echo "" } echo "================================" echo "Vuer UIKit Documentation Fetcher" echo "================================" echo "" # Remaining Components (35 total) echo "COMPONENTS TO FETCH (35):" echo "------------------------" components=( "card" "checkbox" "collapsible" "cursor-display" "drag-selectable" "drawer" "dropdown" "layout" "modal" "navbar" "navigation" "pagination" "popover" "preview" "progress" "radio-group" "select" "sheet" "sidebar" "simple-tree-view" "slider" "spinner" "switch" "sync-scroll" "table" "tabs" "textarea" "toast" "toggle" "toggle-buttons" "toggle-group" "tooltip" "tree-view" "version-badge" "waterfall" ) for comp in "${components[@]}"; do url="${BASE_URL}/components/${comp}/" output="${DOCS_DIR}/components/${comp}.md" fetch_page "$url" "$output" "Component: $comp" done echo "================================" echo "Summary:" echo " Total components to fetch: ${#components[@]}" echo "================================" echo "" echo "Note: This script lists the pages to fetch." echo "Use Claude's WebFetch tool to actually retrieve the content." echo "" echo "Example Claude command for each:" echo " WebFetch URL: ${BASE_URL}/components/card/" echo " Prompt: Extract the main documentation content about the Card component..." echo ""