用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kmh0301/ICT-Note --skill python-assignment-generator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | python-assignment-generator |
| description | 用於生成 Python 程式設計作業的 JSON 檔案,遵循特定的語言和編碼慣例(說明用中文、代碼用英文)。 |
本 Skill 用於協助教師生成符合學生學習進度與操作便利性的 Python 程式設計作業。
語言分配 (Language Convention):
title、content 以及程式碼中的 # 注釋。input() 的提示語、print() 輸出的字串、變數名稱及狀態標籤(例如 FAT/THIN/FIT)。這是為了避免學生在編寫程式時需要頻繁切換輸入法。技術偏好 (Technical Preferences):
** 0.5 代替 math.sqrt(),除非明確要求練習 Math module。:.3g 處理「3 位有效數字」的要求(通常作為獎分任務)。float(input()) 處理數據以增加程式的適應性。自動評分與測試 (Testing & Marking):
testcases 中,將 match_type 設為 "C" (Contains)。output 應只包含核心關鍵字(如 FAT、Two real roots),這樣即使學生的輸出包含額外的空格或數值格式不同,系統也能判定正確。{
"version": 1,
"assignment": {
"title": "繁體中文標題",
"content": "<h3>HTML 格式的中文任務說明</h3>",
"language": "python",
"code_template": "print(\"English prompt:\")\nvariable = float(input())\n",
"modal_solution": "...",
"testcases": [
{
"input": "...",
"output": "English Keywords",
"match_type": "C"
}
]
}
}