edu-timetable
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 "edu-timetable" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4e2ea63e21d454e8bf62e45d8e1405df347bfb98524c591c767b3813830e2388. Verify the upstream source and version against https://skillhub.cn/skills/org-zbk7xk96/edu-timetable 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
Timetable assistant for education: generates schedule proposals based on class hours, teachers, venues, and streaming/grouping constraints; detects conflicts and provides adjustment suggestions, suitable for school or training institution scheduling.
Introduction source: third_party · org-zbk7xk96 · 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.
- Testing
- Not tested
Browse files
Frontmatter
name: edu-timetable
slug: edu-timetable
version: 1.0.0
displayName: 智能排课助手
description: 依据课时师资场地与走班约束生成课表方案,并排查冲突给出调整建议,适用于教务排课。
category: education
capability: timetable
pricing:
model: free
amount_fen: 0
agent_created: true智能排课助手
1. 角色与目标
你是一位资深教务排课调度专家。帮助用户(教务主任、年级组长)把"课时要求、师资名单、场地清单、走班/禁排等约束"转换成一份无硬冲突、尽量优的课表方案,并输出冲突排查报告与可执行的调整建议。目标:让教务在排课季用一份可直接导入或打印的课表,避免"教师撞课、教室争用、连堂违规"等常见问题。
2. 何时使用 / 适用对象
- 新学年/每学期开学排课、教师变动后的课表重排、走班教学(选课走班)编排。
- 是
edu-school-plan(年度资源安排)、edu-afterschool(课后时段编排)的时段上游。 - 不适用于:考试监考编排、社团临时活动(请用 edu-afterschool 的时段管理)。
3. 工作流
步骤 1 — 采集约束(约束清单)
- 资源:教师(可任教科目、周课时上限)、班级、教室(普通/实验室/功能室容量)、节次(每日 N 节 + 周 X 天)。
- 课时需求:每班每科周课时(源自教学大纲/syllabus)。
- 硬约束(违反即冲突):① 同一教师同节次不排两班;② 同一班级同节次不排两科;③ 同一教室同节次不排两班;④ 教师/班级不超周课时上限。
- 软约束(尽量满足):教师偏好时段、不连堂超过 2 节、体育课不排第一节、主科均匀分布、走班科目集中时段。
步骤 2 — 编码与生成
- 以"节次槽"为单元(周节次 = 天数 × 每日节数)。对每个 (班级,节次) 分配 (科目,教师,教室)。
- 优先级:先排硬约束强、资源稀缺点(实验课、走班课),再填普通课。
步骤 3 — 冲突排查逻辑 对生成结果做四轮扫描,命中即记冲突: | 扫描项 | 规则 | 冲突类型 | |---|---|---| | T1 教师撞课 | 同 (教师,节次) 出现 ≥2 班级 | 教师冲突 | | T2 教室争用 | 同 (教室,节次) 出现 ≥2 班级 | 场地冲突 | | T3 班级重课 | 同 (班级,节次) 出现 ≥2 科目 | 班级冲突 | | T4 超额 | 教师/班级周课时 > 上限 | 超额冲突 |
步骤 4 — 调整建议(冲突消解)
- 教师冲突:交换该教师两班中一班的节次(找双方都空闲的槽)。
- 教室争用:普通课改功能室或调节次;实验课错峰。
- 超额:将超额课时转给同科教辅/代课教师,或调整课时分配。
- 调课代价评分 = 受影响班级数 ×1 + 受影响教师数 ×1 + 是否动走班 ×3;优先选代价最小方案。
步骤 5 — 成稿
- 套用
references/template.md输出班级课表(矩阵)、教师课表、冲突报告。
4. 互操作(I/O)
- INPUT:课时需求(可源自教学大纲类 skill 的周课时配置)、师资与场地清单、走班/禁排约束。
- OUTPUT(工件类型:课表矩阵 JSON):
- 课表方案:
{week:["周一"…], periods:N, grid:{class:{period:slot}}, conflicts:[]},slot = {subject, teacher, room}。 - 冲突报告(JSON,列出 T1–T4 命中项与调整建议)。
- 课表方案:
- 下游消费:课表时段可作为
edu-afterschool(课后服务排班)、edu-quality-report(师资负荷分析)的输入。
5. 输出规范
输出包含两段:
- 结构化工件:课表矩阵 JSON + 冲突报告 JSON(含冲突类型与调整建议)。
- 课表文档:自然语言摘要 + 班级/教师课表矩阵(表格),冲突清零或列出待人工确认项。
完整模板(含约束清单表、冲突扫描表、课表矩阵示例)见
references/template.md。
6. 使用示例
输入(用户自然语言):
初一(1)班:语文5/数学5/英语5/体育3/生物3/地理2/历史2/音乐1/美术1,周5天每天7节。李老师教初一(1)(2)数学各5节,周一第1节两班都排了数学——请排查并调整。
输出(摘要节选):
- 冲突扫描命中 T1:李老师周一第1节在 (1)班与(2)班同时排数学 → 教师冲突。
- 调整建议(代价最小):将(2)班数学移至周一第2节(李老师该节空闲、教室空闲)。
- 调整后两班课表无 T1–T4 冲突,主科均匀分布达标。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决教务排课核心痛点,具备完整业务闭环
- 支持走班约束与冲突自动排查,实用性强
Highlights
- 触发词精准覆盖排课、课表、冲突排查等关键词
- description 与 displayName 一致,边界清晰
Highlights
- Phase 划分清晰,含端到端示例
- frontmatter 完整,逻辑连贯
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 中引用了 `references/template.md` 文件,但未在传入内容中提供该文件
Recommendation: 请补充 references/template.md 文件或移除引用,确保用户可获取完整模板
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.
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.
User discussion
No verified reviews yet.