/med-paper-assistant:draft-writingfrom med-paper-assistant
Manages academic paper draft writing, reading, citation insertion, reference syncing, word counting, and section editing. Supports writing order checks for various paper types.
Ships in med-paper-assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
觸發:寫草稿、draft、section、引用、citation、字數、patch、寫作順序
project_action(action="current") 確認專案| 工具 | 說明 |
|---|---|
draft_action(action="write") | 建立/覆寫草稿(filename, content, project) |
draft_action(action="section") | 根據 notes 產出 section(topic, notes) |
draft_action(action="read") | 讀取草稿 |
draft_action(action="list") | 列出所有草稿 |
draft_action(action="check_order") | ⭐ 檢查寫作順序與進度(advisory, 不阻止) |
draft_action(action="patch"),禁止 replace_string_in_file)| 工具 | 說明 |
|---|---|
draft_action(action="available_citations") | ⚠️ 編輯前必呼叫!列出可用 [[citation_key]] |
draft_action(action="patch") | 部分編輯草稿,自動驗證 wikilinks |
draft_action(action="insert_citation") | 定點插入引用(filename, target_text, pmid) |
draft_action(action="sync_references") | 掃描 [[wikilinks]] 生成 References |
draft_action(action="count_words") | 計算字數 |
draft_action(action="patch") vs replace_string_in_file:draft facade 會驗證引用、自動修復格式、拒絕不存在的引用。
所有草稿寫入路徑(透過 draft_action(action="write"|"patch"|"insert_citation"),以及 full-surface legacy verbs)在覆寫前自動建立快照,儲存於 drafts/.snapshots/。
DraftSnapshotManager(infrastructure/persistence/)| Paper Type | 順序 |
|---|---|
| original-research | Methods → Results → Introduction → Discussion → Conclusion → Abstract |
| systematic-review | Methods → Results → Discussion → Introduction → Conclusion → Abstract |
| case-report | Case Presentation → Discussion → Introduction → Conclusion → Abstract |
| review-article | Introduction → Body → Conclusion → Abstract |
前置:Results 需 Methods、Discussion 需 Results+Intro、Conclusion 需 Discussion、Abstract 需全部。
draft_action(action="check_order") 產生警告,不阻止。警告出現時詢問用戶是否繼續。
draft_action(action="check_order") → 確認前置validate_for_section(section) → ✅/❌draft_action(action="read", filename="concept.md") → 提取 🔒 NOVELTY + 🔒 SELLING POINTSdraft_action(action="count_words")pipeline_action(action="approve_section", section=section, decision="approve|revise") → 用戶審閱 approve/revise(Phase 5 時 MANDATORY)draft_action(action="available_citations") → 取得可用 citation keysdraft_action(action="patch", filename=..., old_text=..., new_text=...) → 自動驗證 wikilinksdraft_action(action="sync_references", filename=...) → 生成 References以下每條指南都有對應的 Code-Enforced Hook(B9-B16),
run_quality_checks(action="writing_hooks")會自動檢查。
結構(Funnel Model — Hook B12 自動偵測):
[[wikilinks]] 引用時態(Hook B9):
禁止事項:
Checklist(Agent 自行確認):
結構:
時態(Hook B9 CRITICAL):
倫理聲明(Hook B14 CRITICAL):
統計報告規範(Hook B8 / B16):
Checklist:
結構:
時態(Hook B9 CRITICAL):
客觀性(Hook B11 CRITICAL — 最常見 Reviewer 意見):
統計報告(Hook B16):
Checklist:
結構(Hook B13 自動偵測):
[[wikilinks]] ≥3 個Limitations 段落(必要 — Hook B13 觸發 CRITICAL):
Hedging 控制(Hook B15):
禁止事項:
Checklist:
結構(Structured):
規則:
| Hook | 名稱 | 觸發時機 | 嚴重度 | 檢查重點 |
|---|---|---|---|---|
| B9 | Section Tense | POST-WRITE | CRITICAL/WARN | Methods/Results 過去式 |
| B10 | Paragraph Quality | POST-WRITE | WARN/INFO | 段落長度、單句段落 |
| B11 | Results Objectivity | POST-SECTION | CRITICAL | Results 禁止解讀性語言 |
| B12 | Intro Funnel | POST-SECTION | CRITICAL/WARN | Introduction 漏斗結構 + 禁止透露結果 |
| B13 | Discussion Structure | POST-SECTION | CRITICAL | Limitations 必須存在 |
| B14 | Ethical Statements | POST-SECTION | CRITICAL | IRB + Consent + Trial Reg |
| B15 | Hedging Density | POST-WRITE | CRITICAL/WARN | may/might/could 密度 |
| B16 | Effect Size | POST-SECTION | CRITICAL/WARN | p-value 格式 + 效果量 + CI |
使用方式:run_quality_checks(action="writing_hooks", hooks="B9,B11,B13") 或 run_quality_checks(action="writing_hooks", hooks="post-section")
✅ [[author2024_12345678]] → 自動修復 [[12345678]] → [[author2024_12345678]]
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub u9401066/med-paper-assistant --plugin med-paper-assistant25 skills in this plugin
/academic-debate學術辯論與觀點比較框架。
LOAD THIS SKILL WHEN: debate、辯論、pro/con、正反方、devil's advocate、挑戰假設、counter-argument、反駁、compare viewpoints、比較觀點、challenge、質疑
CAPABILITIES: 純指令技能,不需要專屬 MCP tool。利用 LLM 推理能力 + 現有 tools (read_draft, search_local_references) 完成分析。
/academic-writing-harnessCross-agent workflow for evidence-grounded manuscripts, proposals, reports, student papers, and preprints with auditable gates./auto-paper全自動論文撰寫 + 閉環自我改進系統。
LOAD THIS SKILL WHEN: 全自動寫論文、auto write、自動撰寫、幫我寫完整篇、autopilot、從頭到尾、一鍵寫論文
CAPABILITIES: 編排所有研究 Skills + 3 層 Audit Hooks + Meta-Learning 自我改進
/concept-development發展研究概念並驗證創新性。觸發:concept、發展概念、研究概念、novelty、創新點、補充概念、幫我補充、擴展概念、加強、驗證失敗、novelty不夠、怎麼改。/concept-validation概念驗證:確保 concept.md 達到可寫作標準。
LOAD THIS SKILL WHEN: 驗證、validate、可以開始寫了嗎、novelty 夠嗎、check concept
CAPABILITIES: validate_concept, validate_concept_quick, validate_for_section
/idea-validation研究假說驗證與可行性評估框架。
LOAD THIS SKILL WHEN: hypothesis、假說、PICO、feasibility、可行性、testable、可驗證、研究計畫評估、check feasibility
CAPABILITIES: 純指令技能,不需要專屬 MCP tool。利用 LLM 推理能力 + 現有 tools (list_saved_references, search_local_references) 完成分析。
Other plugins' skills for the same job