@synsci/cli-darwin-x64 1.1.70 → 1.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/bin/skills/citation-management/SKILL.md +1109 -0
  2. package/bin/skills/citation-management/assets/bibtex_template.bib +264 -0
  3. package/bin/skills/citation-management/assets/citation_checklist.md +386 -0
  4. package/bin/skills/citation-management/references/bibtex_formatting.md +908 -0
  5. package/bin/skills/citation-management/references/citation_validation.md +794 -0
  6. package/bin/skills/citation-management/references/google_scholar_search.md +725 -0
  7. package/bin/skills/citation-management/references/metadata_extraction.md +870 -0
  8. package/bin/skills/citation-management/references/pubmed_search.md +839 -0
  9. package/bin/skills/citation-management/scripts/doi_to_bibtex.py +182 -0
  10. package/bin/skills/citation-management/scripts/extract_metadata.py +570 -0
  11. package/bin/skills/citation-management/scripts/format_bibtex.py +349 -0
  12. package/bin/skills/citation-management/scripts/search_google_scholar.py +251 -0
  13. package/bin/skills/citation-management/scripts/search_pubmed.py +348 -0
  14. package/bin/skills/citation-management/scripts/validate_citations.py +494 -0
  15. package/bin/skills/clinical-decision-support/README.md +129 -0
  16. package/bin/skills/clinical-decision-support/SKILL.md +506 -0
  17. package/bin/skills/clinical-decision-support/assets/biomarker_report_template.tex +380 -0
  18. package/bin/skills/clinical-decision-support/assets/clinical_pathway_template.tex +222 -0
  19. package/bin/skills/clinical-decision-support/assets/cohort_analysis_template.tex +359 -0
  20. package/bin/skills/clinical-decision-support/assets/color_schemes.tex +149 -0
  21. package/bin/skills/clinical-decision-support/assets/example_gbm_cohort.md +208 -0
  22. package/bin/skills/clinical-decision-support/assets/recommendation_strength_guide.md +328 -0
  23. package/bin/skills/clinical-decision-support/assets/treatment_recommendation_template.tex +529 -0
  24. package/bin/skills/clinical-decision-support/references/biomarker_classification.md +719 -0
  25. package/bin/skills/clinical-decision-support/references/clinical_decision_algorithms.md +604 -0
  26. package/bin/skills/clinical-decision-support/references/evidence_synthesis.md +840 -0
  27. package/bin/skills/clinical-decision-support/references/outcome_analysis.md +640 -0
  28. package/bin/skills/clinical-decision-support/references/patient_cohort_analysis.md +427 -0
  29. package/bin/skills/clinical-decision-support/references/treatment_recommendations.md +521 -0
  30. package/bin/skills/clinical-decision-support/scripts/biomarker_classifier.py +383 -0
  31. package/bin/skills/clinical-decision-support/scripts/build_decision_tree.py +417 -0
  32. package/bin/skills/clinical-decision-support/scripts/create_cohort_tables.py +509 -0
  33. package/bin/skills/clinical-decision-support/scripts/generate_survival_analysis.py +441 -0
  34. package/bin/skills/clinical-decision-support/scripts/validate_cds_document.py +326 -0
  35. package/bin/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
  36. package/bin/skills/clinical-reports/README.md +236 -0
  37. package/bin/skills/clinical-reports/SKILL.md +1127 -0
  38. package/bin/skills/clinical-reports/assets/case_report_template.md +352 -0
  39. package/bin/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
  40. package/bin/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
  41. package/bin/skills/clinical-reports/assets/consult_note_template.md +305 -0
  42. package/bin/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
  43. package/bin/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
  44. package/bin/skills/clinical-reports/assets/history_physical_template.md +305 -0
  45. package/bin/skills/clinical-reports/assets/lab_report_template.md +309 -0
  46. package/bin/skills/clinical-reports/assets/pathology_report_template.md +249 -0
  47. package/bin/skills/clinical-reports/assets/quality_checklist.md +338 -0
  48. package/bin/skills/clinical-reports/assets/radiology_report_template.md +318 -0
  49. package/bin/skills/clinical-reports/assets/soap_note_template.md +253 -0
  50. package/bin/skills/clinical-reports/references/case_report_guidelines.md +570 -0
  51. package/bin/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
  52. package/bin/skills/clinical-reports/references/data_presentation.md +530 -0
  53. package/bin/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
  54. package/bin/skills/clinical-reports/references/medical_terminology.md +588 -0
  55. package/bin/skills/clinical-reports/references/patient_documentation.md +744 -0
  56. package/bin/skills/clinical-reports/references/peer_review_standards.md +585 -0
  57. package/bin/skills/clinical-reports/references/regulatory_compliance.md +577 -0
  58. package/bin/skills/clinical-reports/scripts/check_deidentification.py +332 -0
  59. package/bin/skills/clinical-reports/scripts/compliance_checker.py +78 -0
  60. package/bin/skills/clinical-reports/scripts/extract_clinical_data.py +97 -0
  61. package/bin/skills/clinical-reports/scripts/format_adverse_events.py +97 -0
  62. package/bin/skills/clinical-reports/scripts/generate_report_template.py +149 -0
  63. package/bin/skills/clinical-reports/scripts/terminology_validator.py +126 -0
  64. package/bin/skills/clinical-reports/scripts/validate_case_report.py +323 -0
  65. package/bin/skills/clinical-reports/scripts/validate_trial_report.py +88 -0
  66. package/bin/skills/fireworks-ai/SKILL.md +665 -0
  67. package/bin/skills/generate-image/SKILL.md +178 -0
  68. package/bin/skills/generate-image/scripts/generate_image.py +254 -0
  69. package/bin/skills/groq/SKILL.md +347 -0
  70. package/bin/skills/hypothesis-generation/SKILL.md +293 -0
  71. package/bin/skills/hypothesis-generation/assets/FORMATTING_GUIDE.md +672 -0
  72. package/bin/skills/hypothesis-generation/assets/hypothesis_generation.sty +307 -0
  73. package/bin/skills/hypothesis-generation/assets/hypothesis_report_template.tex +572 -0
  74. package/bin/skills/hypothesis-generation/references/experimental_design_patterns.md +329 -0
  75. package/bin/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +198 -0
  76. package/bin/skills/hypothesis-generation/references/literature_search_strategies.md +622 -0
  77. package/bin/skills/latex-posters/README.md +417 -0
  78. package/bin/skills/latex-posters/SKILL.md +1602 -0
  79. package/bin/skills/latex-posters/assets/baposter_template.tex +257 -0
  80. package/bin/skills/latex-posters/assets/beamerposter_template.tex +244 -0
  81. package/bin/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
  82. package/bin/skills/latex-posters/assets/tikzposter_template.tex +251 -0
  83. package/bin/skills/latex-posters/references/latex_poster_packages.md +745 -0
  84. package/bin/skills/latex-posters/references/poster_content_guide.md +748 -0
  85. package/bin/skills/latex-posters/references/poster_design_principles.md +806 -0
  86. package/bin/skills/latex-posters/references/poster_layout_design.md +900 -0
  87. package/bin/skills/latex-posters/scripts/review_poster.sh +214 -0
  88. package/bin/skills/literature-review/SKILL.md +641 -0
  89. package/bin/skills/literature-review/assets/review_template.md +412 -0
  90. package/bin/skills/literature-review/references/citation_styles.md +166 -0
  91. package/bin/skills/literature-review/references/database_strategies.md +455 -0
  92. package/bin/skills/literature-review/scripts/generate_pdf.py +184 -0
  93. package/bin/skills/literature-review/scripts/search_databases.py +310 -0
  94. package/bin/skills/literature-review/scripts/verify_citations.py +218 -0
  95. package/bin/skills/market-research-reports/SKILL.md +904 -0
  96. package/bin/skills/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
  97. package/bin/skills/market-research-reports/assets/market_report_template.tex +1380 -0
  98. package/bin/skills/market-research-reports/assets/market_research.sty +564 -0
  99. package/bin/skills/market-research-reports/references/data_analysis_patterns.md +548 -0
  100. package/bin/skills/market-research-reports/references/report_structure_guide.md +999 -0
  101. package/bin/skills/market-research-reports/references/visual_generation_guide.md +1077 -0
  102. package/bin/skills/market-research-reports/scripts/generate_market_visuals.py +472 -0
  103. package/bin/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
  104. package/bin/skills/markitdown/LICENSE.txt +22 -0
  105. package/bin/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
  106. package/bin/skills/markitdown/QUICK_REFERENCE.md +309 -0
  107. package/bin/skills/markitdown/README.md +184 -0
  108. package/bin/skills/markitdown/SKILL.md +486 -0
  109. package/bin/skills/markitdown/SKILL_SUMMARY.md +307 -0
  110. package/bin/skills/markitdown/assets/example_usage.md +463 -0
  111. package/bin/skills/markitdown/references/api_reference.md +399 -0
  112. package/bin/skills/markitdown/references/file_formats.md +542 -0
  113. package/bin/skills/markitdown/scripts/batch_convert.py +195 -0
  114. package/bin/skills/markitdown/scripts/convert_literature.py +262 -0
  115. package/bin/skills/markitdown/scripts/convert_with_ai.py +224 -0
  116. package/bin/skills/ml-paper-writing/SKILL.md +937 -0
  117. package/bin/skills/ml-paper-writing/references/checklists.md +361 -0
  118. package/bin/skills/ml-paper-writing/references/citation-workflow.md +562 -0
  119. package/bin/skills/ml-paper-writing/references/reviewer-guidelines.md +367 -0
  120. package/bin/skills/ml-paper-writing/references/sources.md +159 -0
  121. package/bin/skills/ml-paper-writing/references/writing-guide.md +476 -0
  122. package/bin/skills/ml-paper-writing/templates/README.md +251 -0
  123. package/bin/skills/ml-paper-writing/templates/aaai2026/README.md +534 -0
  124. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
  125. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
  126. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +111 -0
  127. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
  128. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +315 -0
  129. package/bin/skills/ml-paper-writing/templates/acl/README.md +50 -0
  130. package/bin/skills/ml-paper-writing/templates/acl/acl.sty +312 -0
  131. package/bin/skills/ml-paper-writing/templates/acl/acl_latex.tex +377 -0
  132. package/bin/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +101 -0
  133. package/bin/skills/ml-paper-writing/templates/acl/acl_natbib.bst +1940 -0
  134. package/bin/skills/ml-paper-writing/templates/acl/anthology.bib.txt +26 -0
  135. package/bin/skills/ml-paper-writing/templates/acl/custom.bib +70 -0
  136. package/bin/skills/ml-paper-writing/templates/acl/formatting.md +326 -0
  137. package/bin/skills/ml-paper-writing/templates/colm2025/README.md +3 -0
  138. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
  139. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
  140. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
  141. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
  142. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
  143. package/bin/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +485 -0
  144. package/bin/skills/ml-paper-writing/templates/colm2025/math_commands.tex +508 -0
  145. package/bin/skills/ml-paper-writing/templates/colm2025/natbib.sty +1246 -0
  146. package/bin/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
  147. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
  148. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
  149. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
  150. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
  151. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
  152. package/bin/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +508 -0
  153. package/bin/skills/ml-paper-writing/templates/iclr2026/natbib.sty +1246 -0
  154. package/bin/skills/ml-paper-writing/templates/icml2026/algorithm.sty +79 -0
  155. package/bin/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +201 -0
  156. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.bib +75 -0
  157. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
  158. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.tex +662 -0
  159. package/bin/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +864 -0
  160. package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.bst +1443 -0
  161. package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.sty +767 -0
  162. package/bin/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
  163. package/bin/skills/ml-paper-writing/templates/neurips2025/Makefile +36 -0
  164. package/bin/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
  165. package/bin/skills/ml-paper-writing/templates/neurips2025/main.tex +38 -0
  166. package/bin/skills/ml-paper-writing/templates/neurips2025/neurips.sty +382 -0
  167. package/bin/skills/paper-2-web/SKILL.md +491 -0
  168. package/bin/skills/paper-2-web/references/installation.md +141 -0
  169. package/bin/skills/paper-2-web/references/paper2poster.md +346 -0
  170. package/bin/skills/paper-2-web/references/paper2video.md +305 -0
  171. package/bin/skills/paper-2-web/references/paper2web.md +187 -0
  172. package/bin/skills/paper-2-web/references/usage_examples.md +436 -0
  173. package/bin/skills/peer-review/SKILL.md +702 -0
  174. package/bin/skills/peer-review/references/calibration_guidelines.md +196 -0
  175. package/bin/skills/peer-review/references/common_issues.md +552 -0
  176. package/bin/skills/peer-review/references/paper_mechanics.md +269 -0
  177. package/bin/skills/peer-review/references/reporting_standards.md +290 -0
  178. package/bin/skills/peer-review/references/scoring_rubric.md +239 -0
  179. package/bin/skills/pptx-posters/SKILL.md +410 -0
  180. package/bin/skills/pptx-posters/assets/poster_html_template.html +257 -0
  181. package/bin/skills/pptx-posters/assets/poster_quality_checklist.md +358 -0
  182. package/bin/skills/pptx-posters/references/poster_content_guide.md +748 -0
  183. package/bin/skills/pptx-posters/references/poster_design_principles.md +806 -0
  184. package/bin/skills/pptx-posters/references/poster_layout_design.md +900 -0
  185. package/bin/skills/research-grants/README.md +285 -0
  186. package/bin/skills/research-grants/SKILL.md +938 -0
  187. package/bin/skills/research-grants/assets/budget_justification_template.md +453 -0
  188. package/bin/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
  189. package/bin/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
  190. package/bin/skills/research-grants/references/broader_impacts.md +392 -0
  191. package/bin/skills/research-grants/references/darpa_guidelines.md +636 -0
  192. package/bin/skills/research-grants/references/doe_guidelines.md +586 -0
  193. package/bin/skills/research-grants/references/nih_guidelines.md +851 -0
  194. package/bin/skills/research-grants/references/nsf_guidelines.md +570 -0
  195. package/bin/skills/research-grants/references/specific_aims_guide.md +458 -0
  196. package/bin/skills/research-lookup/README.md +156 -0
  197. package/bin/skills/research-lookup/SKILL.md +606 -0
  198. package/bin/skills/research-lookup/examples.py +174 -0
  199. package/bin/skills/research-lookup/lookup.py +187 -0
  200. package/bin/skills/research-lookup/research_lookup.py +483 -0
  201. package/bin/skills/research-lookup/scripts/research_lookup.py +483 -0
  202. package/bin/skills/scholar-evaluation/SKILL.md +289 -0
  203. package/bin/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
  204. package/bin/skills/scholar-evaluation/scripts/calculate_scores.py +366 -0
  205. package/bin/skills/scientific-critical-thinking/SKILL.md +566 -0
  206. package/bin/skills/scientific-critical-thinking/references/common_biases.md +364 -0
  207. package/bin/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
  208. package/bin/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
  209. package/bin/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
  210. package/bin/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
  211. package/bin/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
  212. package/bin/skills/scientific-schematics/QUICK_REFERENCE.md +207 -0
  213. package/bin/skills/scientific-schematics/README.md +327 -0
  214. package/bin/skills/scientific-schematics/SKILL.md +615 -0
  215. package/bin/skills/scientific-schematics/example_usage.sh +89 -0
  216. package/bin/skills/scientific-schematics/references/best_practices.md +559 -0
  217. package/bin/skills/scientific-schematics/scripts/generate_schematic.py +135 -0
  218. package/bin/skills/scientific-schematics/scripts/generate_schematic_ai.py +807 -0
  219. package/bin/skills/scientific-schematics/test_ai_generation.py +243 -0
  220. package/bin/skills/scientific-slides/SKILL.md +942 -0
  221. package/bin/skills/scientific-slides/assets/timing_guidelines.md +597 -0
  222. package/bin/skills/scientific-slides/references/data_visualization_slides.md +708 -0
  223. package/bin/skills/scientific-slides/references/presentation_structure.md +642 -0
  224. package/bin/skills/scientific-slides/references/slide_design_principles.md +849 -0
  225. package/bin/skills/scientific-slides/references/talk_types_guide.md +687 -0
  226. package/bin/skills/scientific-slides/references/visual_review_workflow.md +775 -0
  227. package/bin/skills/scientific-slides/scripts/generate_slide_image.py +143 -0
  228. package/bin/skills/scientific-slides/scripts/generate_slide_image_ai.py +748 -0
  229. package/bin/skills/scientific-slides/scripts/pdf_to_images.py +201 -0
  230. package/bin/skills/scientific-slides/scripts/slides_to_pdf.py +220 -0
  231. package/bin/skills/scientific-slides/scripts/validate_presentation.py +367 -0
  232. package/bin/skills/scientific-writing/SKILL.md +714 -0
  233. package/bin/skills/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
  234. package/bin/skills/scientific-writing/assets/scientific_report.sty +606 -0
  235. package/bin/skills/scientific-writing/assets/scientific_report_template.tex +449 -0
  236. package/bin/skills/scientific-writing/references/citation_styles.md +720 -0
  237. package/bin/skills/scientific-writing/references/figures_tables.md +806 -0
  238. package/bin/skills/scientific-writing/references/imrad_structure.md +686 -0
  239. package/bin/skills/scientific-writing/references/professional_report_formatting.md +664 -0
  240. package/bin/skills/scientific-writing/references/reporting_guidelines.md +748 -0
  241. package/bin/skills/scientific-writing/references/writing_principles.md +824 -0
  242. package/bin/skills/tinker/SKILL.md +2 -3
  243. package/bin/skills/together-ai/SKILL.md +722 -0
  244. package/bin/skills/treatment-plans/README.md +488 -0
  245. package/bin/skills/treatment-plans/SKILL.md +1579 -0
  246. package/bin/skills/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
  247. package/bin/skills/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
  248. package/bin/skills/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
  249. package/bin/skills/treatment-plans/assets/medical_treatment_plan.sty +222 -0
  250. package/bin/skills/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
  251. package/bin/skills/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
  252. package/bin/skills/treatment-plans/assets/pain_management_plan.tex +799 -0
  253. package/bin/skills/treatment-plans/assets/perioperative_care_plan.tex +753 -0
  254. package/bin/skills/treatment-plans/assets/quality_checklist.md +471 -0
  255. package/bin/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
  256. package/bin/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
  257. package/bin/skills/treatment-plans/references/intervention_guidelines.md +507 -0
  258. package/bin/skills/treatment-plans/references/regulatory_compliance.md +476 -0
  259. package/bin/skills/treatment-plans/references/specialty_specific_guidelines.md +655 -0
  260. package/bin/skills/treatment-plans/references/treatment_plan_standards.md +485 -0
  261. package/bin/skills/treatment-plans/scripts/check_completeness.py +322 -0
  262. package/bin/skills/treatment-plans/scripts/generate_template.py +233 -0
  263. package/bin/skills/treatment-plans/scripts/timeline_generator.py +385 -0
  264. package/bin/skills/treatment-plans/scripts/validate_treatment_plan.py +369 -0
  265. package/bin/skills/unsloth/SKILL.md +565 -47
  266. package/bin/skills/unsloth/docs/advanced-rl.md +222 -0
  267. package/bin/skills/unsloth/docs/chat-templates.md +141 -0
  268. package/bin/skills/unsloth/docs/datasets.md +489 -0
  269. package/bin/skills/unsloth/docs/docker-extended.md +99 -0
  270. package/bin/skills/unsloth/docs/dynamic-ggufs-2.0.md +116 -0
  271. package/bin/skills/unsloth/docs/dynamic-ggufs-aider.md +118 -0
  272. package/bin/skills/unsloth/docs/faq.md +91 -0
  273. package/bin/skills/unsloth/docs/fp16-vs-bf16.md +61 -0
  274. package/bin/skills/unsloth/docs/fp8-rl.md +224 -0
  275. package/bin/skills/unsloth/docs/glm-4.7-flash.md +997 -0
  276. package/bin/skills/unsloth/docs/inference-deployment-overview.md +17 -0
  277. package/bin/skills/unsloth/docs/inference.md +27 -0
  278. package/bin/skills/unsloth/docs/installation-docker.md +155 -0
  279. package/bin/skills/unsloth/docs/installation-pip.md +148 -0
  280. package/bin/skills/unsloth/docs/kernels-packing.md +190 -0
  281. package/bin/skills/unsloth/docs/kimi-k2.5.md +634 -0
  282. package/bin/skills/unsloth/docs/lm-studio.md +235 -0
  283. package/bin/skills/unsloth/docs/lora-hot-swapping.md +75 -0
  284. package/bin/skills/unsloth/docs/lora-hyperparameters.md +363 -0
  285. package/bin/skills/unsloth/docs/memory-efficient-rl.md +267 -0
  286. package/bin/skills/unsloth/docs/model-selection.md +70 -0
  287. package/bin/skills/unsloth/docs/models.md +532 -0
  288. package/bin/skills/unsloth/docs/multi-gpu-ddp.md +90 -0
  289. package/bin/skills/unsloth/docs/notebooks.md +223 -0
  290. package/bin/skills/unsloth/docs/overview.md +110 -0
  291. package/bin/skills/unsloth/docs/qwen3-coder-next-extended.md +900 -0
  292. package/bin/skills/unsloth/docs/qwen3-coder-next.md +900 -0
  293. package/bin/skills/unsloth/docs/requirements.md +45 -0
  294. package/bin/skills/unsloth/docs/reward-hacking.md +25 -0
  295. package/bin/skills/unsloth/docs/saving-to-gguf.md +138 -0
  296. package/bin/skills/unsloth/docs/saving-to-ollama.md +46 -0
  297. package/bin/skills/unsloth/docs/sglang-guide.md +278 -0
  298. package/bin/skills/unsloth/docs/speculative-decoding.md +70 -0
  299. package/bin/skills/unsloth/docs/tool-calling.md +334 -0
  300. package/bin/skills/unsloth/docs/troubleshooting-faq.md +204 -0
  301. package/bin/skills/unsloth/docs/troubleshooting-inference.md +26 -0
  302. package/bin/skills/unsloth/docs/tts-fine-tuning.md +149 -0
  303. package/bin/skills/unsloth/docs/tutorial-grpo.md +273 -0
  304. package/bin/skills/unsloth/docs/tutorial-llama3-ollama.md +356 -0
  305. package/bin/skills/unsloth/docs/vision-fine-tuning.md +135 -0
  306. package/bin/skills/unsloth/docs/vision-rl.md +170 -0
  307. package/bin/skills/unsloth/docs/vllm-engine-arguments.md +43 -0
  308. package/bin/skills/unsloth/docs/vllm-guide.md +98 -0
  309. package/bin/skills/venue-templates/SKILL.md +686 -0
  310. package/bin/skills/venue-templates/assets/examples/cell_summary_example.md +247 -0
  311. package/bin/skills/venue-templates/assets/examples/medical_structured_abstract.md +313 -0
  312. package/bin/skills/venue-templates/assets/examples/nature_abstract_examples.md +213 -0
  313. package/bin/skills/venue-templates/assets/examples/neurips_introduction_example.md +245 -0
  314. package/bin/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
  315. package/bin/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
  316. package/bin/skills/venue-templates/assets/journals/nature_article.tex +171 -0
  317. package/bin/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
  318. package/bin/skills/venue-templates/assets/journals/plos_one.tex +317 -0
  319. package/bin/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
  320. package/bin/skills/venue-templates/references/cell_press_style.md +483 -0
  321. package/bin/skills/venue-templates/references/conferences_formatting.md +564 -0
  322. package/bin/skills/venue-templates/references/cs_conference_style.md +463 -0
  323. package/bin/skills/venue-templates/references/grants_requirements.md +787 -0
  324. package/bin/skills/venue-templates/references/journals_formatting.md +486 -0
  325. package/bin/skills/venue-templates/references/medical_journal_styles.md +535 -0
  326. package/bin/skills/venue-templates/references/ml_conference_style.md +556 -0
  327. package/bin/skills/venue-templates/references/nature_science_style.md +405 -0
  328. package/bin/skills/venue-templates/references/posters_guidelines.md +628 -0
  329. package/bin/skills/venue-templates/references/reviewer_expectations.md +417 -0
  330. package/bin/skills/venue-templates/references/venue_writing_styles.md +321 -0
  331. package/bin/skills/venue-templates/scripts/customize_template.py +195 -0
  332. package/bin/skills/venue-templates/scripts/query_template.py +266 -0
  333. package/bin/skills/venue-templates/scripts/validate_format.py +250 -0
  334. package/bin/synsc +0 -0
  335. package/package.json +1 -1
  336. package/bin/skills/unsloth/references/index.md +0 -7
  337. package/bin/skills/unsloth/references/llms-full.md +0 -16799
  338. package/bin/skills/unsloth/references/llms-txt.md +0 -12044
  339. package/bin/skills/unsloth/references/llms.md +0 -82
