class-homework-bot

Feishu group homework-tracking bot: manages assignment posting, submission, and reminders within Feishu groups, triggered by read_when keyword matches (e.g., posting/submitting assignments).

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 "class-homework-bot" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f724a22a7486ee578b7ae52af7a52a919cca0e1c9165fb719e9198aae15b4a82. Verify the upstream source and version against https://skillhub.cn/skills/user_f0286d75/12-v1 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

Feishu group homework-tracking bot: manages assignment posting, submission, and reminders within Feishu groups, triggered by read_when keyword matches (e.g., posting/submitting assignments).

0 Downloads

Introduction source: third_party · user_f0286d75 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "class-homework-bot"
description: "飞书群作业跟踪:布置、提交、催交。read_when匹配布置/交作业等关键词"

班级作业机器人 Skill

read_when: 在飞书群收到消息包含「布置作业」「交作业」「作业情况」「催作业」「提交作业」「新作业」「谁还没交」

数据文件

作业数据存储在 classbot/homework-tracker.json。

识别规则

1. 布置作业(老师)

用户消息含「布置作业」「布置」「新作业」关键词时:

  1. 读取 classbot/homework-tracker.json
  2. 从消息中提取作业标题和截止时间
    • 匹配 作业 后的文本作为 task
    • 匹配 截止 或 deadline 或 : 后的时间作为 deadline
  3. 调用 feishu_drive 工具列出群文件夹内容来尝试获取学生名单
  4. 如果没有学生来源,先创建空的 students 对象
  5. 回复确认:「📝 作业已布置!<task>,截止 <deadline>」

2. 提交作业(学生)

用户发了文件/图片 或 消息含「交作业」「提交」时:

  1. 读取 classbot/homework-tracker.json
  2. 获取发送者信息(通过消息上下文中的 sender_id)
  3. 如果 current 不存在 → 回复「当前没有活跃的作业」
  4. 将发送者在 students 中标记为 submitted: true,记录当前时间
  5. 回复:「✅ 收到 <姓名> 的作业!(<task>)」

3. 查询作业

关键词:「作业情况」「谁还没交」

  1. 读取 tracker
  2. 列出:
    • 作业内容
    • 截止时间
    • 已交名单
    • 未交名单
  3. 回复汇总

4. 结束作业

关键词:「作业完成」「结束作业」

  1. 将 current 移入 history
  2. 汇总:应交/实交/缺交
  3. 回复总结

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决教育场景下作业管理的实际痛点
  • 功能闭环完整,覆盖作业全生命周期
  • 面向明确用户群体,实用性强
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包含布置、提交、查询、催交等核心场景
  • 关键词设置合理,边界清晰不易误触
Structure and Standards75/100

Areas to improve

  • 缺少端到端完整示例 Reported severity: Minor

    文档中缺少一个完整的从布置作业到提交再到查询的完整流程示例

    Recommendation: 建议补充一个端到端的完整使用示例,帮助用户更好地理解整个流程

Execution Reliability80/100

Areas to improve

  • 时间格式解析异常处理不足 Reported severity: Minor

    截止时间提取逻辑未考虑多种时间格式的解析异常情况

    Recommendation: 建议增加对常见时间格式的兼容性处理,或提供时间格式提示

  • 学生名单获取失败降级策略不够详细 Reported severity: Minor

    当 feishu_drive 获取学生名单失败时,降级策略描述较为简略

    Recommendation: 建议详细说明降级后的处理流程,如是否允许手动维护学生名单等

Evidence Verifiability (mean of the first four)83/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.

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