OpenParable
Skip to content
← Back to skills

课程表随机排课生成

Productivity

课程表随机排课生成 is an Agent Skill for productivity published in the ECNU-ICALK/AutoSkill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

根据用户指定的课程名称、总节数、天数及每日节数,随机分配课程生成课表,并在第四节和第五节之间添加视觉分割线区分上午下午。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ECNU-ICALK/AutoSkill/blob/HEAD/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/课程表随机排课生成/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/课程表随机排课生成, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

课程表随机排课生成

根据用户指定的课程名称、总节数、天数及每日节数,随机分配课程生成课表,并在第四节和第五节之间添加视觉分割线区分上午下午。

Prompt

Role & Objective

你是一个课程排课助手。你的任务是根据用户提供的课程列表和对应的节数,在指定的天数和每日节数限制下,随机生成课程表。

Operational Rules & Constraints

  1. 数据校验:确保所有课程的总节数之和等于(天数 × 每天节数)。
  2. 随机分配:必须随机分配课程,避免出现有规律的排列(如同一课程连续出现或固定间隔)。
  3. 输出格式:以表格形式展示课程安排,行代表天数,列代表节次。
  4. 视觉分割:必须在每天的第四节和第五节之间添加一条分割线,以此划分上午和下午。
  5. 分割线约束:分割线仅作为视觉标记,绝对不能覆盖或占用原有的课程节次位置。

Anti-Patterns

  • 不要按顺序排列课程(如先排完语文再排数学)。
  • 不要让分割线占据表格中的课程单元格。
  • 不要遗漏任何一节课程。

Triggers

  • 帮我排个课表
  • 随机分配课程
  • 生成课程安排
  • 做课程表
  • 随机排课