← スキル一覧に戻る

weather
by walcon
Example structure for using opencode with GitHub copilot
⭐ 2🍴 0📅 2025年12月11日
SKILL.md
name: weather description: Fetches current or forecasted weather for a given city using the Open-Meteo API
Weather Skill
Get current weather conditions or forecasts for any city.
Usage
Run the script with a city name and optional date:
# Current weather
npx tsx .opencode/skills/weather/scripts/get-weather.ts "London"
# Forecast for a specific date
npx tsx .opencode/skills/weather/scripts/get-weather.ts "London" "2025-12-05"
Parameters
| Parameter | Required | Description |
|---|---|---|
| city | Yes | City name to get weather for |
| date | No | Date in YYYY-MM-DD format for forecast |
What it returns
Current weather (no date provided)
- City name
- Temperature (Celsius)
- Wind speed (km/h)
- Weather condition code
Forecast (with date)
- City name
- Temperature range (min - max in Celsius)
- Max wind speed (km/h)
- Weather condition code
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です