@@ -0,0 +1,1579 @@
1
+ ---
2
+ name: treatment-plans
3
+ description: "Generate concise (3-4 page), focused medical treatment plans in LaTeX/PDF format for all clinical specialties. Supports general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management. Includes SMART goal frameworks, evidence-based interventions with minimal text citations, regulatory compliance (HIPAA), and professional formatting. Prioritizes brevity and clinical actionability."
4
+ allowed-tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ # Treatment Plan Writing
8
+
9
+ ## Overview
10
+
11
+ Treatment plan writing is the systematic documentation of clinical care strategies designed to address patient health conditions through evidence-based interventions, measurable goals, and structured follow-up. This skill provides comprehensive LaTeX templates and validation tools for creating **concise, focused** treatment plans (3-4 pages standard) across all medical specialties with full regulatory compliance.
12
+
13
+ **Critical Principles:**
14
+ 1. **CONCISE & ACTIONABLE**: Treatment plans default to 3-4 pages maximum, focusing only on clinically essential information that impacts care decisions
15
+ 2. **Patient-Centered**: Plans must be evidence-based, measurable, and compliant with healthcare regulations (HIPAA, documentation standards)
16
+ 3. **Minimal Citations**: Use brief in-text citations only when needed to support clinical recommendations; avoid extensive bibliographies
17
+
18
+ Every treatment plan should include clear goals, specific interventions, defined timelines, monitoring parameters, and expected outcomes that align with patient preferences and current clinical guidelines - all presented as efficiently as possible.
19
+
20
+ ## When to Use This Skill
21
+
22
+ This skill should be used when:
23
+ - Creating individualized treatment plans for patient care
24
+ - Documenting therapeutic interventions for chronic disease management
25
+ - Developing rehabilitation programs (physical therapy, occupational therapy, cardiac rehab)
26
+ - Writing mental health and psychiatric treatment plans
27
+ - Planning perioperative and surgical care pathways
28
+ - Establishing pain management protocols
29
+ - Setting patient-centered goals using SMART criteria
30
+ - Coordinating multidisciplinary care across specialties
31
+ - Ensuring regulatory compliance in treatment documentation
32
+ - Generating professional treatment plans for medical records
33
+
34
+ ## Visual Enhancement with Scientific Schematics
35
+
36
+ **⚠️ MANDATORY: Every treatment plan MUST include at least 1 AI-generated figure using the scientific-schematics skill.**
37
+
38
+ This is not optional. Treatment plans benefit greatly from visual elements. Before finalizing any document:
39
+ 1. Generate at minimum ONE schematic or diagram (e.g., treatment pathway flowchart, care coordination diagram, or therapy timeline)
40
+ 2. For complex plans: include decision algorithm flowchart
41
+ 3. For rehabilitation plans: include milestone progression diagram
42
+
43
+ **How to generate figures:**
44
+ - Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
45
+ - Simply describe your desired diagram in natural language
46
+ - Nano Banana Pro will automatically generate, review, and refine the schematic
47
+
48
+ **How to generate schematics:**
49
+ ```bash
50
+ python scripts/generate_schematic.py "your diagram description" -o figures/output.png
51
+ ```
52
+
53
+ The AI will automatically:
54
+ - Create publication-quality images with proper formatting
55
+ - Review and refine through multiple iterations
56
+ - Ensure accessibility (colorblind-friendly, high contrast)
57
+ - Save outputs in the figures/ directory
58
+
59
+ **When to add schematics:**
60
+ - Treatment pathway flowcharts
61
+ - Care coordination diagrams
62
+ - Therapy progression timelines
63
+ - Multidisciplinary team interaction diagrams
64
+ - Medication management flowcharts
65
+ - Rehabilitation protocol visualizations
66
+ - Clinical decision algorithm diagrams
67
+ - Any complex concept that benefits from visualization
68
+
69
+ For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
70
+
71
+ ---
72
+
73
+ ## Document Format and Best Practices
74
+
75
+ ### Document Length Options
76
+
77
+ Treatment plans come in three format options based on clinical complexity and use case:
78
+
79
+ #### Option 1: One-Page Treatment Plan (PREFERRED for most cases)
80
+
81
+ **When to use**: Straightforward clinical scenarios, standard protocols, busy clinical settings
82
+
83
+ **Format**: Single page containing all essential treatment information in scannable sections
84
+ - No table of contents needed
85
+ - No extensive narratives
86
+ - Focused on actionable items only
87
+ - Similar to precision oncology reports or treatment recommendation cards
88
+
89
+ **Required sections** (all on one page):
90
+ 1. **Header Box**: Patient info, diagnosis, date, molecular/risk profile if applicable
91
+ 2. **Treatment Regimen**: Numbered list of specific interventions
92
+ 3. **Supportive Care**: Brief bullet points
93
+ 4. **Rationale**: 1-2 sentence justification (optional for standard protocols)
94
+ 5. **Monitoring**: Key parameters and frequency
95
+ 6. **Evidence Level**: Guideline reference or evidence grade (e.g., "Level 1, FDA approved")
96
+ 7. **Expected Outcome**: Timeline and success metrics
97
+
98
+ **Design principles**:
99
+ - Use small boxes/tables for organization (like the clinical treatment recommendation card format)
100
+ - Eliminate all non-essential text
101
+ - Use abbreviations familiar to clinicians
102
+ - Dense information layout - maximize information per square inch
103
+ - Think "quick reference card" not "comprehensive documentation"
104
+
105
+ **Example structure**:
106
+ ```latex
107
+ [Patient ID/Diagnosis Box at top]
108
+
109
+ TARGET PATIENT POPULATION
110
+ Number of patients, demographics, key features
111
+
112
+ PRIMARY TREATMENT REGIMEN
113
+ • Medication 1: dose, frequency, duration
114
+ • Procedure: specific details
115
+ • Monitoring: what and when
116
+
117
+ SUPPORTIVE CARE
118
+ • Key supportive medications
119
+
120
+ RATIONALE
121
+ Brief clinical justification
122
+
123
+ MOLECULAR TARGETS / RISK FACTORS
124
+ Relevant biomarkers or risk stratification
125
+
126
+ EVIDENCE LEVEL
127
+ Guideline reference, trial data
128
+
129
+ MONITORING REQUIREMENTS
130
+ Key labs/vitals, frequency
131
+
132
+ EXPECTED CLINICAL BENEFIT
133
+ Primary endpoint, timeline
134
+ ```
135
+
136
+ #### Option 2: Standard 3-4 Page Format
137
+
138
+ **When to use**: Moderate complexity, need for patient education materials, multidisciplinary coordination
139
+
140
+ Uses the Foundation Medicine first-page summary model with 2-3 additional pages of details.
141
+
142
+ #### Option 3: Extended 5-6 Page Format
143
+
144
+ **When to use**: Complex comorbidities, research protocols, extensive safety monitoring required
145
+
146
+ ### First Page Summary (Foundation Medicine Model)
147
+
148
+ **CRITICAL REQUIREMENT: All treatment plans MUST have a complete executive summary on the first page ONLY, before any table of contents or detailed sections.**
149
+
150
+ Following the Foundation Medicine model for precision medicine reporting and clinical summary documents, treatment plans begin with a one-page executive summary that provides immediate access to key actionable information. This entire summary must fit on the first page.
151
+
152
+ **Required First Page Structure (in order):**
153
+
154
+ 1. **Title and Subtitle**
155
+ - Main title: Treatment plan type (e.g., "Comprehensive Treatment Plan")
156
+ - Subtitle: Specific condition or focus (e.g., "Type 2 Diabetes Mellitus - Young Adult Patient")
157
+
158
+ 2. **Report Information Box** (using `\begin{infobox}` or `\begin{patientinfo}`)
159
+ - Report type/document purpose
160
+ - Date of plan creation
161
+ - Patient demographics (age, sex, de-identified)
162
+ - Primary diagnosis with ICD-10 code
163
+ - Report author/clinic (if applicable)
164
+ - Analysis approach or framework used
165
+
166
+ 3. **Key Findings or Treatment Highlights** (2-4 colored boxes using appropriate box types)
167
+ - **Primary Treatment Goals** (using `\begin{goalbox}`)
168
+ - 2-3 SMART goals in bullet format
169
+ - **Main Interventions** (using `\begin{keybox}` or `\begin{infobox}`)
170
+ - 2-3 key interventions (pharmacological, non-pharmacological, monitoring)
171
+ - **Critical Decision Points** (using `\begin{warningbox}` if urgent)
172
+ - Important monitoring thresholds or safety considerations
173
+ - **Timeline Overview** (using `\begin{infobox}`)
174
+ - Brief treatment duration/phases
175
+ - Key milestone dates
176
+
177
+ **Visual Format Requirements:**
178
+ - Use `\thispagestyle{empty}` to remove page numbers from first page
179
+ - All content must fit on page 1 (before `\newpage`)
180
+ - Use colored boxes (tcolorbox package) with different colors for different information types
181
+ - Boxes should be visually prominent and easy to scan
182
+ - Use concise, bullet-point format
183
+ - Table of contents (if included) starts on page 2
184
+ - Detailed sections start on page 3
185
+
186
+ **Example First Page Structure:**
187
+ ```latex
188
+ \maketitle
189
+ \thispagestyle{empty}
190
+
191
+ % Report Information Box
192
+ \begin{patientinfo}
193
+ Report Type, Date, Patient Info, Diagnosis, etc.
194
+ \end{patientinfo}
195
+
196
+ % Key Finding #1: Treatment Goals
197
+ \begin{goalbox}[Primary Treatment Goals]
198
+ • Goal 1
199
+ • Goal 2
200
+ • Goal 3
201
+ \end{goalbox}
202
+
203
+ % Key Finding #2: Main Interventions
204
+ \begin{keybox}[Core Interventions]
205
+ • Intervention 1
206
+ • Intervention 2
207
+ • Intervention 3
208
+ \end{keybox}
209
+
210
+ % Key Finding #3: Critical Monitoring (if applicable)
211
+ \begin{warningbox}[Critical Decision Points]
212
+ • Decision point 1
213
+ • Decision point 2
214
+ \end{warningbox}
215
+
216
+ \newpage
217
+ \tableofcontents % TOC on page 2
218
+ \newpage % Detailed content starts page 3
219
+ ```
220
+
221
+ ### Concise Documentation
222
+
223
+ **CRITICAL: Treatment plans MUST prioritize brevity and clinical relevance. Default to 3-4 pages maximum unless clinical complexity absolutely demands more detail.**
224
+
225
+ Treatment plans should prioritize **clarity and actionability** over exhaustive detail:
226
+
227
+ - **Focused**: Include only clinically essential information that impacts care decisions
228
+ - **Actionable**: Emphasize what needs to be done, when, and why
229
+ - **Efficient**: Facilitate quick decision-making without sacrificing clinical quality
230
+ - **Target length options**:
231
+ - **1-page format** (preferred for straightforward cases): Quick-reference card with all essential information
232
+ - **3-4 pages standard**: Standard format with first-page summary + supporting details
233
+ - **5-6 pages** (rare): Only for highly complex cases with multiple comorbidities or multidisciplinary interventions
234
+
235
+ **Streamlining Guidelines:**
236
+ - **First Page Summary**: Use individual colored boxes to consolidate key information (goals, interventions, decision points) - this alone can often convey the essential treatment plan
237
+ - **Eliminate Redundancy**: If information is in the first-page summary, don't repeat it verbatim in detailed sections
238
+ - **Patient Education section**: 3-5 key bullet points on critical topics and warning signs only
239
+ - **Risk Mitigation section**: Highlight only critical medication safety concerns and emergency actions (not exhaustive lists)
240
+ - **Expected Outcomes section**: 2-3 concise statements on anticipated responses and timelines
241
+ - **Interventions**: Focus on primary interventions; secondary/supportive measures in brief bullet format
242
+ - **Use tables and bullet points** extensively for efficient presentation
243
+ - **Avoid narrative prose** where structured lists suffice
244
+ - **Combine related sections** when appropriate to reduce page count
245
+
246
+ ### Quality Over Quantity
247
+
248
+ The goal is professional, clinically complete documentation that respects clinicians' time while ensuring comprehensive patient care. Every section should add value; remove or condense sections that don't directly inform treatment decisions.
249
+
250
+ ### Citations and Evidence Support
251
+
252
+ **Use minimal, targeted citations to support clinical recommendations:**
253
+
254
+ - **Text Citations Preferred**: Use brief in-text citations (Author Year) or simple references rather than extensive bibliographies unless specifically requested
255
+ - **When to Cite**:
256
+ - Clinical practice guideline recommendations (e.g., "per ADA 2024 guidelines")
257
+ - Specific medication dosing or protocols (e.g., "ACC/AHA recommendations")
258
+ - Novel or controversial interventions requiring evidence support
259
+ - Risk stratification tools or validated assessment scales
260
+ - **When NOT to Cite**:
261
+ - Standard-of-care interventions widely accepted in the field
262
+ - Basic medical facts and routine clinical practices
263
+ - General patient education content
264
+ - **Citation Format**:
265
+ - Inline: "Initiate metformin as first-line therapy (ADA Standards of Care 2024)"
266
+ - Minimal: "Treatment follows ACC/AHA heart failure guidelines"
267
+ - Avoid formal numbered references and extensive bibliography sections unless document is for academic/research purposes
268
+ - **Keep it Brief**: A 3-4 page treatment plan should have 0-3 citations maximum, only where essential for clinical credibility or novel recommendations
269
+
270
+ ## Core Capabilities
271
+
272
+ ### 1. General Medical Treatment Plans
273
+
274
+ General medical treatment plans address common chronic conditions and acute medical issues requiring structured therapeutic interventions.
275
+
276
+ #### Standard Components
277
+
278
+ **Patient Information (De-identified)**
279
+ - Demographics (age, sex, relevant medical background)
280
+ - Active medical conditions and comorbidities
281
+ - Current medications and allergies
282
+ - Relevant social and family history
283
+ - Functional status and baseline assessments
284
+ - **HIPAA Compliance**: Remove all 18 identifiers per Safe Harbor method
285
+
286
+ **Diagnosis and Assessment Summary**
287
+ - Primary diagnosis with ICD-10 code
288
+ - Secondary diagnoses and comorbidities
289
+ - Severity classification and staging
290
+ - Functional limitations and quality of life impact
291
+ - Risk stratification (e.g., cardiovascular risk, fall risk)
292
+ - Prognostic indicators
293
+
294
+ **Treatment Goals (SMART Format)**
295
+
296
+ Short-term goals (1-3 months):
297
+ - **Specific**: Clearly defined outcome (e.g., "Reduce HbA1c to <7%")
298
+ - **Measurable**: Quantifiable metrics (e.g., "Decrease systolic BP by 10 mmHg")
299
+ - **Achievable**: Realistic given patient capabilities
300
+ - **Relevant**: Aligned with patient priorities and values
301
+ - **Time-bound**: Specific timeframe (e.g., "within 8 weeks")
302
+
303
+ Long-term goals (6-12 months):
304
+ - Disease control or remission targets
305
+ - Functional improvement objectives
306
+ - Quality of life enhancement
307
+ - Prevention of complications
308
+ - Maintenance of independence
309
+
310
+ **Interventions**
311
+
312
+ *Pharmacological*:
313
+ - Medications with specific dosages, routes, frequencies
314
+ - Titration schedules and target doses
315
+ - Drug-drug interaction considerations
316
+ - Monitoring for adverse effects
317
+ - Medication reconciliation
318
+
319
+ *Non-pharmacological*:
320
+ - Lifestyle modifications (diet, exercise, smoking cessation)
321
+ - Behavioral interventions
322
+ - Patient education and self-management
323
+ - Monitoring and self-tracking (glucose, blood pressure, weight)
324
+ - Assistive devices or adaptive equipment
325
+
326
+ *Procedural*:
327
+ - Planned procedures or interventions
328
+ - Referrals to specialists
329
+ - Diagnostic testing schedule
330
+ - Preventive care (vaccinations, screenings)
331
+
332
+ **Timeline and Schedule**
333
+ - Treatment phases with specific timeframes
334
+ - Appointment frequency (weekly, monthly, quarterly)
335
+ - Milestone assessments and goal evaluations
336
+ - Medication adjustments schedule
337
+ - Expected duration of treatment
338
+
339
+ **Monitoring Parameters**
340
+ - Clinical outcomes to track (vital signs, lab values, symptoms)
341
+ - Assessment tools and scales (e.g., PHQ-9, pain scales)
342
+ - Frequency of monitoring
343
+ - Thresholds for intervention or escalation
344
+ - Patient-reported outcomes
345
+
346
+ **Expected Outcomes**
347
+ - Primary outcome measures
348
+ - Success criteria and benchmarks
349
+ - Expected timeline for improvement
350
+ - Criteria for treatment modification
351
+ - Long-term prognosis
352
+
353
+ **Follow-up Plan**
354
+ - Scheduled appointments and reassessments
355
+ - Communication plan (phone calls, secure messaging)
356
+ - Emergency contact procedures
357
+ - Criteria for urgent evaluation
358
+ - Transition or discharge planning
359
+
360
+ **Patient Education**
361
+ - Understanding of condition and treatment rationale
362
+ - Self-management skills training
363
+ - Medication administration and adherence
364
+ - Warning signs and when to seek help
365
+ - Resources and support services
366
+
367
+ **Risk Mitigation**
368
+ - Potential adverse effects and management
369
+ - Drug interactions and contraindications
370
+ - Fall prevention, infection prevention
371
+ - Emergency action plans
372
+ - Safety monitoring
373
+
374
+ #### Common Applications
375
+
376
+ - Diabetes mellitus management
377
+ - Hypertension control
378
+ - Heart failure treatment
379
+ - COPD management
380
+ - Asthma care plans
381
+ - Hyperlipidemia treatment
382
+ - Osteoarthritis management
383
+ - Chronic kidney disease
384
+
385
+ ### 2. Rehabilitation Treatment Plans
386
+
387
+ Rehabilitation plans focus on restoring function, improving mobility, and enhancing quality of life through structured therapeutic programs.
388
+
389
+ #### Core Components
390
+
391
+ **Functional Assessment**
392
+ - Baseline functional status (ADLs, IADLs)
393
+ - Range of motion, strength, balance, endurance
394
+ - Gait analysis and mobility assessment
395
+ - Standardized measures (FIM, Barthel Index, Berg Balance Scale)
396
+ - Environmental assessment (home safety, accessibility)
397
+
398
+ **Rehabilitation Goals**
399
+
400
+ *Impairment-level goals*:
401
+ - Improve shoulder flexion to 140 degrees
402
+ - Increase quadriceps strength by 2/5 MMT grades
403
+ - Enhance balance (Berg Score >45/56)
404
+
405
+ *Activity-level goals*:
406
+ - Independent ambulation 150 feet with assistive device
407
+ - Climb 12 stairs with handrail supervision
408
+ - Transfer bed-to-chair independently
409
+
410
+ *Participation-level goals*:
411
+ - Return to work with modifications
412
+ - Resume recreational activities
413
+ - Independent community mobility
414
+
415
+ **Therapeutic Interventions**
416
+
417
+ *Physical Therapy*:
418
+ - Therapeutic exercises (strengthening, stretching, endurance)
419
+ - Manual therapy techniques
420
+ - Gait training and balance activities
421
+ - Modalities (heat, ice, electrical stimulation, ultrasound)
422
+ - Assistive device training
423
+
424
+ *Occupational Therapy*:
425
+ - ADL training (bathing, dressing, grooming, feeding)
426
+ - Upper extremity strengthening and coordination
427
+ - Adaptive equipment and modifications
428
+ - Energy conservation techniques
429
+ - Cognitive rehabilitation
430
+
431
+ *Speech-Language Pathology*:
432
+ - Swallowing therapy and dysphagia management
433
+ - Communication strategies and augmentative devices
434
+ - Cognitive-linguistic therapy
435
+ - Voice therapy
436
+
437
+ *Other Services*:
438
+ - Recreational therapy
439
+ - Aquatic therapy
440
+ - Cardiac rehabilitation
441
+ - Pulmonary rehabilitation
442
+ - Vestibular rehabilitation
443
+
444
+ **Treatment Schedule**
445
+ - Frequency: 3x/week PT, 2x/week OT (example)
446
+ - Session duration: 45-60 minutes
447
+ - Treatment phase durations (acute, subacute, maintenance)
448
+ - Expected total duration: 8-12 weeks
449
+ - Reassessment intervals
450
+
451
+ **Progress Monitoring**
452
+ - Weekly functional assessments
453
+ - Standardized outcome measures
454
+ - Goal attainment scaling
455
+ - Pain and symptom tracking
456
+ - Patient satisfaction
457
+
458
+ **Home Exercise Program**
459
+ - Specific exercises with repetitions/sets/frequency
460
+ - Precautions and safety instructions
461
+ - Progression criteria
462
+ - Self-monitoring strategies
463
+
464
+ #### Specialty Rehabilitation
465
+
466
+ - Post-stroke rehabilitation
467
+ - Orthopedic rehabilitation (joint replacement, fracture)
468
+ - Cardiac rehabilitation (post-MI, post-surgery)
469
+ - Pulmonary rehabilitation
470
+ - Vestibular rehabilitation
471
+ - Neurological rehabilitation
472
+ - Sports injury rehabilitation
473
+
474
+ ### 3. Mental Health Treatment Plans
475
+
476
+ Mental health treatment plans address psychiatric conditions through integrated psychotherapeutic, pharmacological, and psychosocial interventions.
477
+
478
+ #### Essential Components
479
+
480
+ **Psychiatric Assessment**
481
+ - Primary psychiatric diagnosis (DSM-5 criteria)
482
+ - Symptom severity and functional impairment
483
+ - Co-occurring mental health conditions
484
+ - Substance use assessment
485
+ - Suicide/homicide risk assessment
486
+ - Trauma history and PTSD screening
487
+ - Social determinants of mental health
488
+
489
+ **Treatment Goals**
490
+
491
+ *Symptom reduction*:
492
+ - Decrease depression severity (PHQ-9 score from 18 to <10)
493
+ - Reduce anxiety symptoms (GAD-7 score <5)
494
+ - Improve sleep quality (Pittsburgh Sleep Quality Index)
495
+ - Stabilize mood (reduced mood episodes)
496
+
497
+ *Functional improvement*:
498
+ - Return to work or school
499
+ - Improve social relationships and support
500
+ - Enhance coping skills and emotional regulation
501
+ - Increase engagement in meaningful activities
502
+
503
+ *Recovery-oriented goals*:
504
+ - Build resilience and self-efficacy
505
+ - Develop crisis management skills
506
+ - Establish sustainable wellness routines
507
+ - Achieve personal recovery goals
508
+
509
+ **Therapeutic Interventions**
510
+
511
+ *Psychotherapy*:
512
+ - Evidence-based modality (CBT, DBT, ACT, psychodynamic, IPT)
513
+ - Session frequency (weekly, biweekly)
514
+ - Treatment duration (12-16 weeks, ongoing)
515
+ - Specific techniques and targets
516
+ - Group therapy participation
517
+
518
+ *Psychopharmacology*:
519
+ - Medication class and rationale
520
+ - Starting dose and titration schedule
521
+ - Target symptoms
522
+ - Expected response timeline (2-4 weeks for antidepressants)
523
+ - Side effect monitoring
524
+ - Combination therapy considerations
525
+
526
+ *Psychosocial Interventions*:
527
+ - Case management services
528
+ - Peer support programs
529
+ - Family therapy or psychoeducation
530
+ - Vocational rehabilitation
531
+ - Supported housing or community integration
532
+ - Substance abuse treatment
533
+
534
+ **Safety Planning**
535
+ - Crisis contacts and emergency services
536
+ - Warning signs and triggers
537
+ - Coping strategies and self-soothing techniques
538
+ - Safe environment modifications
539
+ - Means restriction (firearms, medications)
540
+ - Support system activation
541
+
542
+ **Monitoring and Assessment**
543
+ - Symptom rating scales (weekly or biweekly)
544
+ - Medication adherence and side effects
545
+ - Suicidal ideation screening
546
+ - Functional status assessments
547
+ - Treatment engagement and therapeutic alliance
548
+
549
+ **Patient and Family Education**
550
+ - Psychoeducation about diagnosis
551
+ - Treatment rationale and expectations
552
+ - Medication information
553
+ - Relapse prevention strategies
554
+ - Community resources
555
+
556
+ #### Mental Health Conditions
557
+
558
+ - Major depressive disorder
559
+ - Anxiety disorders (GAD, panic, social anxiety)
560
+ - Bipolar disorder
561
+ - Schizophrenia and psychotic disorders
562
+ - PTSD and trauma-related disorders
563
+ - Eating disorders
564
+ - Substance use disorders
565
+ - Personality disorders
566
+
567
+ ### 4. Chronic Disease Management Plans
568
+
569
+ Comprehensive long-term care plans for chronic conditions requiring ongoing monitoring, treatment adjustments, and multidisciplinary coordination.
570
+
571
+ #### Key Features
572
+
573
+ **Disease-Specific Targets**
574
+ - Evidence-based treatment goals per guidelines
575
+ - Stage-appropriate interventions
576
+ - Complication prevention strategies
577
+ - Disease progression monitoring
578
+
579
+ **Self-Management Support**
580
+ - Patient activation and engagement
581
+ - Shared decision-making
582
+ - Action plans for symptom changes
583
+ - Technology-enabled monitoring (apps, remote monitoring)
584
+
585
+ **Care Coordination**
586
+ - Primary care physician oversight
587
+ - Specialist consultations and co-management
588
+ - Care transitions (hospital to home)
589
+ - Medication management across providers
590
+ - Communication protocols
591
+
592
+ **Population Health Integration**
593
+ - Registry tracking and outreach
594
+ - Preventive care and screening schedules
595
+ - Quality measure reporting
596
+ - Care gaps identification
597
+
598
+ #### Applicable Conditions
599
+
600
+ - Type 1 and Type 2 diabetes
601
+ - Cardiovascular disease (CHF, CAD)
602
+ - Chronic respiratory diseases (COPD, asthma)
603
+ - Chronic kidney disease
604
+ - Inflammatory bowel disease
605
+ - Rheumatoid arthritis and autoimmune conditions
606
+ - HIV/AIDS
607
+ - Cancer survivorship care
608
+
609
+ ### 5. Perioperative Care Plans
610
+
611
+ Structured plans for surgical and procedural patients covering preoperative preparation, intraoperative management, and postoperative recovery.
612
+
613
+ #### Components
614
+
615
+ **Preoperative Assessment**
616
+ - Surgical indication and planned procedure
617
+ - Preoperative risk stratification (ASA class, cardiac risk)
618
+ - Optimization of medical conditions
619
+ - Medication management (continuation, discontinuation)
620
+ - Preoperative testing and clearances
621
+ - Informed consent and patient education
622
+
623
+ **Perioperative Interventions**
624
+ - Enhanced recovery after surgery (ERAS) protocols
625
+ - Venous thromboembolism prophylaxis
626
+ - Antibiotic prophylaxis
627
+ - Glycemic control strategies
628
+ - Pain management plan (multimodal analgesia)
629
+
630
+ **Postoperative Care**
631
+ - Immediate recovery goals (24-48 hours)
632
+ - Early mobilization protocols
633
+ - Diet advancement
634
+ - Wound care and drain management
635
+ - Pain control regimen
636
+ - Complication monitoring
637
+
638
+ **Discharge Planning**
639
+ - Activity restrictions and progression
640
+ - Medication reconciliation
641
+ - Follow-up appointments
642
+ - Home health or rehabilitation services
643
+ - Return-to-work timeline
644
+
645
+ ### 6. Pain Management Plans
646
+
647
+ Multimodal approaches to acute and chronic pain using evidence-based interventions and opioid-sparing strategies.
648
+
649
+ #### Comprehensive Components
650
+
651
+ **Pain Assessment**
652
+ - Pain location, quality, intensity (0-10 scale)
653
+ - Temporal pattern (constant, intermittent, breakthrough)
654
+ - Aggravating and alleviating factors
655
+ - Functional impact (sleep, activities, mood)
656
+ - Previous treatments and responses
657
+ - Psychosocial contributors
658
+
659
+ **Multimodal Interventions**
660
+
661
+ *Pharmacological*:
662
+ - Non-opioid analgesics (acetaminophen, NSAIDs)
663
+ - Adjuvant medications (antidepressants, anticonvulsants, muscle relaxants)
664
+ - Topical agents (lidocaine, capsaicin, diclofenac)
665
+ - Opioid therapy (when appropriate, with risk mitigation)
666
+ - Titration and rotation strategies
667
+
668
+ *Interventional Procedures*:
669
+ - Nerve blocks and injections
670
+ - Radiofrequency ablation
671
+ - Spinal cord stimulation
672
+ - Intrathecal drug delivery
673
+
674
+ *Non-pharmacological*:
675
+ - Physical therapy and exercise
676
+ - Cognitive-behavioral therapy for pain
677
+ - Mindfulness and relaxation techniques
678
+ - Acupuncture
679
+ - TENS units
680
+
681
+ **Opioid Safety (when prescribed)**
682
+ - Indication and planned duration
683
+ - Prescription drug monitoring program (PDMP) check
684
+ - Opioid risk assessment tools
685
+ - Naloxone prescription
686
+ - Treatment agreements
687
+ - Random urine drug screening
688
+ - Frequent follow-up and reassessment
689
+
690
+ **Functional Goals**
691
+ - Specific activity improvements
692
+ - Sleep quality enhancement
693
+ - Reduced pain interference
694
+ - Improved quality of life
695
+ - Return to work or meaningful activities
696
+
697
+ ## Best Practices
698
+
699
+ ### Brevity and Focus (HIGHEST PRIORITY)
700
+
701
+ **Treatment plans MUST be concise and focused on actionable clinical information:**
702
+
703
+ - **1-page format is PREFERRED**: For most clinical scenarios, a single-page treatment plan (like precision oncology reports) provides all necessary information
704
+ - **Default to shortest format possible**: Start with 1-page; only expand if clinical complexity genuinely requires it
705
+ - **Every sentence must add value**: If a section doesn't change clinical decision-making, omit it entirely
706
+ - **Think "quick reference card" not "comprehensive textbook"**: Busy clinicians need scannable, dense information
707
+ - **Avoid academic verbosity**: This is clinical documentation, not a literature review or teaching document
708
+ - **Maximum lengths by complexity**:
709
+ - Simple/standard cases: 1 page
710
+ - Moderate complexity: 3-4 pages (first-page summary + details)
711
+ - High complexity (rare): 5-6 pages maximum
712
+
713
+ ### First Page Summary (Most Important)
714
+
715
+ **ALWAYS create a one-page executive summary as the first page:**
716
+ - The first page must contain ONLY: Title, Report Info Box, and Key Findings boxes
717
+ - This provides an at-a-glance overview similar to precision medicine reports
718
+ - Table of contents and detailed sections start on page 2 or later
719
+ - Think of it as a "clinical highlights" page that a busy clinician can scan in 30 seconds
720
+ - Use 2-4 colored boxes for different key findings (goals, interventions, decision points)
721
+ - **A strong first page can often stand alone** - subsequent pages are for details, not repetition
722
+
723
+ ### SMART Goal Setting
724
+
725
+ All treatment goals should meet SMART criteria:
726
+
727
+ - **Specific**: "Improve HbA1c to <7%" not "Better diabetes control"
728
+ - **Measurable**: Use quantifiable metrics, validated scales, objective measures
729
+ - **Achievable**: Consider patient capabilities, resources, social support
730
+ - **Relevant**: Align with patient values, priorities, and life circumstances
731
+ - **Time-bound**: Define clear timeframes for goal achievement and reassessment
732
+
733
+ ### Patient-Centered Care
734
+
735
+ ✓ **Shared Decision-Making**: Involve patients in goal-setting and treatment choices
736
+ ✓ **Cultural Competence**: Respect cultural beliefs, language preferences, health literacy
737
+ ✓ **Patient Preferences**: Honor treatment preferences and personal values
738
+ ✓ **Individualization**: Tailor plans to patient's unique circumstances
739
+ ✓ **Empowerment**: Support patient activation and self-management
740
+
741
+ ### Evidence-Based Practice
742
+
743
+ ✓ **Clinical Guidelines**: Follow current specialty society recommendations
744
+ ✓ **Quality Measures**: Incorporate HEDIS, CMS quality measures
745
+ ✓ **Comparative Effectiveness**: Use treatments with proven efficacy
746
+ ✓ **Avoid Low-Value Care**: Eliminate unnecessary tests and interventions
747
+ ✓ **Stay Current**: Update plans based on emerging evidence
748
+
749
+ ### Documentation Standards
750
+
751
+ ✓ **Completeness**: Include all required elements
752
+ ✓ **Clarity**: Use clear, professional medical language
753
+ ✓ **Accuracy**: Ensure factual correctness and current information
754
+ ✓ **Timeliness**: Document plans promptly
755
+ ✓ **Legibility**: Professional formatting and organization
756
+ ✓ **Signature and Date**: Authenticate all treatment plans
757
+
758
+ ### Regulatory Compliance
759
+
760
+ ✓ **HIPAA Privacy**: De-identify all protected health information
761
+ ✓ **Informed Consent**: Document patient understanding and agreement
762
+ ✓ **Billing Support**: Include documentation to support medical necessity
763
+ ✓ **Quality Reporting**: Enable extraction of quality metrics
764
+ ✓ **Legal Protection**: Maintain defensible clinical documentation
765
+
766
+ ### Multidisciplinary Coordination
767
+
768
+ ✓ **Team Communication**: Share plans across care team
769
+ ✓ **Role Clarity**: Define responsibilities for each team member
770
+ ✓ **Care Transitions**: Ensure continuity across settings
771
+ ✓ **Specialist Integration**: Coordinate with subspecialty care
772
+ ✓ **Patient-Centered Medical Home**: Align with PCMH principles
773
+
774
+ ## LaTeX Template Usage
775
+
776
+ ### Template Selection
777
+
778
+ Choose the appropriate template based on clinical context and desired length:
779
+
780
+ #### Concise Templates (PREFERRED)
781
+
782
+ 1. **one_page_treatment_plan.tex** - **FIRST CHOICE** for most cases
783
+ - All clinical specialties
784
+ - Standard protocols and straightforward cases
785
+ - Quick-reference format similar to precision oncology reports
786
+ - Dense, scannable, clinician-focused
787
+ - Use this unless complexity demands more detail
788
+
789
+ #### Standard Templates (3-4 pages)
790
+
791
+ Use only when one-page format is insufficient due to complexity:
792
+
793
+ 2. **general_medical_treatment_plan.tex** - Primary care, chronic disease, general medicine
794
+ 3. **rehabilitation_treatment_plan.tex** - PT/OT, post-surgery, injury recovery
795
+ 4. **mental_health_treatment_plan.tex** - Psychiatric conditions, behavioral health
796
+ 5. **chronic_disease_management_plan.tex** - Complex chronic diseases, multiple conditions
797
+ 6. **perioperative_care_plan.tex** - Surgical patients, procedural care
798
+ 7. **pain_management_plan.tex** - Acute or chronic pain conditions
799
+
800
+ **Note**: Even when using standard templates, adapt them to be concise (3-4 pages max) by removing non-essential sections.
801
+
802
+ ### Template Structure
803
+
804
+ All LaTeX templates include:
805
+ - Professional formatting with appropriate margins and fonts
806
+ - Structured sections for all required components
807
+ - Tables for medications, interventions, timelines
808
+ - Goal-tracking sections with SMART criteria
809
+ - Space for provider signatures and dates
810
+ - HIPAA-compliant de-identification guidance
811
+ - Comments with detailed instructions
812
+
813
+ ### Generating PDFs
814
+
815
+ ```bash
816
+ # Compile LaTeX template to PDF
817
+ pdflatex general_medical_treatment_plan.tex
818
+
819
+ # For templates with references
820
+ pdflatex treatment_plan.tex
821
+ bibtex treatment_plan
822
+ pdflatex treatment_plan.tex
823
+ pdflatex treatment_plan.tex
824
+ ```
825
+
826
+ ## Validation and Quality Assurance
827
+
828
+ ### Completeness Checking
829
+
830
+ Use validation scripts to ensure all required sections are present:
831
+
832
+ ```bash
833
+ python check_completeness.py my_treatment_plan.tex
834
+ ```
835
+
836
+ The script checks for:
837
+ - Patient information section
838
+ - Diagnosis and assessment
839
+ - SMART goals (short-term and long-term)
840
+ - Interventions (pharmacological, non-pharmacological)
841
+ - Timeline and schedule
842
+ - Monitoring parameters
843
+ - Expected outcomes
844
+ - Follow-up plan
845
+ - Patient education
846
+ - Risk mitigation
847
+
848
+ ### Treatment Plan Validation
849
+
850
+ Comprehensive validation of treatment plan quality:
851
+
852
+ ```bash
853
+ python validate_treatment_plan.py my_treatment_plan.tex
854
+ ```
855
+
856
+ Validation includes:
857
+ - SMART goal criteria assessment
858
+ - Evidence-based intervention verification
859
+ - Timeline feasibility check
860
+ - Monitoring parameter adequacy
861
+ - Safety and risk mitigation review
862
+ - Regulatory compliance check
863
+
864
+ ### Quality Checklist
865
+
866
+ Review treatment plans against the quality checklist (`quality_checklist.md`):
867
+
868
+ **Clinical Quality**
869
+ - [ ] Diagnosis is accurate and properly coded (ICD-10)
870
+ - [ ] Goals are SMART and patient-centered
871
+ - [ ] Interventions are evidence-based and guideline-concordant
872
+ - [ ] Timeline is realistic and clearly defined
873
+ - [ ] Monitoring plan is comprehensive
874
+ - [ ] Safety considerations are addressed
875
+
876
+ **Patient-Centered Care**
877
+ - [ ] Patient preferences and values incorporated
878
+ - [ ] Shared decision-making documented
879
+ - [ ] Health literacy appropriate language
880
+ - [ ] Cultural considerations addressed
881
+ - [ ] Patient education plan included
882
+
883
+ **Regulatory Compliance**
884
+ - [ ] HIPAA-compliant de-identification
885
+ - [ ] Medical necessity documented
886
+ - [ ] Informed consent noted
887
+ - [ ] Provider signature and credentials
888
+ - [ ] Date of plan creation/revision
889
+
890
+ **Coordination and Communication**
891
+ - [ ] Specialist referrals documented
892
+ - [ ] Care team roles defined
893
+ - [ ] Follow-up schedule clear
894
+ - [ ] Emergency contacts provided
895
+ - [ ] Transition planning addressed
896
+
897
+ ## Integration with Other Skills
898
+
899
+ ### Clinical Reports Integration
900
+
901
+ Treatment plans often accompany other clinical documentation:
902
+
903
+ - **SOAP Notes** (`clinical-reports` skill): Document ongoing implementation
904
+ - **H&P** (`clinical-reports` skill): Initial assessment informs treatment plan
905
+ - **Discharge Summaries** (`clinical-reports` skill): Summarize treatment plan execution
906
+ - **Progress Notes**: Track goal achievement and plan modifications
907
+
908
+ ### Scientific Writing Integration
909
+
910
+ Evidence-based treatment planning requires literature support:
911
+
912
+ - **Citation Management** (`citation-management` skill): Reference clinical guidelines
913
+ - **Literature Review** (`literature-review` skill): Understand treatment evidence base
914
+ - **Research Lookup** (`research-lookup` skill): Find current best practices
915
+ - **Venue Templates** (`venue-templates` skill): For publication-ready medical writing style
916
+
917
+ **Medical Writing Style:** When preparing treatment-related content for publication (case reports, clinical guidelines), consult the venue-templates skill's `medical_journal_styles.md` for guidance on evidence-graded language, patient-centered terminology, and structured abstract formats used in NEJM, Lancet, JAMA, and BMJ.
918
+
919
+ ### Research Integration
920
+
921
+ Treatment plans may be developed for clinical trials or research studies:
922
+
923
+ - **Research Grants** (`research-grants` skill): Treatment protocols for funded studies
924
+ - **Clinical Trial Reports** (`clinical-reports` skill): Intervention documentation
925
+
926
+ ## Common Use Cases
927
+
928
+ ### Example 1: Type 2 Diabetes Management
929
+
930
+ **Scenario**: 58-year-old patient with newly diagnosed Type 2 diabetes, HbA1c 8.5%, BMI 32
931
+
932
+ **Template**: `general_medical_treatment_plan.tex`
933
+
934
+ **Goals**:
935
+ - Short-term: Reduce HbA1c to <7.5% in 3 months
936
+ - Long-term: Achieve HbA1c <7%, lose 15 pounds in 6 months
937
+
938
+ **Interventions**:
939
+ - Pharmacological: Metformin 500mg BID, titrate to 1000mg BID
940
+ - Lifestyle: Mediterranean diet, 150 min/week moderate exercise
941
+ - Education: Diabetes self-management education, glucose monitoring
942
+
943
+ ### Example 2: Post-Stroke Rehabilitation
944
+
945
+ **Scenario**: 70-year-old patient s/p left MCA stroke with right hemiparesis
946
+
947
+ **Template**: `rehabilitation_treatment_plan.tex`
948
+
949
+ **Goals**:
950
+ - Short-term: Improve right arm strength 2/5 to 3/5 in 4 weeks
951
+ - Long-term: Independent ambulation 150 feet with cane in 12 weeks
952
+
953
+ **Interventions**:
954
+ - PT 3x/week: Gait training, balance, strengthening
955
+ - OT 3x/week: ADL training, upper extremity function
956
+ - SLP 2x/week: Dysphagia therapy
957
+
958
+ ### Example 3: Major Depressive Disorder
959
+
960
+ **Scenario**: 35-year-old with moderate depression, PHQ-9 score 16
961
+
962
+ **Template**: `mental_health_treatment_plan.tex`
963
+
964
+ **Goals**:
965
+ - Short-term: Reduce PHQ-9 to <10 in 8 weeks
966
+ - Long-term: Achieve remission (PHQ-9 <5), return to work
967
+
968
+ **Interventions**:
969
+ - Psychotherapy: CBT weekly sessions
970
+ - Medication: Sertraline 50mg daily, titrate to 100mg
971
+ - Lifestyle: Sleep hygiene, exercise 30 min 5x/week
972
+
973
+ ### Example 4: Total Knee Arthroplasty
974
+
975
+ **Scenario**: 68-year-old scheduled for right TKA for osteoarthritis
976
+
977
+ **Template**: `perioperative_care_plan.tex`
978
+
979
+ **Preoperative Goals**:
980
+ - Optimize diabetes control (glucose <180)
981
+ - Discontinue anticoagulation per protocol
982
+ - Complete medical clearance
983
+
984
+ **Postoperative Goals**:
985
+ - Ambulate 50 feet by POD 1
986
+ - 90-degree knee flexion by POD 3
987
+ - Discharge home with PT services by POD 2-3
988
+
989
+ ### Example 5: Chronic Low Back Pain
990
+
991
+ **Scenario**: 45-year-old with chronic non-specific low back pain, pain 7/10
992
+
993
+ **Template**: `pain_management_plan.tex`
994
+
995
+ **Goals**:
996
+ - Short-term: Reduce pain to 4/10 in 6 weeks
997
+ - Long-term: Return to work full-time, pain 2-3/10
998
+
999
+ **Interventions**:
1000
+ - Pharmacological: Gabapentin 300mg TID, duloxetine 60mg daily
1001
+ - PT: Core strengthening, McKenzie exercises 2x/week x 8 weeks
1002
+ - Behavioral: CBT for pain, mindfulness meditation
1003
+ - Interventional: Consider lumbar ESI if inadequate response
1004
+
1005
+ ## Professional Standards and Guidelines
1006
+
1007
+ Treatment plans should align with:
1008
+
1009
+ ### General Medicine
1010
+ - American Diabetes Association (ADA) Standards of Care
1011
+ - ACC/AHA Cardiovascular Guidelines
1012
+ - GOLD COPD Guidelines
1013
+ - JNC-8 Hypertension Guidelines
1014
+ - KDIGO Chronic Kidney Disease Guidelines
1015
+
1016
+ ### Rehabilitation
1017
+ - APTA Clinical Practice Guidelines
1018
+ - AOTA Practice Guidelines
1019
+ - Cardiac Rehabilitation Guidelines (AHA/AACVPR)
1020
+ - Stroke Rehabilitation Guidelines
1021
+
1022
+ ### Mental Health
1023
+ - APA Practice Guidelines
1024
+ - VA/DoD Clinical Practice Guidelines
1025
+ - NICE Guidelines (National Institute for Health and Care Excellence)
1026
+ - Cochrane Reviews for psychiatric interventions
1027
+
1028
+ ### Pain Management
1029
+ - CDC Opioid Prescribing Guidelines
1030
+ - AAPM/APS Chronic Pain Guidelines
1031
+ - WHO Pain Ladder
1032
+ - Multimodal Analgesia Best Practices
1033
+
1034
+ ## Timeline Generation
1035
+
1036
+ Use the timeline generator script to create visual treatment timelines:
1037
+
1038
+ ```bash
1039
+ python timeline_generator.py --plan my_treatment_plan.tex --output timeline.pdf
1040
+ ```
1041
+
1042
+ Generates:
1043
+ - Gantt chart of treatment phases
1044
+ - Milestone markers for goal assessments
1045
+ - Medication titration schedules
1046
+ - Follow-up appointment calendar
1047
+ - Intervention intensity over time
1048
+
1049
+ ## Support and Resources
1050
+
1051
+ ### Template Generation
1052
+
1053
+ Interactive template selection:
1054
+
1055
+ ```bash
1056
+ cd .claude/skills/treatment-plans/scripts
1057
+ python generate_template.py
1058
+
1059
+ # Or specify type directly
1060
+ python generate_template.py --type mental_health --output depression_treatment_plan.tex
1061
+ ```
1062
+
1063
+ ### Validation Workflow
1064
+
1065
+ 1. **Create treatment plan** using appropriate LaTeX template
1066
+ 2. **Check completeness**: `python check_completeness.py plan.tex`
1067
+ 3. **Validate quality**: `python validate_treatment_plan.py plan.tex`
1068
+ 4. **Review checklist**: Compare against `quality_checklist.md`
1069
+ 5. **Generate PDF**: `pdflatex plan.tex`
1070
+ 6. **Review with patient**: Ensure understanding and agreement
1071
+ 7. **Implement and document**: Track progress in clinical notes
1072
+
1073
+ ### Additional Resources
1074
+
1075
+ - Clinical practice guidelines from specialty societies
1076
+ - AHRQ Effective Health Care Program
1077
+ - Cochrane Library for intervention evidence
1078
+ - UpToDate and DynaMed for treatment recommendations
1079
+ - CMS Quality Measures and HEDIS specifications
1080
+
1081
+ ## Professional Document Styling
1082
+
1083
+ ### Overview
1084
+
1085
+ Treatment plans can be enhanced with professional medical document styling using the `medical_treatment_plan.sty` LaTeX package. This custom style transforms plain academic documents into visually appealing, color-coded clinical documents that maintain scientific rigor while improving readability and usability.
1086
+
1087
+ ### Medical Treatment Plan Style Package
1088
+
1089
+ The `medical_treatment_plan.sty` package (located in `assets/medical_treatment_plan.sty`) provides:
1090
+
1091
+ **Professional Color Scheme**
1092
+ - **Primary Blue** (RGB: 0, 102, 153): Headers, section titles, primary accents
1093
+ - **Secondary Blue** (RGB: 102, 178, 204): Light backgrounds, subtle accents
1094
+ - **Accent Blue** (RGB: 0, 153, 204): Hyperlinks, key highlights
1095
+ - **Success Green** (RGB: 0, 153, 76): Goals, positive outcomes
1096
+ - **Warning Red** (RGB: 204, 0, 0): Warnings, critical information
1097
+ - **Dark Gray** (RGB: 64, 64, 64): Body text
1098
+ - **Light Gray** (RGB: 245, 245, 245): Background fills
1099
+
1100
+ **Styled Elements**
1101
+ - Custom colored headers and footers with professional rules
1102
+ - Blue section titles with underlines for clear hierarchy
1103
+ - Enhanced table formatting with colored headers and alternating rows
1104
+ - Optimized list spacing with colored bullets and numbering
1105
+ - Professional page layout with appropriate margins
1106
+
1107
+ ### Custom Information Boxes
1108
+
1109
+ The style package includes five specialized box environments for organizing clinical information:
1110
+
1111
+ #### 1. Info Box (Blue Border, Light Gray Background)
1112
+
1113
+ For general information, clinical assessments, and testing schedules:
1114
+
1115
+ ```latex
1116
+ \begin{infobox}[Title]
1117
+ \textbf{Key Information:}
1118
+ \begin{itemize}
1119
+ \item Clinical assessment details
1120
+ \item Testing schedules
1121
+ \item General guidance
1122
+ \end{itemize}
1123
+ \end{infobox}
1124
+ ```
1125
+
1126
+ **Use cases**: Metabolic status, baseline assessments, monitoring schedules, titration protocols
1127
+
1128
+ #### 2. Warning Box (Red Border, Yellow Background)
1129
+
1130
+ For critical decision points, safety protocols, and alerts:
1131
+
1132
+ ```latex
1133
+ \begin{warningbox}[Alert Title]
1134
+ \textbf{Important Safety Information:}
1135
+ \begin{itemize}
1136
+ \item Critical drug interactions
1137
+ \item Safety monitoring requirements
1138
+ \item Red flag symptoms requiring immediate action
1139
+ \end{itemize}
1140
+ \end{warningbox}
1141
+ ```
1142
+
1143
+ **Use cases**: Medication safety, decision points, contraindications, emergency protocols
1144
+
1145
+ #### 3. Goal Box (Green Border, Green-Tinted Background)
1146
+
1147
+ For treatment goals, targets, and success criteria:
1148
+
1149
+ ```latex
1150
+ \begin{goalbox}[Treatment Goals]
1151
+ \textbf{Primary Objectives:}
1152
+ \begin{itemize}
1153
+ \item Reduce HbA1c to <7\% within 3 months
1154
+ \item Achieve 5-7\% weight loss in 12 weeks
1155
+ \item Complete diabetes education program
1156
+ \end{itemize}
1157
+ \end{goalbox}
1158
+ ```
1159
+
1160
+ **Use cases**: SMART goals, target outcomes, success metrics, CGM goals
1161
+
1162
+ #### 4. Key Points Box (Blue Background)
1163
+
1164
+ For executive summaries, key takeaways, and important recommendations:
1165
+
1166
+ ```latex
1167
+ \begin{keybox}[Key Highlights]
1168
+ \textbf{Essential Points:}
1169
+ \begin{itemize}
1170
+ \item Main therapeutic approach
1171
+ \item Critical patient instructions
1172
+ \item Priority interventions
1173
+ \end{itemize}
1174
+ \end{keybox}
1175
+ ```
1176
+
1177
+ **Use cases**: Plan overview, plate method instructions, important dietary guidelines
1178
+
1179
+ #### 5. Emergency Box (Large Red Design)
1180
+
1181
+ For emergency contacts and urgent protocols:
1182
+
1183
+ ```latex
1184
+ \begin{emergencybox}
1185
+ \begin{itemize}
1186
+ \item \textbf{Emergency Services:} 911
1187
+ \item \textbf{Endocrinology Office:} [Phone] (business hours)
1188
+ \item \textbf{After-Hours Hotline:} [Phone] (nights/weekends)
1189
+ \item \textbf{Pharmacy:} [Phone and location]
1190
+ \end{itemize}
1191
+ \end{emergencybox}
1192
+ ```
1193
+
1194
+ **Use cases**: Emergency contacts, critical hotlines, urgent resource information
1195
+
1196
+ #### 6. Patient Info Box (White with Blue Border)
1197
+
1198
+ For patient demographics and baseline information:
1199
+
1200
+ ```latex
1201
+ \begin{patientinfo}
1202
+ \begin{tabular}{ll}
1203
+ \textbf{Age:} & 23 years \\
1204
+ \textbf{Sex:} & Male \\
1205
+ \textbf{Diagnosis:} & Type 2 Diabetes Mellitus \\
1206
+ \textbf{Plan Start Date:} & \today \\
1207
+ \end{tabular}
1208
+ \end{patientinfo}
1209
+ ```
1210
+
1211
+ **Use cases**: Patient information sections, demographic data
1212
+
1213
+ ### Professional Table Formatting
1214
+
1215
+ Enhanced table environment with medical styling:
1216
+
1217
+ ```latex
1218
+ \begin{medtable}{Caption Text}
1219
+ \begin{tabular}{|p{5cm}|p{4cm}|p{4.5cm}|}
1220
+ \hline
1221
+ \tableheadercolor % Blue header with white text
1222
+ \textcolor{white}{\textbf{Column 1}} &
1223
+ \textcolor{white}{\textbf{Column 2}} &
1224
+ \textcolor{white}{\textbf{Column 3}} \\
1225
+ \hline
1226
+ Data row 1 content & Value 1 & Details 1 \\
1227
+ \hline
1228
+ \tablerowcolor % Alternating light gray row
1229
+ Data row 2 content & Value 2 & Details 2 \\
1230
+ \hline
1231
+ Data row 3 content & Value 3 & Details 3 \\
1232
+ \hline
1233
+ \end{tabular}
1234
+ \caption{Table caption}
1235
+ \end{medtable}
1236
+ ```
1237
+
1238
+ **Features:**
1239
+ - Blue headers with white text for visual prominence
1240
+ - Alternating row colors (`\tablerowcolor`) for improved readability
1241
+ - Automatic centering and spacing
1242
+ - Professional borders and padding
1243
+
1244
+ ### Using the Style Package
1245
+
1246
+ #### Basic Setup
1247
+
1248
+ 1. **Add to document preamble:**
1249
+
1250
+ ```latex
1251
+ % !TEX program = xelatex
1252
+ \documentclass[11pt,letterpaper]{article}
1253
+
1254
+ % Use custom medical treatment plan style
1255
+ \usepackage{medical_treatment_plan}
1256
+ \usepackage{natbib}
1257
+
1258
+ \begin{document}
1259
+ \maketitle
1260
+ % Your content here
1261
+ \end{document}
1262
+ ```
1263
+
1264
+ 2. **Ensure style file is in same directory** as your `.tex` file, or install to LaTeX path
1265
+
1266
+ 3. **Compile with XeLaTeX** (recommended for best results):
1267
+
1268
+ ```bash
1269
+ xelatex treatment_plan.tex
1270
+ bibtex treatment_plan
1271
+ xelatex treatment_plan.tex
1272
+ xelatex treatment_plan.tex
1273
+ ```
1274
+
1275
+ #### Custom Title Page
1276
+
1277
+ The package automatically formats the title with a professional blue header:
1278
+
1279
+ ```latex
1280
+ \title{\textbf{Individualized Diabetes Treatment Plan}\\
1281
+ \large{23-Year-Old Male Patient with Type 2 Diabetes}}
1282
+ \author{Comprehensive Care Plan}
1283
+ \date{\today}
1284
+
1285
+ \begin{document}
1286
+ \maketitle
1287
+ ```
1288
+
1289
+ This creates an eye-catching blue box with white text and clear hierarchy.
1290
+
1291
+ ### Compilation Requirements
1292
+
1293
+ **Required LaTeX Packages** (automatically loaded by the style):
1294
+ - `geometry` - Page layout and margins
1295
+ - `xcolor` - Color support
1296
+ - `tcolorbox` with `[most]` library - Custom colored boxes
1297
+ - `tikz` - Graphics and drawing
1298
+ - `fontspec` - Font management (XeLaTeX/LuaLaTeX)
1299
+ - `fancyhdr` - Custom headers and footers
1300
+ - `titlesec` - Section styling
1301
+ - `enumitem` - Enhanced list formatting
1302
+ - `booktabs` - Professional table rules
1303
+ - `longtable` - Multi-page tables
1304
+ - `array` - Enhanced table features
1305
+ - `colortbl` - Colored table cells
1306
+ - `hyperref` - Hyperlinks and PDF metadata
1307
+ - `natbib` - Bibliography management
1308
+
1309
+ **Recommended Compilation:**
1310
+
1311
+ ```bash
1312
+ # Using XeLaTeX (best font support)
1313
+ xelatex document.tex
1314
+ bibtex document
1315
+ xelatex document.tex
1316
+ xelatex document.tex
1317
+
1318
+ # Using PDFLaTeX (alternative)
1319
+ pdflatex document.tex
1320
+ bibtex document
1321
+ pdflatex document.tex
1322
+ pdflatex document.tex
1323
+ ```
1324
+
1325
+ ### Customization Options
1326
+
1327
+ #### Changing Colors
1328
+
1329
+ Edit the style file to modify the color scheme:
1330
+
1331
+ ```latex
1332
+ % In medical_treatment_plan.sty
1333
+ \definecolor{primaryblue}{RGB}{0, 102, 153} % Modify these
1334
+ \definecolor{secondaryblue}{RGB}{102, 178, 204}
1335
+ \definecolor{accentblue}{RGB}{0, 153, 204}
1336
+ \definecolor{successgreen}{RGB}{0, 153, 76}
1337
+ \definecolor{warningred}{RGB}{204, 0, 0}
1338
+ ```
1339
+
1340
+ #### Adjusting Page Layout
1341
+
1342
+ Modify geometry settings in the style file:
1343
+
1344
+ ```latex
1345
+ \RequirePackage[margin=1in, top=1.2in, bottom=1.2in]{geometry}
1346
+ ```
1347
+
1348
+ #### Custom Fonts (XeLaTeX only)
1349
+
1350
+ Uncomment and modify in the style file:
1351
+
1352
+ ```latex
1353
+ \setmainfont{Your Preferred Font}
1354
+ \setsansfont{Your Sans-Serif Font}
1355
+ ```
1356
+
1357
+ #### Header/Footer Customization
1358
+
1359
+ Modify in the style file:
1360
+
1361
+ ```latex
1362
+ \fancyhead[L]{\color{primaryblue}\sffamily\small\textbf{Treatment Plan Title}}
1363
+ \fancyhead[R]{\color{darkgray}\sffamily\small Patient Info}
1364
+ ```
1365
+
1366
+ ### Style Package Download and Installation
1367
+
1368
+ #### Option 1: Copy to Project Directory
1369
+
1370
+ Copy `assets/medical_treatment_plan.sty` to the same directory as your `.tex` file.
1371
+
1372
+ #### Option 2: Install to User TeX Directory
1373
+
1374
+ ```bash
1375
+ # Find your local texmf directory
1376
+ kpsewhich -var-value TEXMFHOME
1377
+
1378
+ # Copy to appropriate location (usually ~/texmf/tex/latex/)
1379
+ mkdir -p ~/texmf/tex/latex/medical_treatment_plan
1380
+ cp assets/medical_treatment_plan.sty ~/texmf/tex/latex/medical_treatment_plan/
1381
+
1382
+ # Update TeX file database
1383
+ texhash ~/texmf
1384
+ ```
1385
+
1386
+ #### Option 3: System-Wide Installation
1387
+
1388
+ ```bash
1389
+ # Copy to system texmf directory (requires sudo)
1390
+ sudo cp assets/medical_treatment_plan.sty /usr/local/texlive/texmf-local/tex/latex/
1391
+ sudo texhash
1392
+ ```
1393
+
1394
+ ### Additional Professional Styles (Optional)
1395
+
1396
+ Other medical/clinical document styles available from CTAN:
1397
+
1398
+ **Journal Styles:**
1399
+ ```bash
1400
+ # Install via TeX Live Manager
1401
+ tlmgr install nejm # New England Journal of Medicine
1402
+ tlmgr install jama # JAMA style
1403
+ tlmgr install bmj # British Medical Journal
1404
+ ```
1405
+
1406
+ **General Professional Styles:**
1407
+ ```bash
1408
+ tlmgr install apa7 # APA 7th edition (health sciences)
1409
+ tlmgr install IEEEtran # IEEE (medical devices/engineering)
1410
+ tlmgr install springer # Springer journals
1411
+ ```
1412
+
1413
+ **Download from CTAN:**
1414
+ - Visit: https://ctan.org/
1415
+ - Search for medical document classes
1416
+ - Download and install per package instructions
1417
+
1418
+ ### Troubleshooting
1419
+
1420
+ **Issue: Package not found**
1421
+ ```bash
1422
+ # Install missing packages via TeX Live Manager
1423
+ sudo tlmgr update --self
1424
+ sudo tlmgr install tcolorbox tikz pgf
1425
+ ```
1426
+
1427
+ **Issue: Missing characters (✓, ≥, etc.)**
1428
+ - Use XeLaTeX instead of PDFLaTeX
1429
+ - Or replace with LaTeX commands: `$\checkmark$`, `$\geq$`
1430
+ - Requires `amssymb` package for math symbols
1431
+
1432
+ **Issue: Header height warnings**
1433
+ - Style file sets `\setlength{\headheight}{22pt}`
1434
+ - Adjust if needed for your content
1435
+
1436
+ **Issue: Boxes not rendering**
1437
+ ```bash
1438
+ # Ensure complete tcolorbox installation
1439
+ sudo tlmgr install tcolorbox tikz pgf
1440
+ ```
1441
+
1442
+ **Issue: Font not found (XeLaTeX)**
1443
+ - Comment out custom font lines in .sty file
1444
+ - Or install specified fonts on your system
1445
+
1446
+ ### Best Practices for Styled Documents
1447
+
1448
+ 1. **Appropriate Box Usage**
1449
+ - Match box type to content purpose (goals→green, warnings→yellow/red)
1450
+ - Don't overuse boxes; reserve for truly important information
1451
+ - Keep box content concise and focused
1452
+
1453
+ 2. **Visual Hierarchy**
1454
+ - Use section styling for structure
1455
+ - Boxes for emphasis and organization
1456
+ - Tables for comparative data
1457
+ - Lists for sequential or grouped items
1458
+
1459
+ 3. **Color Consistency**
1460
+ - Stick to defined color scheme
1461
+ - Use `\textcolor{primaryblue}{\textbf{Text}}` for emphasis
1462
+ - Maintain consistent meaning (red=warning, green=goals)
1463
+
1464
+ 4. **White Space**
1465
+ - Don't overcrowd pages with boxes
1466
+ - Use `\vspace{0.5cm}` between major sections
1467
+ - Allow breathing room around colored elements
1468
+
1469
+ 5. **Professional Appearance**
1470
+ - Maintain readability as top priority
1471
+ - Ensure sufficient contrast for accessibility
1472
+ - Test print output in grayscale
1473
+ - Keep styling consistent throughout document
1474
+
1475
+ 6. **Table Formatting**
1476
+ - Use `\tableheadercolor` for all header rows
1477
+ - Apply `\tablerowcolor` to alternating rows in tables >3 rows
1478
+ - Keep column widths balanced
1479
+ - Use `\small\sffamily` for large tables
1480
+
1481
+ ### Example: Styled Treatment Plan Structure
1482
+
1483
+ ```latex
1484
+ % !TEX program = xelatex
1485
+ \documentclass[11pt,letterpaper]{article}
1486
+ \usepackage{medical_treatment_plan}
1487
+ \usepackage{natbib}
1488
+
1489
+ \title{\textbf{Comprehensive Treatment Plan}\\
1490
+ \large{Patient-Centered Care Strategy}}
1491
+ \author{Multidisciplinary Care Team}
1492
+ \date{\today}
1493
+
1494
+ \begin{document}
1495
+ \maketitle
1496
+
1497
+ \section*{Patient Information}
1498
+ \begin{patientinfo}
1499
+ % Demographics table
1500
+ \end{patientinfo}
1501
+
1502
+ \section{Executive Summary}
1503
+ \begin{keybox}[Plan Overview]
1504
+ % Key highlights
1505
+ \end{keybox}
1506
+
1507
+ \section{Treatment Goals}
1508
+ \begin{goalbox}[SMART Goals - 3 Months]
1509
+ \begin{medtable}{Primary Treatment Targets}
1510
+ % Goals table with colored headers
1511
+ \end{medtable}
1512
+ \end{goalbox}
1513
+
1514
+ \section{Medication Plan}
1515
+ \begin{infobox}[Titration Schedule]
1516
+ % Medication instructions
1517
+ \end{infobox}
1518
+
1519
+ \begin{warningbox}[Critical Decision Point]
1520
+ % Important safety information
1521
+ \end{warningbox}
1522
+
1523
+ \section{Emergency Protocols}
1524
+ \begin{emergencybox}
1525
+ % Emergency contacts
1526
+ \end{emergencybox}
1527
+
1528
+ \bibliographystyle{plainnat}
1529
+ \bibliography{references}
1530
+ \end{document}
1531
+ ```
1532
+
1533
+ ### Benefits of Professional Styling
1534
+
1535
+ **Clinical Practice:**
1536
+ - Faster information scanning during patient encounters
1537
+ - Clear visual hierarchy for critical vs. routine information
1538
+ - Professional appearance suitable for patient-facing documents
1539
+ - Color-coded sections reduce cognitive load
1540
+
1541
+ **Educational Use:**
1542
+ - Enhanced readability for teaching materials
1543
+ - Visual differentiation of concept types (goals, warnings, procedures)
1544
+ - Professional presentation for case discussions
1545
+ - Print and digital-ready formats
1546
+
1547
+ **Documentation Quality:**
1548
+ - Modern, polished appearance
1549
+ - Maintains clinical accuracy while improving aesthetics
1550
+ - Standardized formatting across treatment plans
1551
+ - Easy to customize for institutional branding
1552
+
1553
+ **Patient Engagement:**
1554
+ - More approachable than dense text documents
1555
+ - Color coding helps patients identify key sections
1556
+ - Professional appearance builds trust
1557
+ - Clear organization facilitates understanding
1558
+
1559
+ ## Ethical Considerations
1560
+
1561
+ ### Informed Consent
1562
+ All treatment plans should involve patient understanding and voluntary agreement to proposed interventions.
1563
+
1564
+ ### Cultural Sensitivity
1565
+ Treatment plans must respect diverse cultural beliefs, health practices, and communication styles.
1566
+
1567
+ ### Health Equity
1568
+ Consider social determinants of health, access barriers, and health disparities when developing plans.
1569
+
1570
+ ### Privacy Protection
1571
+ Maintain strict HIPAA compliance; de-identify all protected health information in shared documents.
1572
+
1573
+ ### Autonomy and Beneficence
1574
+ Balance medical recommendations with patient autonomy and values while promoting patient welfare.
1575
+
1576
+ ## License
1577
+
1578
+ Part of the Claude Scientific Writer project. See main LICENSE file.
1579
+