bedtime-review

Bedtime review assistant: provides 1–3 minute voice or text reviews where AI automatically detects emotions, extracts key events, generates praise cards and micro-advice, and produces a personalized good-night narration (TTS). It supports streak check-ins, weekly/monthly aggregated growth analysis, and generation and sharing of review cards. Trigger phrases include "review", "today's review", "bedtime review", "good night review", "daily recap", "weekly report", "monthly report", "growth report", and "check-in"; suitable for reviewing daily emotions, recording bedtime thoughts, and generating growth cards.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "bedtime-review" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-51fd7e854cf5895019640e6f78061c6ce6c7cf94e22291df7060233098056f75. Verify the upstream source and version against https://skillhub.cn/skills/user_fb52ff21/05652fdb3b40 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Bedtime review assistant: provides 1–3 minute voice or text reviews where AI automatically detects emotions, extracts key events, generates praise cards and micro-advice, and produces a personalized good-night narration (TTS). It supports streak check-ins, weekly/monthly aggregated growth analysis, and generation and sharing of review cards. Trigger phrases include "review", "today's review", "bedtime review", "good night review", "daily recap", "weekly report", "monthly report", "growth report", and "check-in"; suitable for reviewing daily emotions, recording bedtime thoughts, and generating growth cards.

0 Downloads

Introduction source: third_party · user_fb52ff21 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: bedtime-review
description: 睡前语音复盘助手 — 1-3 分钟语音/文字复盘,AI 自动识别情绪、提炼关键事件、生成表扬卡与微建议、个性化晚安旁白(TTS),并支持连续打卡激励、周报/月报聚合成长分析、复盘卡片生成与分享。当用户说"复盘"、"今天复盘"、"睡前复盘"、"晚安复盘"、"每日回顾"、"周报"、"月报"、"成长报告"、"打卡"等时触发此 Skill。也适用于用户想回顾当天情绪、记录睡前想法、生成成长卡片等场景。
agent_created: true

睡前语音复盘助手

任务目标

  • 本 Skill 用于:帮助用户每晚进行 1-3 分钟的语音/文字复盘,自动识别情绪、提炼关键事件、生成正向激励与微建议,并输出个性化晚安旁白
  • 能力包含:每日复盘卡片生成与存储、情绪识别与曲线可视化、连续打卡追踪与成就系统、周报聚合(情绪趋势+高频关键词+进步轨迹)、月报生成(个人成长年鉴+故事线)、复盘卡片导出(Markdown/SVG)、与灵感银行联动、快速文字模式、补打卡、数据检索回溯
  • 触发条件:用户说"复盘"、"今天复盘"、"睡前复盘"、"晚安复盘"、"每日回顾"、"周报"、"月报"、"成长报告"、"打卡天数"、"帮我回顾"等

前置准备

  • 数据目录:~/.workbuddy/data/bedtime-review/,首次使用自动创建
  • 存储方案:每日独立文件(.md + .json)+ 轻量索引 index.json(仅元数据),详见 references/data_schema.md
  • 脚本依赖:Python 3.7+(标准库,无额外依赖)
  • 灵感联动:与 inspiration-bank Skill 共存时,复盘中的好想法可自动沉淀为灵感卡片

操作步骤

流程一:每日复盘(核心闭环)

当用户发起每日复盘时,执行以下步骤:

步骤 1:获取输入

支持两种输入方式:

  • 语音输入:用户说 1-3 分钟语音,系统自动转文字
  • 快速文字模式:用户直接打字输入当日回顾(同样走完整流程)

步骤 2:情绪识别 + 结构化分析

基于用户输入的原始内容,使用 Prompt 进行结构化分析(Prompt 详见 references/prompts.md 的 daily_review_prompt):

生成以下结构化数据:

  1. 情绪识别:识别情绪类型(从预设标签中选择)+ 1-10 强度评分 + 情绪极性(正向/负向/中性)
  2. 关键事件:提炼 1-2 个最值得记录的核心事件
  3. 表扬卡:一句肯定语——"今天值得表扬自己的点"
  4. 微建议:不超过 20 字的可优化小细节,鼓励语气
  5. 晚安旁白:30 秒个性化晚安旁白,温暖、有陪伴感
  6. 情绪曲线:如果用户描述了多个时间段的感受,生成当日情绪起伏标注(morning/afternoon/evening 的情绪分)

