Skip to content

Commit 3cda207

Browse files
htlin222claude
andcommitted
Initial release: EBMT Handbook skill for AI coding agents
Packages the EBMT Handbook 8th Edition (2024) as a publishable skill following the vercel-labs/skills protocol. Includes GitHub Action for automated .skill packaging and releases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 parents  commit 3cda207

14 files changed

Lines changed: 2814 additions & 0 deletions

.github/workflows/release.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Build & Release Skill
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set version from SHA
19+
id: version
20+
run: |
21+
SHORT_SHA="${GITHUB_SHA::7}"
22+
echo "sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
23+
echo "Version: ${SHORT_SHA}"
24+
25+
- name: Package skill
26+
run: |
27+
cd ebmt-handbook
28+
zip -r ../ebmt-handbook.zip .
29+
cd ..
30+
cp ebmt-handbook.zip ebmt-handbook.skill
31+
32+
- name: Upload artifact
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: ebmt-handbook-${{ steps.version.outputs.sha }}
36+
path: ebmt-handbook.skill
37+
38+
- name: Create GitHub Release
39+
env:
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
run: |
42+
SHORT_SHA="${GITHUB_SHA::7}"
43+
TAG="v0.1.0-${SHORT_SHA}"
44+
cat > release-notes.md <<EOF
45+
## EBMT Handbook Skill
46+
47+
**Version:** \`${SHORT_SHA}\`
48+
**Commit:** ${GITHUB_SHA}
49+
50+
### Install
51+
52+
\`\`\`bash
53+
npx skills add htlin222/ebmt-handbook-skill
54+
\`\`\`
55+
56+
Or download the \`.skill\` file from assets below.
57+
EOF
58+
gh release create "${TAG}" \
59+
--title "ebmt-handbook skill ${TAG}" \
60+
--notes-file release-notes.md \
61+
ebmt-handbook.skill

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
*.zip
3+
*.skill

README.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# ebmt-handbook
2+
3+
[![Build & Release Skill](https://github.com/htlin222/ebmt-handbook-skill/actions/workflows/release.yml/badge.svg)](https://github.com/htlin222/ebmt-handbook-skill/actions/workflows/release.yml)
4+
[![GitHub Release](https://img.shields.io/github/v/release/htlin222/ebmt-handbook-skill?include_prereleases&label=skill%20version)](https://github.com/htlin222/ebmt-handbook-skill/releases/latest)
5+
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
6+
[![Skills Protocol](https://img.shields.io/badge/protocol-vercel--labs%2Fskills-blue)](https://github.com/vercel-labs/skills)
7+
[![Compatible Agents](https://img.shields.io/badge/agents-40%2B-green)](https://github.com/vercel-labs/skills#supported-agents)
8+
9+
> EBMT Handbook 8th Edition (2024) — Hematopoietic Cell Transplantation & Cellular Therapies clinical guideline skill for AI coding agents.
10+
11+
## Install
12+
13+
```bash
14+
# Project-level (recommended)
15+
npx skills add htlin222/ebmt-handbook-skill
16+
17+
# Global
18+
npx skills add -g htlin222/ebmt-handbook-skill
19+
20+
# Specific agent
21+
npx skills add htlin222/ebmt-handbook-skill --agent claude-code
22+
```
23+
24+
## What it does
25+
26+
This skill equips AI agents with structured clinical knowledge from the **EBMT Handbook, 8th Edition (2024)**, the standard reference for hematopoietic cell transplantation and cellular therapies.
27+
28+
When activated, the agent can:
29+
30+
- **Route questions** to the correct chapter via a clinical decision tree
31+
- **Cite sources** with `📖 EBMT Handbook 8th ed. Ch. N` attribution
32+
- **Run clinical calculators** (BSA, CrCl, HCT-CI score, GVHD grading, drug dosing)
33+
- **Output checklists** for pre-HCT evaluation, febrile neutropenia, and more
34+
- **Cover 95+ chapters** spanning pre-transplant assessment, donor selection, conditioning, GVHD, infections, organ complications, relapse, CAR-T, and disease-specific indications
35+
36+
## Trigger keywords
37+
38+
`HCT`, `移植`, `骨髓`, `幹細胞`, `GVHD`, `CAR-T`, `造血`, `transplant`, `stem cell`, `bone marrow`
39+
40+
## Skill structure
41+
42+
```
43+
ebmt-handbook/
44+
├── SKILL.md # Skill definition (frontmatter + instructions)
45+
├── scripts/
46+
│ └── hct_tools.py # Clinical calculators
47+
├── references/
48+
│ ├── part2-biological.md # HLA, immune reconstitution (Ch.7-10)
49+
│ ├── part3-methodology.md # Transplant methodology (Ch.11-22)
50+
│ ├── part4-management.md # General management, vaccines (Ch.22-34)
51+
│ ├── part5-complications.md # GVHD, infections, iron overload (Ch.35-47)
52+
│ ├── part6-organ.md # Organ complications (Ch.48-56)
53+
│ ├── part7-relapse.md # Relapse, CAR-T (Ch.57-65)
54+
│ ├── part8-modalities.md # Special transplant modalities (Ch.63-69)
55+
│ └── part9-indications.md # Disease indications, pediatric (Ch.70-95)
56+
└── audit_payload.json # Skill audit metadata
57+
```
58+
59+
## Source
60+
61+
**Book:** The EBMT Handbook: Hematopoietic Cell Transplantation and Cellular Therapies, 8th edition (2024)
62+
**Editors:** Sureda A, Corbacioglu S, Greco R, Kröger N, Carreras E
63+
**Publisher:** Springer — Open Access CC BY 4.0
64+
**URL:** https://www.ncbi.nlm.nih.gov/books/NBK608238/
65+
66+
## Protocol
67+
68+
This skill follows the [vercel-labs/skills](https://github.com/vercel-labs/skills) protocol. Each push to `main` triggers a GitHub Action that packages the skill as a `.skill` file (zip archive) and creates a release tagged with the commit SHA.
69+
70+
## License
71+
72+
Content derived from the EBMT Handbook is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

ebmt-handbook/SKILL.md

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
---
2+
name: ebmt-handbook
3+
description: >
4+
EBMT Handbook 第8版(2024)造血細胞移植(HCT)與細胞治療臨床指引技能。
5+
當使用者詢問任何移植病人相關問題時,必須立即啟用本技能,包含:
6+
移植前評估、捐贈者選擇、預處理方案、幹細胞來源、GVHD 預防與治療、
7+
感染處理(細菌/黴菌/病毒)、器官併發症(肝/腎/肺/神經)、移植後復發管理、
8+
CAR-T 細胞治療、各疾病移植適應症(AML/ALL/MDS/淋巴瘤/骨髓瘤等)、
9+
移植後長期追蹤、兒童移植、疫苗接種、心理照護。
10+
每次回答必須標明出處:「📖 來自 EBMT Handbook 第8版 第 N 章」。
11+
使用者問 HCT、移植、骨髓、幹細胞、GVHD、CAR-T、造血、移植病人 等關鍵字時,強制觸發本技能。
12+
---
13+
14+
# EBMT Handbook 第8版 臨床指引技能
15+
16+
**書籍**:The EBMT Handbook: Hematopoietic Cell Transplantation and Cellular Therapies, 8th edition (2024)
17+
**編輯**:Sureda A, Corbacioglu S, Greco R, Kröger N, Carreras E
18+
**出版**:Springer; Open Access CC BY 4.0
19+
**來源**https://www.ncbi.nlm.nih.gov/books/NBK608238/
20+
21+
---
22+
23+
## ⚙️ 核心規則(每次回答必須遵守)
24+
25+
1. **來源標示**:每段落標明 `📖 來自 EBMT Handbook 第8版 第 N 章`
26+
2. **來源區分**
27+
- `[書中驗證]`:內容來自已 fetch 的原書章節
28+
- `[模型補充]`:來自 Claude 訓練知識,請交叉核對原文
29+
3. **知識截止警告**:回答藥物核准、新指引等議題時,加上:
30+
> 📅 本資訊以 EBMT Handbook 第8版(2024)為準,請確認是否有最新更新。
31+
4. **臨床第一**:先給出可操作建議,再補充原理
32+
5. **計算工具**:劑量/評分/CrCl 請執行 `scripts/hct_tools.py`,每次輸出自帶 safety disclaimer
33+
6. **死連結保護**:若 references/ 中無對應檔案,誠實告知「此章節尚未詳細收錄,請查閱原書」
34+
7. **不確定時**:明確說明不確定,建議查閱原書 URL:https://www.ncbi.nlm.nih.gov/books/NBK608238/
35+
36+
---
37+
38+
## 📚 快速章節路由表
39+
40+
根據問題類型,先查閱對應章節,再深入 references/ 資料夾。
41+
42+
### 🔍 問題 → 章節 對照
43+
44+
| 問題類型 | 章節 | 深入參考 |
45+
|---------|------|---------|
46+
| 移植前評估 / 適應症判斷 | Ch.11 | references/part3-methodology.md |
47+
| 捐贈者選擇(成人/兒童)| Ch.12 | references/part3-methodology.md |
48+
| HLA 配對原則 | Ch.9 | references/part2-biological.md ✅ |
49+
| 預處理方案(MAC/RIC/NMA)| Ch.13 | references/part3-methodology.md |
50+
| 幹細胞來源選擇(BM/PB/CB)| Ch.14 | references/part3-methodology.md |
51+
| 骨髓採集 | Ch.15 | references/part3-methodology.md |
52+
| 幹細胞動員與採集 | Ch.16, 17 | references/part3-methodology.md |
53+
| 臍帶血 | Ch.18, 64 | references/part8-modalities.md |
54+
| Graft 處理/冷凍保存 | Ch.19, 20 | references/part3-methodology.md |
55+
| Chimerism 監測 | Ch.21 | references/part3-methodology.md |
56+
| 移植後追蹤 | Ch.22 | references/part3-methodology.md |
57+
| 血管通路(CVC)| Ch.23 | references/part4-management.md |
58+
| 輸血支持 | Ch.24 | references/part4-management.md |
59+
| 營養支持 | Ch.25 | references/part4-management.md |
60+
| **GVHD 預防** | **Ch.26** | references/part4-management.md |
61+
| 感染控制/隔離 | Ch.27, 28 | references/part4-management.md |
62+
| 疫苗接種 | Ch.29 | references/part4-management.md |
63+
| 心理照護 | Ch.30 | references/part4-management.md |
64+
| 藥物交互作用 | Ch.31 | references/part4-management.md |
65+
| 中性球低燒 | Ch.35 | references/part5-complications.md |
66+
| 細菌感染 | Ch.36 | references/part5-complications.md |
67+
| **黴菌感染** | **Ch.37** | references/part5-complications.md |
68+
| **病毒感染**(CMV/EBV/HHV6…)| **Ch.38** | references/part5-complications.md |
69+
| 其他感染(結核/弓漿蟲)| Ch.39 | references/part5-complications.md |
70+
| 出血/血栓 | Ch.40 | references/part5-complications.md |
71+
| Graft failure | Ch.41 | references/part5-complications.md |
72+
| SOS/VOD(肝竇阻塞症候群)| Ch.49 | references/part6-organ.md |
73+
| **急性 GVHD** | **Ch.43** | references/part5-complications.md |
74+
| **慢性 GVHD** | **Ch.44** | references/part5-complications.md |
75+
| PTLD | Ch.45 | references/part5-complications.md |
76+
| 鐵過載 | Ch.46 | references/part5-complications.md |
77+
| 次發性腫瘤 | Ch.47 | references/part5-complications.md |
78+
| 眼/口腔併發症 | Ch.48 | references/part6-organ.md |
79+
| 腸胃道併發症 | Ch.50 | references/part6-organ.md |
80+
| 出血性膀胱炎/腎功能 | Ch.51 | references/part6-organ.md |
81+
| 肺部非感染性併發症 | Ch.52 | references/part6-organ.md |
82+
| 神經系統併發症 | Ch.53 | references/part6-organ.md |
83+
| 皮膚/肌肉骨骼 | Ch.54 | references/part6-organ.md |
84+
| 心血管/代謝症候群 | Ch.55 | references/part6-organ.md |
85+
| 內分泌/生育/性功能 | Ch.56 | references/part6-organ.md |
86+
| MRD 監測 | Ch.57 | references/part7-relapse.md |
87+
| 復發藥物治療(TKI/HMA…)| Ch.58 | references/part7-relapse.md |
88+
| DLI(供者淋巴球輸注)| Ch.59 | references/part7-relapse.md |
89+
| CAR-T / 基因療法 | Ch.60 | references/part7-relapse.md |
90+
| Haploidentical HCT | Ch.65 | references/part8-modalities.md ✅ |
91+
| 老年移植 | Ch.68 | references/part8-modalities.md ✅ |
92+
| AML(成人)| Ch.70 | references/part9-indications.md |
93+
| AML(兒童)| Ch.71 | references/part9-indications.md |
94+
| ALL(成人)| Ch.72 | references/part9-indications.md |
95+
| ALL(兒童)| Ch.73 | references/part9-indications.md |
96+
| MDS | Ch.74, 75 | references/part9-indications.md |
97+
| 骨髓纖維化/CML | Ch.77 | references/part9-indications.md |
98+
| 再生不良性貧血/PNH | Ch.78 | references/part9-indications.md |
99+
| 血色素病變(SCD/Thal)| Ch.80 | references/part9-indications.md |
100+
| 多發性骨髓瘤 | Ch.81 | references/part9-indications.md |
101+
| 淋巴瘤(DLBCL/MCL/iNHL)| Ch.84-88 | references/part9-indications.md |
102+
103+
---
104+
105+
## 🧠 臨床決策樹(快速分流)
106+
107+
```
108+
移植病人問題
109+
├── 移植前?
110+
│ ├── 適應症評估 → Ch.11 + Ch.70-95(疾病別)
111+
│ ├── 捐贈者/來源 → Ch.12, 14, 64, 65
112+
│ └── 預處理選擇 → Ch.13
113+
114+
├── 移植中(D-7 到 D+30)?
115+
│ ├── 感染/發燒 → Ch.35, 36, 37, 38
116+
│ ├── 器官毒性 → Ch.42(endothelial), Ch.49(SOS/VOD)
117+
│ ├── GVHD 預防 → Ch.26
118+
│ └── 支持照護 → Ch.23-25, 31
119+
120+
├── 移植後早期(D+30 到 D+100)?
121+
│ ├── 急性 GVHD → Ch.43
122+
│ ├── 感染 → Ch.36-39
123+
│ ├── Graft failure → Ch.41
124+
│ └── Chimerism → Ch.21
125+
126+
└── 移植後晚期(D+100 之後)?
127+
├── 慢性 GVHD → Ch.44
128+
├── 感染/疫苗 → Ch.29, 38
129+
├── 器官長期併發症 → Ch.48-56
130+
├── MRD/復發 → Ch.57-61
131+
└── 次發腫瘤/生活品質 → Ch.47, 34
132+
```
133+
134+
---
135+
136+
## 🐍 Python 工具使用說明
137+
138+
當問題涉及以下計算時,執行 `scripts/hct_tools.py`
139+
140+
| 需求 | 工具函數 |
141+
|-----|---------|
142+
| BSA(體表面積)計算 | `calc_bsa(weight, height)` |
143+
| CrCl / eGFR 計算 | `calc_crcl(age, weight, creatinine, sex)` |
144+
| Sorror HCT-CI 評分 | `hct_ci_score(comorbidities_dict)` |
145+
| GVHD 分期 | `grade_gvhd(skin_pct, bilirubin, stool_vol)` |
146+
| 藥物劑量試算 | `drug_dose(drug, weight, bsa, renal)` |
147+
| Checklist 輸出(JSON)| `print_checklist(phase)` |
148+
149+
執行方式:`python3 /home/claude/ebmt-handbook/scripts/hct_tools.py`
150+
151+
---
152+
153+
## 📋 常用 Checklist(直接輸出)
154+
155+
### 移植前評估 Checklist(Ch.11)
156+
```json
157+
{
158+
"phase": "pre-HCT evaluation",
159+
"chapter": 11,
160+
"items": [
161+
{"category": "疾病評估", "tasks": ["疾病分期確認", "MRD 狀態", "細胞遺傳學/分子標記"]},
162+
{"category": "器官功能", "tasks": ["心臟 ECHO(EF>45%)", "肺功能 FEV1/DLCO", "肝功能", "腎功能 CrCl", "神經功能"]},
163+
{"category": "感染篩檢", "tasks": ["CMV IgG", "EBV", "HSV", "VZV", "HIV", "HBV", "HCV", "梅毒", "結核 IGRA"]},
164+
{"category": "HLA 配型", "tasks": ["病患 HLA typing 10/10", "捐贈者搜尋"]},
165+
{"category": "知情同意", "tasks": ["移植風險說明", "生育保存討論", "心理評估"]}
166+
]
167+
}
168+
```
169+
170+
### 中性球低燒處理 Checklist(Ch.35)
171+
```json
172+
{
173+
"phase": "febrile neutropenia",
174+
"chapter": 35,
175+
"items": [
176+
{"step": 1, "action": "體溫 >38°C 且 ANC <0.5×10⁹/L → 啟動 FN protocol"},
177+
{"step": 2, "action": "抽血培養 x2(不同部位),含 CVC port"},
178+
{"step": 3, "action": "30分鐘內給予廣效抗生素(pip/tazo 或 cefepime)"},
179+
{"step": 4, "action": "評估是否為 high risk(HCT患者均為 high risk)"},
180+
{"step": 5, "action": "48-72小時仍發燒 → 加上抗黴菌治療"},
181+
{"step": 6, "action": "懷疑 Aspergillus → GM 抗原、胸部 CT"}
182+
]
183+
}
184+
```
185+
186+
---
187+
188+
## 📖 深入閱讀指引
189+
190+
當需要完整的臨床指引內容,請 `view` 對應 references 檔案:
191+
192+
```
193+
view /home/claude/ebmt-handbook/references/part2-biological.md # HLA、免疫重建(Ch.7-10)✅新增
194+
view /home/claude/ebmt-handbook/references/part3-methodology.md # 移植方法論(Ch.11-22)
195+
view /home/claude/ebmt-handbook/references/part4-management.md # 一般處置、疫苗(Ch.22-34)
196+
view /home/claude/ebmt-handbook/references/part5-complications.md # GVHD、感染、鐵過載(Ch.35-47)✅擴充
197+
view /home/claude/ebmt-handbook/references/part6-organ.md # 器官併發症(Ch.48-56)✅擴充
198+
view /home/claude/ebmt-handbook/references/part7-relapse.md # 復發/CAR-T(Ch.57-65)
199+
view /home/claude/ebmt-handbook/references/part8-modalities.md # 特殊移植模式(Ch.63-69)✅新增
200+
view /home/claude/ebmt-handbook/references/part9-indications.md # 各疾病+兒童適應症(Ch.70-95)✅擴充
201+
```
202+
203+
---
204+
205+
> ⚠️ 本技能提供臨床參考,不取代個別病人的醫療決策。
206+
> 所有建議均引用自 EBMT Handbook 第8版(2024),請依據最新機構指引調整。

ebmt-handbook/audit_payload.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)