一键导入
check-spots
Validate spots.json for common issues including missing fields, invalid URLs, duplicate entries, and data consistency problems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate spots.json for common issues including missing fields, invalid URLs, duplicate entries, and data consistency problems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Answer questions about kite spots, weather forecasts, and live wind conditions from varun.surf by fetching its public LLM-friendly Markdown endpoints (llms.txt). Use when the user asks about a specific kite spot, current wind conditions, hourly/daily forecasts, or wants to compare spots/countries covered by varun.surf.
Stage and commit current changes with a well-crafted commit message following project conventions
Explain data flows, features, and code paths in the varun.surf application with visual diagrams and step-by-step breakdowns
Verify architecture health including layer violations, circular dependencies, package structure, and design pattern compliance
Quick security audit checking for hardcoded secrets, SSRF vectors, injection points, dependency issues, and missing security headers
Find concurrency issues including race conditions, deadlocks, unsafe shared state, and improper synchronization
| name | check-spots |
| description | Validate spots.json for common issues including missing fields, invalid URLs, duplicate entries, and data consistency problems |
Validate the src/main/resources/spots.json file for common issues.
Read the spots.json file and perform the following validations. Report all issues found, grouped by category.
For each spot, verify these fields exist and are non-empty strings:
namecountrylocationUrlEach spot must have either:
windguruUrl with valid windguru.cz URL (format: https://www.windguru.cz/<station_id>)windguruUrl as empty string and windguruFallbackUrl as valid windguru.cz URLThese fields must be either empty strings or valid URLs:
windfinderUrl - should match https://www.windfinder.com/*icmUrl - should match https://www.meteo.pl/*webcamUrl - any valid URLlocationUrl - should be a Google Maps URL (goo.gl, maps.app.goo.gl, or google.com/maps)Each spot must have spotInfo object with:
type (non-empty string)bestWind (string with valid cardinal directions: N, NE, E, SE, S, SW, W, NW)waterTemp (format: X-Y°C or X°C)experience (non-empty string)launch (non-empty string)hazards (string, can be empty)season (non-empty string)description (non-empty string)llmComment (optional)Each spot must have spotInfoPL object with same fields as spotInfo (translations).
Check for:
Report any country names that appear only once (potential typos).
Validate bestWind contains only valid directions: N, NE, E, SE, S, SW, W, NW
Report any invalid direction values.
Validate waterTemp matches pattern like:
10-18°C (range)15°C (single value)
Report any malformed temperature values.Report findings in this format:
## Spots.json Validation Report
### Summary
- Total spots: X
- Issues found: Y
- Spots with issues: Z
### Critical Issues (must fix)
- [Spot Name] Missing required field: fieldName
- [Spot Name] Invalid Windguru URL: url
### Warnings (should fix)
- [Spot Name] Empty optional field: fieldName
- Potential duplicate country: "Countri" (appears 1 time, did you mean "Country"?)
### Info
- Countries found: A, B, C
- Spots per country: A (X), B (Y), C (Z)
src/main/resources/spots.json