情绪标签体系(详见 references/emotion_taxonomy.md):

  • 正向:高兴、兴奋、平静、感恩、期待、满足
  • 负向:焦虑、遗憾、疲惫、愤怒、沮丧、迷茫
  • 中性:麻木、无聊

步骤 3:存储复盘数据

调用脚本存储结构化数据和可读日记:

python scripts/review_engine.py store --data '{JSON结构化数据}' --raw '用户原始输入'

脚本自动执行:

  • 验证字段格式和枚举值
  • 生成唯一复盘 ID
  • 写入当日 .json 和 .md 文件
  • 更新 index.json 索引(追加一条元数据:date, emotion, score, keywords)
  • 更新打卡记录(streak.json)
  • 检查是否触发周报/月报解锁条件

步骤 4:输出晚安旁白(TTS)

使用 macOS say 命令朗读晚安旁白:

say -v '语音角色' '晚安旁白文本'

可选语音角色:

  • Ting-Ting(中文女声,温柔)— 默认推荐
  • Mei-Jia(中文女声,沉稳)
  • 用户可在 config.json 中自定义偏好

步骤 5:展示复盘卡片

向用户展示结构化复盘结果:

--- 今日复盘 #ID ---
日期:YYYY-MM-DD
【今日情绪】:情绪词(强度分)
【情绪极性】:正向/负向/中性
【关键事件】:...
【表扬你】:...
【小建议】:...
【晚安旁白】:... 🔊(已朗读)
---
连续打卡:第 N 天 🏆

主动询问:情绪标签是否准确?若用户修正,调用 update 更新。

步骤 6(可选):灵感联动

如果复盘内容中包含明显的"好想法"或"创意灵感"(由 LLM 判断),主动提示:

"你在复盘里提到了一个不错的想法,要不要同步到灵感银行?"

用户确认后,调用 inspiration-bank 的 store 命令沉淀为灵感卡片。

流程二:复盘模板切换

支持三种复盘模式,Prompt 侧重不同:

模式 侧重 适用场景
混合复盘(默认) 全面回顾当天工作+生活 日常使用
工作复盘 聚焦工作成果、效率、协作 工作日/职场人
生活复盘 聚焦情绪、关系、健康、兴趣 周末/生活平衡

切换方式:用户说"工作复盘"或"生活复盘"时自动切换对应模板。 模板 Prompt 详见 references/prompts.md 的 work_review_prompt 和 life_review_prompt。

流程三:补打卡

当用户想补前一天的复盘时:

  • 允许补前 1 天的复盘,但标记为 补卡
  • 调用 store 时传入 --date YYYY-MM-DD --makeup true
  • 补打卡不计入连续天数,但数据正常存储

流程四:周报聚合

当用户要求生成周报,或连续打卡满 7 天自动触发时:

步骤 1:获取本周数据

python scripts/review_engine.py weekly --week YYYY-WNN

脚本返回本周 7 天的结构化数据(含情绪分、关键词、事件等)。

步骤 2:生成周报

使用周报 Prompt(详见 references/prompts.md 的 weekly_report_prompt)生成:

  1. 情绪趋势:周几最开心、周几最低落(文字描述 + 可选 SVG 曲线图)
  2. 情绪分布饼图:本周各类情绪占比可视化(SVG)
  3. 高频关键词 TOP5:本周出现频率最高的情绪词/事件词
  4. 本周最大进步:AI 从 7 天数据提炼核心成长点
  5. 下周小目标:基于本周不足,生成一个可执行的小目标(不超过一句话)

步骤 3:存储周报

python scripts/review_engine.py store-report --type weekly --data '{周报JSON}' --week YYYY-WNN

存储到 weekly/YYYY-WNN.md 和 weekly/YYYY-WNN.json。

流程五:月报生成(个人成长年鉴)

当用户要求生成月报,或连续打卡满 30 天自动触发时:

步骤 1:获取月度数据

python scripts/review_engine.py monthly --month YYYY-MM

步骤 2:生成月报

使用月报 Prompt(详见 references/prompts.md 的 monthly_report_prompt)生成:

  1. 月度情绪总览:30 天情绪曲线叠加 + 月度平均情绪分
  2. 最在意的 3 件事:从 30 篇复盘提炼高频主题
  3. 克服的 2 个困难:识别月初到月末的变化轨迹
  4. 养成的 1 个新习惯:从每日微建议执行情况推断
  5. 月度故事线:用叙事化语言串联碎片复盘为个人月度故事
  6. 对比上月:情绪分环比变化、主题词变化

