跳到正文
cccskills
免费在 GitHub 公开

academic-data-integration

When the user needs to integrate multiple data sources (Canvas API, user memory, file systems) to create comprehensive academic reports. This skill combines course information, assignment details, submission status, and user context to generate actionable insights. Triggers include requests that involve cross-referencing multiple data sources or creating consolidated academic reports from disparate systems.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Instructions

Objective

Integrate data from Canvas LMS, user memory, and local workspace files to identify and report on unsubmitted academic work. The primary output is formatted CSV files containing sorted lists of pending quizzes and assignments.

Core Workflow

1. Initial Data Gathering

  • Read User Memory: Use memory-read_graph to retrieve the user's personal information. Pay special attention to academic exemptions (e.g., English entrance exam score).
  • Fetch Course List: Use canvas-canvas_list_courses to get all enrolled courses. Note the course_code and name for each.

2. Understand Output Format

  • Inspect Workspace: Use local-python-execute to list files in /workspace/dumps/workspace/ and examine any existing CSV files (e.g., quiz_info.csv, assignment_info.csv).
  • Analyze Headers: Note the required CSV columns and data format from the example rows.

3. Collect Pending Work Details

  • Fetch Assignments & Quizzes: For each course ID obtained in step 1, call:
    • canvas-canvas_list_assignments with include_submissions: true.
    • canvas-canvas_list_quizzes.
  • Identify Unsubmitted Items:
    • Assignments: An item is "unsubmitted" if submission.workflow_state is "unsubmitted" AND is_quiz_assignment is false.
    • Quizzes: A quiz is "required" if its quiz_type is "assignment" (graded). Ignore "practice_quiz" types.
    • Apply Exemptions: Cross-reference user memory with course announcements. For example, if a user's English entrance score is ≥90 and a course announcement grants an exemption, exclude that quiz.

4. Enrich Data & Sort

  • Fetch Course Details: Optionally use canvas-canvas_get_course for each course if additional metadata (like credits) is needed but not in the initial list.
  • Determine Credits: If credit information is unavailable via API, infer it logically (e.g., 101/201/301-level = 3 credits, 401-level = 4 credits) based on the course_code.
  • Clean Data: Remove the -x suffix (e.g., -1) from course_code and course_name.
  • Sort Final Lists:
    1. Primary Key: Deadline (due_at) in chronological order.
    2. Secondary Key: Course code in dictionary (alphabetical) order for items with identical deadlines.

5. Generate Output Files

  • Write CSVs: Use local-python-execute to run a Python script that:
    1. Creates the sorted lists of quizzes and assignments.
    2. Writes to the existing CSV file paths in the workspace without changing the filenames.
    3. Formats data exactly as the example headers specify.
  • Verify: Read and print the final CSV contents to confirm correct formatting and sorting.

Key Decision Points

  • Inclusion/Exclusion Logic: Document why specific items were included or excluded (e.g., "exempt due to high English score", "practice quiz not graded").
  • Data Fallbacks: When API data is missing (e.g., credits), use reasoned defaults and note the assumption.
  • Sorting Validation: Double-check that sorting by deadline then course code is correctly implemented.

Final Output

The skill is complete when:

  1. The quiz_info.csv and assignment_info.csv files in the workspace are updated with the current, sorted list of unsubmitted work.
  2. A clear summary is provided explaining what was found and any logical decisions made.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Master backend architectures, REST API design, microservices, and server-side development across multiple languages. Use this as a central index to access specialized sub-skills.

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

在每次回复中使用固定前缀并列出本次实际参考的指令/文件,便于校验是否遵循上下文与规则。

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

[00] META. Orchestrate skills into dynamic chains for complex tasks. Analyzes the task, discovers available skills, builds an optimal chain, explains why each skill is needed, and executes step-by-step with user confirmation. Use for any complex task requiring multiple thinking/research/analysis steps. Triggers on "plan this", "how to approach", "what's the strategy", "build a plan", or any multi-step problem requiring skill orchestration.

中文简介正在准备中。当前显示原文说明。

MikeCheng1208/BattleTree22026年7月22日 更新

查看 MikeCheng1208 的全部技能

报告此技能的问题