用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/u9401066/anesthesia-exam --skill question-crud命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
MCP tools for PDF ingestion → extract figures, tables, sections → build knowledge graph. Transforms PDF into queryable assets (images, tables, text) with cross-document RAG. Triggers: PDF, ingest, extract, 圖片, 表格, figure, table, manifest, knowledge graph, 知識圖譜, RAG, 文獻分析.
難度分類器,基於 Ragas 標準評估題目難度。Triggers: 難度分類, 難度評估, difficulty, 評估難度, 調整難度.
重複題目檢查器,檢測語意重複和過度相似的題目。Triggers: 查重, 重複檢查, duplicate, 相似題, 題目查重, 檢查重複.
| name | question-crud |
| description | 題目 CRUD 操作 - 透過 MCP 工具管理考題生命週期。Triggers: 新增題目, 修改題目, 刪除題目, 查詢題目, 題目CRUD, 編輯題目, 更新題目, 還原題目, 審計日誌. |
透過 MCP 工具管理考題的完整生命週期,包含建立、讀取、更新、刪除(軟刪除)、還原、驗證和審計追蹤。
來源資訊必須真實!
source_doc、source_page、source_lines、source_text 必須來自 MCP 查詢結果asset-aware__consult_knowledge_graph → asset-aware__search_source_location → exam-generator__exam_save_questionexam-generator__exam_save_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_text | string | ✅ | 題目文字 |
| options | array | ✅ | 選項列表 ["A選項", "B選項", ...] |
| correct_answer | string | ✅ | 正確答案 (如 "A" 或 "B, D") |
| explanation | string | 詳解說明 | |
| source_doc | string | 來源文件名稱 | |
| source_page | integer | 來源頁碼 | |
| source_lines | string | 來源行號 (如 "15-23") | |
| source_text | string | 原文引用 | |
| difficulty | enum | easy / medium / hard | |
| topics | array | 知識點標籤 | |
| user_prompt | string | 用戶原始請求(生成上下文) | |
| skill_used | string | 使用的 Skill 名稱 | |
| reasoning | string | AI 推理過程 |
範例:
{
"question_text": "關於 Propofol 的藥理特性,下列敘述何者正確?",
"options": [
"A. 屬於水溶性藥物",
"B. 具有快速起效和快速恢復的特性",
"C. 不會造成注射部位疼痛",
"D. 主要經由腎臟代謝"
],
"correct_answer": "B",
"explanation": "Propofol 是脂溶性藥物,具有快速起效(30-40秒)和快速恢復的特性...",
"source_doc": "麻醉藥理學教材",
"source_page": 125,
"source_lines": "12-18",
"source_text": "Propofol has a rapid onset of action...",
"difficulty": "medium",
"topics": ["藥理學", "靜脈麻醉藥", "Propofol"],
"skill_used"
exam-generator__exam_list_questions
| 參數 | 類型 | 說明 |
|---|---|---|
| topic | string | 篩選特定知識點 |
| difficulty | enum | 篩選難度 (easy/medium/hard) |
| limit | integer | 最大返回數量 (預設 20) |
exam-generator__exam_search
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| keyword | string | ✅ | 搜尋關鍵字(全文檢索) |
| limit | integer | 最大筆數 (預設 20) |
exam-generator__exam_get_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
回傳包含:
exam-generator__exam_update_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
| question_text | string | 新題目文字 | |
| options | array | 新選項列表 | |
| correct_answer | string | 新答案 | |
| explanation | string | 新詳解 | |
| difficulty | enum | 新難度 | |
| topics | array | 新知識點標籤 | |
| actor_name | string | 修改者名稱 | |
| reason | string | 修改原因 |
exam-generator__exam_delete_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
| actor_name | string | 刪除者名稱 | |
| reason | string | 刪除原因 |
注意: 預設為軟刪除,可以還原。
exam-generator__exam_restore_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
exam-generator__exam_validate_question
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_text | string | ✅ | 題目文字 |
| options | array | ✅ | 選項列表 |
| correct_answer | string | ✅ | 正確答案 |
| question_type | enum | single_choice / multiple_choice / true_false |
exam-generator__exam_mark_validated
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
| passed | boolean | ✅ | 是否通過驗證 |
| notes | string | 驗證備註 |
exam-generator__exam_get_audit_log
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
| question_id | string | ✅ | 題目 ID |
| limit | integer | 最大筆數 (預設 20) |
exam-generator__exam_get_stats
無需參數,回傳題庫統計資訊。
flowchart TD
A[用戶請求出題] --> B[asset-aware__consult_knowledge_graph 查詢知識]
B --> C[asset-aware__search_source_location 取得精確來源]
C --> D[根據真實內容生成題目]
D --> E[exam-generator__exam_validate_question 驗證格式]
E -->|通過| F[exam-generator__exam_save_question 儲存]
F --> G[exam-generator__exam_mark_validated 標記已驗證]
flowchart TD
A[接收修改請求] --> B[exam-generator__exam_get_question 取得現有題目]
B --> C[修改內容]
C --> D[exam-generator__exam_validate_question 驗證]
D -->|通過| E[exam-generator__exam_update_question 更新]
E --> F[記錄修改原因]
每次操作都會自動記錄:
| 欄位 | 說明 |
|---|---|
| action | 動作類型 (created/updated/validated/rejected/deleted/restored) |
| actor_type | 操作者類型 (agent/skill/user/system) |
| actor_name | 操作者名稱 |
| changes | 變更內容 (old/new 對比) |
| reason | 操作原因 |
| generation_context | 生成上下文 (僅 created) |
| timestamp | 時間戳 |
用戶: 幫我出一題關於 Propofol 的選擇題
Agent 操作:
1. asset-aware__consult_knowledge_graph("propofol pharmacology")
→ 取得知識內容
2. asset-aware__search_source_location(doc_id="textbook", query="propofol GABA")
→ 取得 page=125, lines="12-18", original_text="..."
3. 根據真實內容生成題目
4. exam-generator__exam_validate_question 驗證格式
5. exam-generator__exam_save_question {
"question_text": "...",
"source_doc": "textbook",
"source_page": 125,
"source_lines": "12-18",
"source_text": "...(從 MCP 取得的原文)",
"skill_used": "mcq-generator",
"reasoning": "根據 asset-aware__search_source_location 返回的內容..."
}
6. exam-generator__exam_mark_validated 標記已驗證
用戶: 把題目 abc123 的答案改成 C
Agent 操作:
1. exam-generator__exam_get_question 取得題目詳情
2. exam-generator__exam_update_question {
"question_id": "abc123",
"correct_answer": "C",
"actor_name": "user-request",
"reason": "用戶要求修改答案為 C"
}
用戶: 這題是怎麼出出來的?
Agent 操作:
1. exam-generator__exam_get_question 取得題目
2. 回傳 generation_context 和 audit_log
基于 SOC 职业分类