{"skill":{"slug":"today-in-history","displayName":"today-in-history","summary":"获取历史上的今天的重要事件，数据从Wikipedia获取。当用户询问\"历史上的今天\"、\"今天发生了什么\"、某月某日的历史事件时触发。","description":"---\nname: today-in-history\ndescription: 获取历史上的今天的重要事件，数据从Wikipedia获取。当用户询问\"历史上的今天\"、\"今天发生了什么\"、某月某日的历史事件时触发。\n---\n\n# Today in History\n\n获取当前日期的历史事件，数据从Wikipedia获取。\n\n## 使用方式\n\n用户询问历史上的今天或特定日期的历史事件时使用此skill。\n\n## 数据获取\n\n### Wikipedia API\n\n使用Wikipedia API获取历史上的今天：\n\n```bash\ncurl -s \"https://en.wikipedia.org/api/rest_v1/feed/onthisday/events/MM/DD\"\n```\n\n例如获取2月19日：\n```bash\ncurl -s \"https://en.wikipedia.org/api/rest_v1/feed/onthisday/events/02/19\"\n```\n\n返回JSON格式，包含该日期的所有历史事件，按年份排序。\n\n### 中文维基（备选）\n```bash\ncurl -s \"https://zh.wikipedia.org/api/rest_v1/feed/onthisday/events/02/19\"\n```\n\n## 筛选重要事件\n\n筛选标准：\n1. 改变历史进程的重大事件（战争、发明、领袖逝世等）\n2. 知名度高、影响深远\n3. 有中国相关事件则一定加入\n\n优先选择：\n- 中国相关事件\n- 重大国际事件\n- 知名人物\n\n## 输出格式\n\n```\n---\n\n📜 历史上的今天\nYYYY年2月19日 事件描述1\nYYYY年2月19日 事件描述2\nYYYY年2月19日 事件描述3\n\n---\n```\n\n示例：\n\n```\n---\n\n📜 历史上的今天\n197年2月19日 卢格杜努姆战役：塞普提米乌斯·塞维鲁击败克劳狄乌斯·阿尔比努斯，奠定罗马帝国统治\n1807年2月19日 美国前副总统阿龙·伯尔因叛国罪被捕\n1945年2月19日 硫磺岛战役开始\n\n---\n```\n\n注意：\n- 每年的事件都带当前日期\n- 事件描述简洁，一句话概括\n- 中文描述\n- 分割线“---”用“======”代替\n- 只输出要求输出的内容，前后不要输出多余的文本、说明、报错","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":288,"installsAllTime":11,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1771484900988,"updatedAt":1778991613263},"latestVersion":{"version":"1.0.0","createdAt":1771484900988,"changelog":"Initial release of \"today-in-history\" skill.\n\n- Allows users to retrieve important historical events for today or any specific date, triggered by relevant queries in Chinese.\n- Fetches event data from Wikipedia (primary: English, alternative: Chinese).\n- Prioritizes Chinese and major international events, significant inventions, and notable figures.\n- Filters and summarizes the most impactful events for each date.\n- Outputs concise event lists in a clear, standardized format with date and description for each entry.","license":null},"metadata":null,"owner":{"handle":"enchograph","userId":"s173b7xdm84y1e1v371wmsydvd885751","displayName":"陈广隰 / Chen Guangxi","image":"https://avatars.githubusercontent.com/u/67186192?v=4"},"moderation":null}