步骤 3:存储月报

python scripts/review_engine.py store-report --type monthly --data '{月报JSON}' --month YYYY-MM

存储到 monthly/YYYY-MM.md 和 monthly/YYYY-MM.json。

流程六:连续打卡 & 成就系统

打卡追踪

每日复盘完成后,脚本自动更新 streak.json:

{
  "current_streak": 7,
  "max_streak": 12,
  "total_reviews": 45,
  "last_review_date": "2026-07-24",
  "milestones": {
    "weekly_unlocked": true,
    "monthly_unlocked": true
  }
}

里程碑解锁规则

  • 连续 7 天 → 解锁周报功能
  • 连续 30 天 → 解锁月报功能
  • 打卡中断后重新开始计数

成就徽章

徽章 条件 说明
🌙 首次复盘 完成 1 次复盘 初始入门
🔥 7日连续 连续打卡 7 天 坚持一周
💎 30日大师 连续打卡 30 天 月度坚持
📊 周报先锋 首次生成周报 深度反思
📖 月度年鉴 首次生成月报 长期洞察
😊 情绪达人 某情绪出现频率最高(≥30%) 自我觉察
🔑 话题聚焦 某关键词出现≥10次 专注力

脚本自动检测成就解锁:

python scripts/review_engine.py check-achievements

流程七:复盘卡片导出与分享

导出单日复盘卡片

Markdown 格式:

python scripts/review_engine.py export --date YYYY-MM-DD --format markdown --output ./review_card.md

SVG 卡片图片:

python scripts/review_engine.py export --date YYYY-MM-DD --format image --output ./review_card.svg

SVG 卡片包含:日期、情绪词+强度分徽章、关键事件、表扬卡、微建议、晚安旁白摘要、连续打卡天数。使用 assets/card_template.svg 模板渲染。

导出周报/月报

python scripts/review_engine.py export --week YYYY-WNN --format markdown --output ./weekly_report.md
python scripts/review_engine.py export --month YYYY-MM --format markdown --output ./monthly_report.md

批量导出

python scripts/review_engine.py export --all --format markdown --output ./all_reviews.md

流程八:数据检索回溯

支持按多种条件查找历史复盘:

按日期查询:

python scripts/review_engine.py search --date YYYY-MM-DD

按情绪筛选:

python scripts/review_engine.py search --emotion "焦虑" --limit 10

按关键词搜索:

python scripts/review_engine.py search --keyword "开会" --limit 10

按日期范围:

python scripts/review_engine.py search --date-from "2026-06-01" --date-to "2026-07-24" --emotion "高兴"

检索逻辑:

  • 搜索在 index.json 元数据中执行,速度快
  • 多维度之间为 AND 关系
  • 结果按日期降序排列

流程九:每日自动提醒

可设置每晚固定时间推送复盘提醒:

# 通过 WorkBuddy Automation 创建定时提醒
automation_update --mode create --name "睡前复盘提醒" --scheduleType recurring --rrule "FREQ=DAILY;BYHOUR=22;BYMINUTE=0" --prompt "提醒用户进行睡前复盘。温柔地说:'今天辛苦了,花 3 分钟复盘一下吧?说复盘或直接告诉我今天发生了什么就行。'"

首次使用时建议用户设置此提醒。

辅助操作

查看打卡状态:

python scripts/review_engine.py streak

查看成就列表:

python scripts/review_engine.py achievements

更新复盘数据(修正情绪等字段):

python scripts/review_engine.py update --date YYYY-MM-DD --fields '{"emotion":"修正后的情绪","emotion_score":7}'

私密标记:

python scripts/review_engine.py update --date YYYY-MM-DD --fields '{"private":true}'

标记为私密的复盘不会出现在周报/月报聚合中(但仍保留在个人数据中)。

全局统计:

python scripts/review_engine.py stats

使用示例

示例1:语音复盘

  • 场景/输入:用户说"今天复盘",然后语音讲述 1-3 分钟
  • 预期产出:语音转文字 → 情绪识别 → 结构化卡片 → TTS 晚安旁白 → 展示复盘卡片 → 打卡天数更新
  • 关键要点:主动询问情绪标签是否准确,可修正

