claude_code_public_skills / cmo-weather-query
CLAUDE.md9 starsChanged 4 months agoMITView on GitHub
中央气象台天气信息查询工具,通过官方数据接口获取天气信息。 省/直辖市天气 - 北京: beijing.xml - 上海: shanghai.xml - 格式: http://flash.weather.com.cn/wmaps/xml/{city}.xml
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- db_client/CLAUDE.mdCLAUDE.md
- deepseek-search/CLAUDE.mdCLAUDE.md
- documents_ripgrep/CLAUDE.mdCLAUDE.md
- excel-alasql/CLAUDE.mdCLAUDE.md
- game_mahjong_agent/CLAUDE.mdCLAUDE.md
- gaode_map/CLAUDE.mdCLAUDE.md
- magpie-image-gen/CLAUDE.mdCLAUDE.md
- ms_office_x_editer/CLAUDE.mdCLAUDE.md
- ssh2-node/CLAUDE.mdCLAUDE.md
- use_http_mcp/CLAUDE.mdCLAUDE.md
- where-am-i/CLAUDE.mdCLAUDE.md
- 88chaSkill
- agent-browserSkill
- baidu-search-nodejsSkill
- brz-repair-manual-querySkill
- cmo-weather-querySkill
- db-clientSkill
- deepseek-searchSkill
- dianping-searchSkill
- doc-readerSkill
- documents-ripgrepSkill
- drawio-nodejsSkill
- excel-alasqlSkill
- figma-code-connectSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-generate-designSkill
- figma-generate-librarySkill
- figma-implement-designSkill
- figma-useSkill
- file-code-boxSkill
- financialSkill
- game-mahjong-agentSkill
- gaode-mapSkill
- gitea-apiSkill
- happy-agent-easySkill
- hindsightSkill
- jina-readerSkill
- kavita-liteSkill
- magpie-image-genSkill
- magpie-toolsSkill
- makepad-evolutionSkill
- markitdown-pdfSkill
- memos-nodeSkill
- mind-map-skillSkill
- ms-office-x-editerSkill
- nexus3-skillSkill
- obsidian-basesSkill
- obsidian-cliSkill
- json-canvasSkill
- ocr-toolSkill
- opencode-go-usageSkill
- sendmailSkill
- siyuan-apiSkill
- smb-clientSkill
- ssh2-nodeSkill
- use-http-mcpSkill
- website-security-scanSkill
- where-am-iSkill
- The first 60 shown.
The file
Files
CMO Weather Query - AI 开发指引
项目概述
中央气象台天气信息查询工具,通过官方数据接口获取天气信息。
技术架构
数据来源
- 中央气象台官方 XML 接口
- 全国天气数据:http://flash.weather.com.cn/wmaps/xml/china.xml
核心功能模块
- 数据获取模块
- XML 数据解析
- 城市/省份映射
- 接口请求处理
- 命令行接口
- 城市天气查询
- 天气预报显示
- 预警信息查询
- 数据展示
- 格式化输出
- 表格展示
- 颜色高亮
开发规范
文件结构
run.js- 源代码入口skill.js- 打包后的独立文件build.js- 构建脚本package.json- 依赖配置
构建流程
- 使用 esbuild 打包所有依赖
- 自动生成时间戳版本号(YYMMDD.HHmmSS)
- 更新 SKILL.md 中的版本号
代码规范
- 使用 Node.js 原生 fetch API(如果需要 HTTP 请求)
- 错误处理要友好
- 输出格式要清晰易读
接口说明
中央气象台 XML 接口
全国天气根节点
http://flash.weather.com.cn/wmaps/xml/china.xml省/直辖市天气
- 北京: beijing.xml
- 上海: shanghai.xml
- 格式: http://flash.weather.com.cn/wmaps/xml/{city}.xml
XML 数据结构
<china dn="中国" top="北京">
<city dn="北京" pyname="beijing" ...>
<weather temperature="25" ... />
</city>
</china>开发任务
待实现功能
- 解析 XML 数据
- 城市搜索功能
- 实时天气显示
- 天气预报展示
- 预警信息查询
- 错误处理优化
- 输出格式美化
扩展功能
- 台风路径查询
- 空气质量指数
- 历史天气查询
- 多城市批量查询
测试
# 测试基本功能
node skill.js 北京
node skill.js 上海 --forecast
node skill.js --alertDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

