Skip to content
cccskills
FreePublished on GitHub

travel-story

从照片时间线、地点、票据与代表照片生成结构化旅行日志和个性化 HTML 页面。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

旅行日志

  1. 先用 get_travel_timeline 确认日期、地点段和票据;不确定范围时向用户确认。
  2. 用 select_representative_photos 选 6–12 张代表照片,再用 get_photo_context 获取证据。
  3. 标题、摘要、章节和图注必须对应真实照片/票据信息,不臆造同行人或事件。
  4. 调用 create_artifact_draft 保存结构化草稿。内容结构应包含 summary、sections;每个 section 包含 heading、body、photo_ids。
  5. 使用工具返回的 artifact id 调用 save_artifact_html_page,生成完整 HTML 文档。若用户要求为已有作品生成或重新设计页面,先调用 get_artifact_context。遵循用户选择的预设或自定义风格;使用响应式布局,兼顾手机与桌面。主要正文、章节和照片必须直接预渲染在 DOM 中,不得依赖 JavaScript 生成;JavaScript 只做渐进增强。
  6. HTML 中的照片必须使用 /api/medias/{user_id}/{photo_id}/thumbnail?size=medium 真实地址。允许动态数据时只使用 TrailSnap.request('/api/...'),可用路径包括 /api/stats/timeline?years=2026、/api/stats/dashboard、/api/albums、/api/photos;不得嵌入登录令牌、密码、外部追踪或占位图片。
  7. 默认不开放 Server API;只有用户明确开启时才把 server_api_access 设为 true。告知用户结构化内容和 HTML 页面都可继续编辑,并附作品卡片。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

对照片库或指定相册进行体检,并把结构、时间、地点、AI 元数据与安全清理问题转成可选择、可确认、尽量可撤销的计划。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

安全地把照片整理成正式相册,通过预览、用户确认、执行和撤销完成写操作。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

根据模糊的时间、地点、同行人、画面和文字线索找回可能的照片事件,并在用户确认后生成可追溯的回忆故事。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

为朋友圈九宫格选择质量高、重复少、内容与时空分布丰富的照片。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

按年份和事件整理指定人物出现过的照片,展示共同经历、成长变化、地点与同行人,并可生成可追溯的人物故事。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

发布并验收 TrailSnap 新版本:汇总提交、同步全项目版本号、更新官网日志与客户端更新清单、执行发布前测试、创建 GitHub Release、监控标签 CI、核验 Release 附件,并生成小红书和公众号文案。Use when the user asks to 发布新版本、发版、创建或检查 GitHub Release、总结版本变更、监控发布 CI、检查发布产物,或撰写版本更新帖子。

The English summary is being prepared. Showing the original description.

LC044/TrailSnap802Updated Oct 23, 2026

See all skills by LC044

Report a problem with this skill