示例2:快速文字复盘

  • 场景/输入:用户不想说话,直接打字"今天跟同事吵了一架,很沮丧,但后来吃了顿好饭心情好了点"
  • 预期产出:走完整复盘流程(情绪识别、关键事件、表扬卡、微建议、晚安旁白)
  • 关键要点:文字模式与语音模式输出完全一致

示例3:工作复盘模式

  • 场景/输入:用户说"帮我做个工作复盘"
  • 预期产出:切换到工作复盘 Prompt(聚焦效率、成果、协作),输出侧重职场维度
  • 关键要点:模式切换后 Prompt 不同,但存储格式统一

示例4:生成周报

  • 场景/输入:用户说"帮我看看本周的成长报告" 或 连续打卡第 7 天自动触发
  • 预期产出:聚合 7 天数据 → 情绪趋势 + 关键词 TOP5 + 进步 + 下周目标
  • 关键要点:先读脚本数据再生成,确保一致性

示例5:生成月报

  • 场景/输入:用户说"帮我生成这个月的成长年鉴"
  • 预期产出:聚合 30 天数据 → 情绪总览 + 3件事 + 2个困难 + 1个习惯 + 故事线
  • 关键要点:月报是叙事化的,不是数据罗列

示例6:补打卡

  • 场景/输入:用户说"昨天忘了复盘,想补一下"
  • 预期产出:允许补前 1 天,标记为补卡,正常走复盘流程,但不增加连续天数
  • 关键要点:补卡数据完整存储,周报/月报正常包含

示例7:灵感联动

  • 场景/输入:复盘内容中出现"我觉得可以做一个睡前冥想APP"
  • 预期产出:主动提示"你在复盘里提到了一个想法,要不要同步到灵感银行?",用户确认后调用 inspiration-bank store
  • 关键要点:需要 inspiration-bank Skill 已安装才能联动

示例8:导出分享卡片

  • 场景/输入:用户说"把今天的复盘导出成图片"
  • 预期产出:生成 SVG 卡片图片,可直接查看或分享
  • 关键要点:SVG 格式可缩放不失真,也可转换为 PNG

资源索引

注意事项

  • 情绪标签为 AI 初步推断,展示复盘卡片后必须询问用户确认或修正
  • 周报/月报先调用脚本获取结构化数据,再结合 LLM 分析生成,避免纯推理导致不一致
  • 每日独立文件存储(YYYY-MM-DD.md + YYYY-MM-DD.json),索引文件仅存元数据,3 年内无性能问题
  • 私密标记的复盘不参与周报/月报聚合,但仍保留在个人数据中
  • 补打卡允许补前 1 天,标记为补卡,不影响连续天数计算
  • 灵感联动需要 inspiration-bank Skill 已安装,否则跳过此步骤
  • 晚安旁白 TTS 默认使用 macOS say -v Ting-Ting,用户可在 config.json 中自定义语音角色
  • 打卡中断后重新计数,但历史数据永久保留

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供完整的睡前复盘闭环体验,涵盖情绪识别、关键事件提炼、正向激励与个性化晚安旁白
  • 支持连续打卡、周报/月报聚合分析,具备长期成长追踪价值
  • 与灵感银行联动,增强生态协同性
Trigger Precision92/100

Highlights

  • 触发词覆盖全面且边界清晰,包括'复盘'、'周报'、'月报'、'打卡'等核心场景
  • 支持多种变体表达,如'今天复盘'、'每日回顾',降低误触/漏触风险
Structure and Standards75/100

Areas to improve

  • 文档过长 Reported severity: Minor

    SKILL.md 内容约1800行,超出建议长度(≤500行),影响可读性

    Recommendation: 建议将详细实现细节(如脚本参数、Prompt全文)移至独立文档,主文件保留流程概览与示例

Highlights

  • Phase 划分清晰,包含9个主要操作流程与多个端到端示例
  • frontmatter 完整,任务目标、前置准备、资源索引齐全
Execution Reliability60/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 scripts/review_engine.py、references/prompts.md、references/data_schema.md、references/emotion_taxonomy.md、assets/card_template.svg 等关键文件,但未传入 ZIP 包

    Recommendation: 请补全所有被引用的脚本与配置文件,确保核心功能可独立运行

Highlights

  • 脚本命令设计合理,支持 store/update/export/search 等完整操作
  • 异常处理机制完善(如补打卡、私密标记、情绪修正)
  • TTS 与自动化提醒集成方案明确
Evidence Verifiability (mean of the first four)77/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.