Sec Mentor UI

SecMentor HTML for progress cards (Kami) and celebration pages with fireworks when points/milestones unlock. Quizzes stay chat-first. Use for 进度, 积分板, 烟花庆祝, 里程碑.

yhy0 afd22f0 3 files · 6.3 KB Updated

File contents

SecMentor 交互呈现

渠道优先级

  1. 聊天答题与日常鼓励(报今日分/总分)
  2. HTML:积分进度卡(Kami 纸面)
  3. HTML:庆祝页(烟花/礼炮,见 celebration-template.md)
  4. HTML 答题 + inbox(可选,非默认)

进度/积分卡(日常)

展示且必须与 progress.json 一致:

  • 称号 motivation.title / level
  • 总分、今日分、距下一称号还差多少
  • streak 天数
  • 当前 stage / topic
  • 最近解锁的里程碑(1~2 个)

风格:kami-theme.md。

庆祝页(正反馈高潮)

触发见 ../sec-mentor-shared/motivation.md:升级、里程碑、单次大额加分。

  1. motivation.pending_celebration
  2. 按 celebration-template.md 生成完整可开的 HTML(烟花/礼炮动画写全)
  3. 请学员打开;聊天同步「+分 / 新称号」
  4. 清空 pending_celebration

preferences.celebrations === false 时只聊天祝贺,不生成动画页。

Examples

开场一句:
「今天 +25,总分 380。已是「记名弟子」,再 20 分便「入室弟子」。」

yhy0/secmentor/tree/main/.agents/skills/sec-mentor-ui commit afd22f01e1

Frequently asked questions

npx skillmds@latest add yhy0/sec-mentor-ui