name: weather-pet-forecast description: Pet-friendly 3-day weather forecast with caring recommendations for humans and their beloved pets. Use when user asks for weather analysis, pet-friendly weather, dog walking conditions, outdoor pet activities, or weather-based pet care advice. Includes temperature trends, precipitation analysis, UV safety, ground conditions, optimal walking times, and comprehensive care guidance for both humans and pets. Works with any global location. Perfect for pet owners who want to plan outdoor activities with their furry friends.
Get a comprehensive 3-day weather forecast with warm, caring recommendations for both humans and their beloved pets. Perfect for pet owners who want to plan outdoor activities with their furry friends!
✅ USE this skill when:
Ask for location if not provided. Accept: - City names: "Beijing", "London", "New York" - City + Country: "Paris, France" - Airport codes: "PEK", "LAX", "JFK"
Use wttr.in to get forecast data:
# JSON format for parsing (recommended)
curl -s "wttr.in/{LOCATION}?format=j1"
# Human-readable 3-day forecast
curl -s "wttr.in/{LOCATION}"
Extract key data for each day: - Today (day 0): Current + today's forecast - Tomorrow (day 1): Full day forecast - Day After (day 2): Full day forecast
From JSON response, extract for each day:
Temperature:
- Max temperature (maxtempC or maxtempF)
- Min temperature (mintempC or mintempF)
- Average temperature (avgtempC or avgtempF)
Conditions:
- Weather description (weatherDesc)
- Precipitation probability (hourly[].chanceofrain)
- Humidity (humidity)
Wind:
- Wind speed (windspeedKmph or windspeedMiles)
- Wind direction (winddir16Point)
Additional:
- UV index (uvIndex)
- Visibility (visibility)
- Sunrise/Sunset times
Perform comparative analysis across the 3 days:
Temperature Trend: - Rising 📈, Falling 📉, or Stable ➡️ - Note significant changes (>5°C swing)
Precipitation Analysis: - Rain probability for each day - Identify wet days (>50% chance) - Recommend rain gear timing
Weather Patterns: - Identify improving or deteriorating conditions - Note any severe weather warnings - Highlight ideal windows for outdoor activities
Based on the analysis, provide actionable advice:
🌡️ Temperature Comfort: - Dress recommendations (layers, warm clothing, etc.) - Indoor vs outdoor activity suggestions
🌧️ Rain & Precipitation: - Umbrella necessity - Best times for outdoor activities - Indoor alternatives for rainy days
💨 Wind Conditions: - Impact on outdoor activities - Cycling, flying, or beach day suitability
☀️ UV & Sun: - Sunscreen recommendations - Best times for sun exposure - Shade-seeking advice
🏃 Activity Recommendations: - Sports & exercise suitability - Travel considerations - Event planning suggestions
Provide specialized recommendations for pet owners:
🐕 Pet Temperature Safety: - High temperature (>30°C): Avoid midday walks, choose early morning or evening - Warm weather (25-30°C): Shorter outdoor time, bring water - Cold weather (<0°C): Short-haired dogs need clothing, limit outdoor time - Cool weather (0-5°C): Senior dogs/puppies need extra warmth
⏰ Best Walking Times: - Temperature-based recommendations - UV-avoidance timing - Precipitation-safe windows
🌧️ Pet Rain Protection: - Rain gear recommendations (pet raincoats) - Post-walk care (dry paws and body) - Paw pad protection in wet conditions
🔥 Ground Safety: - Hot pavement testing (use back of hand) - Ice/salt exposure risks - Paw protection measures
☀️ UV Protection for Pets: - Pet-safe sunscreen for short-haired/light-colored pets - UV exposure timing - Shade and hydration importance
curl -s "wttr.in/Beijing?format=j1"
curl -s "wttr.in/Beijing?3"
# Today + 2 days, compact
curl -s "wttr.in/Beijing?format=v2&num_of_days=3"
# Today
curl -s "wttr.in/Beijing?0"
# Tomorrow
curl -s "wttr.in/Beijing?1"
# Day after tomorrow
curl -s "wttr.in/Beijing?2"
📍 Location: {City}
📅 3-Day Weather Forecast Analysis
【TODAY - {Date}】
🌡️ Temperature: {min}°C ~ {max}°C (feels like {feels}°C)
☁️ Conditions: {weather_desc}
🌧️ Precipitation: {chance}% chance of rain
💨 Wind: {speed} km/h {direction}
☀️ UV Index: {uv}
💧 Humidity: {humidity}%
【TOMORROW - {Date}】
🌡️ Temperature: {min}°C ~ {max}°C
☁️ Conditions: {weather_desc}
🌧️ Precipitation: {chance}% chance of rain
[Continue pattern...]
【DAY AFTER - {Date}】
[Same format...]
📊 TREND ANALYSIS
• Temperature: {trend}
• Precipitation: {analysis}
• Overall: {pattern_summary}
👥 HUMAN RECOMMENDATIONS
• Clothing: {advice}
• Activities: {suggestions}
• Umbrella: {yes/no/optional}
• Best time for outdoor: {time_window}
🐕 PET-FRIENDLY RECOMMENDATIONS
• Temperature Safety: {pet_temp_advice}
• Best Walking Times: {timing}
• Rain Protection: {rain_gear}
• Ground Conditions: {paw_safety}
• UV Protection: {sun_protection}
IMPORTANT: Output language must match the user's input language.
When calling the script, automatically detect the user's language and pass the appropriate --lang parameter:
--lang zh--lang en (or omit, as it's default)Examples: - User asks "北京天气预报" (Chinese) → output in Chinese - User asks "Weather forecast for Tokyo" (English) → output in English
For reliable results, use the provided script:
# English output (for English queries)
curl -s "wttr.in/Tokyo?format=j1" | python3 scripts/weather_analysis.py "Tokyo" --lang en
# Chinese output (for Chinese queries)
curl -s "wttr.in/Beijing?format=j1" | python3 scripts/weather_analysis.py "Beijing" --lang zh
Language Options:
- --lang en: English output
- --lang zh: Chinese output
Test script available:
# Test multiple cities
bash scripts/test_cities.sh
--lang parameter accordingly这个Skill质量不错,专门为养宠物的用户设计天气分析功能,很贴心。它能提供3天天气预报、趋势分析、宠物外出建议等多维度信息,还能切换中英文。内容丰富专业,但有点依赖外部天气服务,如果网络不好可能影响使用。适合经常遛狗、对天气敏感的用户使用。