@synsci/cli-darwin-x64-baseline 1.1.71 → 1.1.73

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,506 @@
1
+ ---
2
+ name: clinical-decision-support
3
+ description: "Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis."
4
+ allowed-tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ # Clinical Decision Support Documents
8
+
9
+ ## Description
10
+
11
+ Generate professional clinical decision support (CDS) documents for pharmaceutical companies, clinical researchers, and medical decision-makers. This skill specializes in analytical, evidence-based documents that inform treatment strategies and drug development:
12
+
13
+ 1. **Patient Cohort Analysis** - Biomarker-stratified group analyses with statistical outcome comparisons
14
+ 2. **Treatment Recommendation Reports** - Evidence-based clinical guidelines with GRADE grading and decision algorithms
15
+
16
+ All documents are generated as publication-ready LaTeX/PDF files optimized for pharmaceutical research, regulatory submissions, and clinical guideline development.
17
+
18
+ **Note:** For individual patient treatment plans at the bedside, use the `treatment-plans` skill instead. This skill focuses on group-level analyses and evidence synthesis for pharmaceutical/research settings.
19
+
20
+ **Writing Style:** For publication-ready documents targeting medical journals, consult the **venue-templates** skill's `medical_journal_styles.md` for guidance on structured abstracts, evidence language, and CONSORT/STROBE compliance.
21
+
22
+ ## Capabilities
23
+
24
+ ### Document Types
25
+
26
+ **Patient Cohort Analysis**
27
+ - Biomarker-based patient stratification (molecular subtypes, gene expression, IHC)
28
+ - Molecular subtype classification (e.g., GBM mesenchymal-immune-active vs proneural, breast cancer subtypes)
29
+ - Outcome metrics with statistical analysis (OS, PFS, ORR, DOR, DCR)
30
+ - Statistical comparisons between subgroups (hazard ratios, p-values, 95% CI)
31
+ - Survival analysis with Kaplan-Meier curves and log-rank tests
32
+ - Efficacy tables and waterfall plots
33
+ - Comparative effectiveness analyses
34
+ - Pharmaceutical cohort reporting (trial subgroups, real-world evidence)
35
+
36
+ **Treatment Recommendation Reports**
37
+ - Evidence-based treatment guidelines for specific disease states
38
+ - Strength of recommendation grading (GRADE system: 1A, 1B, 2A, 2B, 2C)
39
+ - Quality of evidence assessment (high, moderate, low, very low)
40
+ - Treatment algorithm flowcharts with TikZ diagrams
41
+ - Line-of-therapy sequencing based on biomarkers
42
+ - Decision pathways with clinical and molecular criteria
43
+ - Pharmaceutical strategy documents
44
+ - Clinical guideline development for medical societies
45
+
46
+ ### Clinical Features
47
+
48
+ - **Biomarker Integration**: Genomic alterations (mutations, CNV, fusions), gene expression signatures, IHC markers, PD-L1 scoring
49
+ - **Statistical Analysis**: Hazard ratios, p-values, confidence intervals, survival curves, Cox regression, log-rank tests
50
+ - **Evidence Grading**: GRADE system (1A/1B/2A/2B/2C), Oxford CEBM levels, quality of evidence assessment
51
+ - **Clinical Terminology**: SNOMED-CT, LOINC, proper medical nomenclature, trial nomenclature
52
+ - **Regulatory Compliance**: HIPAA de-identification, confidentiality headers, ICH-GCP alignment
53
+ - **Professional Formatting**: Compact 0.5in margins, color-coded recommendations, publication-ready, suitable for regulatory submissions
54
+
55
+ ## Pharmaceutical and Research Use Cases
56
+
57
+ This skill is specifically designed for pharmaceutical and clinical research applications:
58
+
59
+ **Drug Development**
60
+ - **Phase 2/3 Trial Analyses**: Biomarker-stratified efficacy and safety analyses
61
+ - **Subgroup Analyses**: Forest plots showing treatment effects across patient subgroups
62
+ - **Companion Diagnostic Development**: Linking biomarkers to drug response
63
+ - **Regulatory Submissions**: IND/NDA documentation with evidence summaries
64
+
65
+ **Medical Affairs**
66
+ - **KOL Education Materials**: Evidence-based treatment algorithms for thought leaders
67
+ - **Medical Strategy Documents**: Competitive landscape and positioning strategies
68
+ - **Advisory Board Materials**: Cohort analyses and treatment recommendation frameworks
69
+ - **Publication Planning**: Manuscript-ready analyses for peer-reviewed journals
70
+
71
+ **Clinical Guidelines**
72
+ - **Guideline Development**: Evidence synthesis with GRADE methodology for specialty societies
73
+ - **Consensus Recommendations**: Multi-stakeholder treatment algorithm development
74
+ - **Practice Standards**: Biomarker-based treatment selection criteria
75
+ - **Quality Measures**: Evidence-based performance metrics
76
+
77
+ **Real-World Evidence**
78
+ - **RWE Cohort Studies**: Retrospective analyses of patient cohorts from EMR data
79
+ - **Comparative Effectiveness**: Head-to-head treatment comparisons in real-world settings
80
+ - **Outcomes Research**: Long-term survival and safety in clinical practice
81
+ - **Health Economics**: Cost-effectiveness analyses by biomarker subgroup
82
+
83
+ ## When to Use
84
+
85
+ Use this skill when you need to:
86
+
87
+ - **Analyze patient cohorts** stratified by biomarkers, molecular subtypes, or clinical characteristics
88
+ - **Generate treatment recommendation reports** with evidence grading for clinical guidelines or pharmaceutical strategies
89
+ - **Compare outcomes** between patient subgroups with statistical analysis (survival, response rates, hazard ratios)
90
+ - **Produce pharmaceutical research documents** for drug development, clinical trials, or regulatory submissions
91
+ - **Develop clinical practice guidelines** with GRADE evidence grading and decision algorithms
92
+ - **Document biomarker-guided therapy selection** at the population level (not individual patients)
93
+ - **Synthesize evidence** from multiple trials or real-world data sources
94
+ - **Create clinical decision algorithms** with flowcharts for treatment sequencing
95
+
96
+ **Do NOT use this skill for:**
97
+ - Individual patient treatment plans (use `treatment-plans` skill)
98
+ - Bedside clinical care documentation (use `treatment-plans` skill)
99
+ - Simple patient-specific treatment protocols (use `treatment-plans` skill)
100
+
101
+ ## Visual Enhancement with Scientific Schematics
102
+
103
+ **⚠️ MANDATORY: Every clinical decision support document MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.**
104
+
105
+ This is not optional. Clinical decision documents require clear visual algorithms. Before finalizing any document:
106
+ 1. Generate at minimum ONE schematic or diagram (e.g., clinical decision algorithm, treatment pathway, or biomarker stratification tree)
107
+ 2. For cohort analyses: include patient flow diagram
108
+ 3. For treatment recommendations: include decision flowchart
109
+
110
+ **How to generate figures:**
111
+ - Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
112
+ - Simply describe your desired diagram in natural language
113
+ - Nano Banana Pro will automatically generate, review, and refine the schematic
114
+
115
+ **How to generate schematics:**
116
+ ```bash
117
+ python scripts/generate_schematic.py "your diagram description" -o figures/output.png
118
+ ```
119
+
120
+ The AI will automatically:
121
+ - Create publication-quality images with proper formatting
122
+ - Review and refine through multiple iterations
123
+ - Ensure accessibility (colorblind-friendly, high contrast)
124
+ - Save outputs in the figures/ directory
125
+
126
+ **When to add schematics:**
127
+ - Clinical decision algorithm flowcharts
128
+ - Treatment pathway diagrams
129
+ - Biomarker stratification trees
130
+ - Patient cohort flow diagrams (CONSORT-style)
131
+ - Survival curve visualizations
132
+ - Molecular mechanism diagrams
133
+ - Any complex concept that benefits from visualization
134
+
135
+ For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
136
+
137
+ ---
138
+
139
+ ## Document Structure
140
+
141
+ **CRITICAL REQUIREMENT: All clinical decision support documents MUST begin with a complete executive summary on page 1 that spans the entire first page before any table of contents or detailed sections.**
142
+
143
+ ### Page 1 Executive Summary Structure
144
+
145
+ The first page of every CDS document should contain ONLY the executive summary with the following components:
146
+
147
+ **Required Elements (all on page 1):**
148
+ 1. **Document Title and Type**
149
+ - Main title (e.g., "Biomarker-Stratified Cohort Analysis" or "Evidence-Based Treatment Recommendations")
150
+ - Subtitle with disease state and focus
151
+
152
+ 2. **Report Information Box** (using colored tcolorbox)
153
+ - Document type and purpose
154
+ - Date of analysis/report
155
+ - Disease state and patient population
156
+ - Author/institution (if applicable)
157
+ - Analysis framework or methodology
158
+
159
+ 3. **Key Findings Boxes** (3-5 colored boxes using tcolorbox)
160
+ - **Primary Results** (blue box): Main efficacy/outcome findings
161
+ - **Biomarker Insights** (green box): Key molecular subtype findings
162
+ - **Clinical Implications** (yellow/orange box): Actionable treatment implications
163
+ - **Statistical Summary** (gray box): Hazard ratios, p-values, key statistics
164
+ - **Safety Highlights** (red box, if applicable): Critical adverse events or warnings
165
+
166
+ **Visual Requirements:**
167
+ - Use `\thispagestyle{empty}` to remove page numbers from page 1
168
+ - All content must fit on page 1 (before `\newpage`)
169
+ - Use colored tcolorbox environments with different colors for visual hierarchy
170
+ - Boxes should be scannable and highlight most critical information
171
+ - Use bullet points, not narrative paragraphs
172
+ - End page 1 with `\newpage` before table of contents or detailed sections
173
+
174
+ **Example First Page LaTeX Structure:**
175
+ ```latex
176
+ \maketitle
177
+ \thispagestyle{empty}
178
+
179
+ % Report Information Box
180
+ \begin{tcolorbox}[colback=blue!5!white, colframe=blue!75!black, title=Report Information]
181
+ \textbf{Document Type:} Patient Cohort Analysis\\
182
+ \textbf{Disease State:} HER2-Positive Metastatic Breast Cancer\\
183
+ \textbf{Analysis Date:} \today\\
184
+ \textbf{Population:} 60 patients, biomarker-stratified by HR status
185
+ \end{tcolorbox}
186
+
187
+ \vspace{0.3cm}
188
+
189
+ % Key Finding #1: Primary Results
190
+ \begin{tcolorbox}[colback=blue!5!white, colframe=blue!75!black, title=Primary Efficacy Results]
191
+ \begin{itemize}
192
+ \item Overall ORR: 72\% (95\% CI: 59-83\%)
193
+ \item Median PFS: 18.5 months (95\% CI: 14.2-22.8)
194
+ \item Median OS: 35.2 months (95\% CI: 28.1-NR)
195
+ \end{itemize}
196
+ \end{tcolorbox}
197
+
198
+ \vspace{0.3cm}
199
+
200
+ % Key Finding #2: Biomarker Insights
201
+ \begin{tcolorbox}[colback=green!5!white, colframe=green!75!black, title=Biomarker Stratification Findings]
202
+ \begin{itemize}
203
+ \item HR+/HER2+: ORR 68\%, median PFS 16.2 months
204
+ \item HR-/HER2+: ORR 78\%, median PFS 22.1 months
205
+ \item HR status significantly associated with outcomes (p=0.041)
206
+ \end{itemize}
207
+ \end{tcolorbox}
208
+
209
+ \vspace{0.3cm}
210
+
211
+ % Key Finding #3: Clinical Implications
212
+ \begin{tcolorbox}[colback=orange!5!white, colframe=orange!75!black, title=Clinical Recommendations]
213
+ \begin{itemize}
214
+ \item Strong efficacy observed regardless of HR status (Grade 1A)
215
+ \item HR-/HER2+ patients showed numerically superior outcomes
216
+ \item Treatment recommended for all HER2+ MBC patients
217
+ \end{itemize}
218
+ \end{tcolorbox}
219
+
220
+ \newpage
221
+ \tableofcontents % TOC on page 2
222
+ \newpage % Detailed content starts page 3
223
+ ```
224
+
225
+ ### Patient Cohort Analysis (Detailed Sections - Page 3+)
226
+ - **Cohort Characteristics**: Demographics, baseline features, patient selection criteria
227
+ - **Biomarker Stratification**: Molecular subtypes, genomic alterations, IHC profiles
228
+ - **Treatment Exposure**: Therapies received, dosing, treatment duration by subgroup
229
+ - **Outcome Analysis**: Response rates (ORR, DCR), survival data (OS, PFS), DOR
230
+ - **Statistical Methods**: Kaplan-Meier survival curves, hazard ratios, log-rank tests, Cox regression
231
+ - **Subgroup Comparisons**: Biomarker-stratified efficacy, forest plots, statistical significance
232
+ - **Safety Profile**: Adverse events by subgroup, dose modifications, discontinuations
233
+ - **Clinical Recommendations**: Treatment implications based on biomarker profiles
234
+ - **Figures**: Waterfall plots, swimmer plots, survival curves, forest plots
235
+ - **Tables**: Demographics table, biomarker frequency, outcomes by subgroup
236
+
237
+ ### Treatment Recommendation Reports (Detailed Sections - Page 3+)
238
+
239
+ **Page 1 Executive Summary for Treatment Recommendations should include:**
240
+ 1. **Report Information Box**: Disease state, guideline version/date, target population
241
+ 2. **Key Recommendations Box** (green): Top 3-5 GRADE-graded recommendations by line of therapy
242
+ 3. **Biomarker Decision Criteria Box** (blue): Key molecular markers influencing treatment selection
243
+ 4. **Evidence Summary Box** (gray): Major trials supporting recommendations (e.g., KEYNOTE-189, FLAURA)
244
+ 5. **Critical Monitoring Box** (orange/red): Essential safety monitoring requirements
245
+
246
+ **Detailed Sections (Page 3+):**
247
+ - **Clinical Context**: Disease state, epidemiology, current treatment landscape
248
+ - **Target Population**: Patient characteristics, biomarker criteria, staging
249
+ - **Evidence Review**: Systematic literature synthesis, guideline summary, trial data
250
+ - **Treatment Options**: Available therapies with mechanism of action
251
+ - **Evidence Grading**: GRADE assessment for each recommendation (1A, 1B, 2A, 2B, 2C)
252
+ - **Recommendations by Line**: First-line, second-line, subsequent therapies
253
+ - **Biomarker-Guided Selection**: Decision criteria based on molecular profiles
254
+ - **Treatment Algorithms**: TikZ flowcharts showing decision pathways
255
+ - **Monitoring Protocol**: Safety assessments, efficacy monitoring, dose modifications
256
+ - **Special Populations**: Elderly, renal/hepatic impairment, comorbidities
257
+ - **References**: Full bibliography with trial names and citations
258
+
259
+ ## Output Format
260
+
261
+ **MANDATORY FIRST PAGE REQUIREMENT:**
262
+ - **Page 1**: Full-page executive summary with 3-5 colored tcolorbox elements
263
+ - **Page 2**: Table of contents (optional)
264
+ - **Page 3+**: Detailed sections with methods, results, figures, tables
265
+
266
+ **Document Specifications:**
267
+ - **Primary**: LaTeX/PDF with 0.5in margins for compact, data-dense presentation
268
+ - **Length**: Typically 5-15 pages (1 page executive summary + 4-14 pages detailed content)
269
+ - **Style**: Publication-ready, pharmaceutical-grade, suitable for regulatory submissions
270
+ - **First Page**: Always a complete executive summary spanning entire page 1 (see Document Structure section)
271
+
272
+ **Visual Elements:**
273
+ - **Colors**:
274
+ - Page 1 boxes: blue=data/information, green=biomarkers/recommendations, yellow/orange=clinical implications, red=warnings
275
+ - Recommendation boxes (green=strong recommendation, yellow=conditional, blue=research needed)
276
+ - Biomarker stratification (color-coded molecular subtypes)
277
+ - Statistical significance (color-coded p-values, hazard ratios)
278
+ - **Tables**:
279
+ - Demographics with baseline characteristics
280
+ - Biomarker frequency by subgroup
281
+ - Outcomes table (ORR, PFS, OS, DOR by molecular subtype)
282
+ - Adverse events by cohort
283
+ - Evidence summary tables with GRADE ratings
284
+ - **Figures**:
285
+ - Kaplan-Meier survival curves with log-rank p-values and number at risk tables
286
+ - Waterfall plots showing best response by patient
287
+ - Forest plots for subgroup analyses with confidence intervals
288
+ - TikZ decision algorithm flowcharts
289
+ - Swimmer plots for individual patient timelines
290
+ - **Statistics**: Hazard ratios with 95% CI, p-values, median survival times, landmark survival rates
291
+ - **Compliance**: De-identification per HIPAA Safe Harbor, confidentiality notices for proprietary data
292
+
293
+ ## Integration
294
+
295
+ This skill integrates with:
296
+ - **scientific-writing**: Citation management, statistical reporting, evidence synthesis
297
+ - **clinical-reports**: Medical terminology, HIPAA compliance, regulatory documentation
298
+ - **scientific-schematics**: TikZ flowcharts for decision algorithms and treatment pathways
299
+ - **treatment-plans**: Individual patient applications of cohort-derived insights (bidirectional)
300
+
301
+ ## Key Differentiators from Treatment-Plans Skill
302
+
303
+ **Clinical Decision Support (this skill):**
304
+ - **Audience**: Pharmaceutical companies, clinical researchers, guideline committees, medical affairs
305
+ - **Scope**: Population-level analyses, evidence synthesis, guideline development
306
+ - **Focus**: Biomarker stratification, statistical comparisons, evidence grading
307
+ - **Output**: Multi-page analytical documents (5-15 pages typical) with extensive figures and tables
308
+ - **Use Cases**: Drug development, regulatory submissions, clinical practice guidelines, medical strategy
309
+ - **Example**: "Analyze 60 HER2+ breast cancer patients by hormone receptor status with survival outcomes"
310
+
311
+ **Treatment-Plans Skill:**
312
+ - **Audience**: Clinicians, patients, care teams
313
+ - **Scope**: Individual patient care planning
314
+ - **Focus**: SMART goals, patient-specific interventions, monitoring plans
315
+ - **Output**: Concise 1-4 page actionable care plans
316
+ - **Use Cases**: Bedside clinical care, EMR documentation, patient-centered planning
317
+ - **Example**: "Create treatment plan for a 55-year-old patient with newly diagnosed type 2 diabetes"
318
+
319
+ **When to use each:**
320
+ - Use **clinical-decision-support** for: cohort analyses, biomarker stratification studies, treatment guideline development, pharmaceutical strategy documents
321
+ - Use **treatment-plans** for: individual patient care plans, treatment protocols for specific patients, bedside clinical documentation
322
+
323
+ ## Example Usage
324
+
325
+ ### Patient Cohort Analysis
326
+
327
+ **Example 1: NSCLC Biomarker Stratification**
328
+ ```
329
+ > Analyze a cohort of 45 NSCLC patients stratified by PD-L1 expression (<1%, 1-49%, ≥50%)
330
+ > receiving pembrolizumab. Include outcomes: ORR, median PFS, median OS with hazard ratios
331
+ > comparing PD-L1 ≥50% vs <50%. Generate Kaplan-Meier curves and waterfall plot.
332
+ ```
333
+
334
+ **Example 2: GBM Molecular Subtype Analysis**
335
+ ```
336
+ > Generate cohort analysis for 30 GBM patients classified into Cluster 1 (Mesenchymal-Immune-Active)
337
+ > and Cluster 2 (Proneural) molecular subtypes. Compare outcomes including median OS, 6-month PFS rate,
338
+ > and response to TMZ+bevacizumab. Include biomarker profile table and statistical comparison.
339
+ ```
340
+
341
+ **Example 3: Breast Cancer HER2 Cohort**
342
+ ```
343
+ > Analyze 60 HER2-positive metastatic breast cancer patients treated with trastuzumab-deruxtecan,
344
+ > stratified by prior trastuzumab exposure (yes/no). Include ORR, DOR, median PFS with forest plot
345
+ > showing subgroup analyses by hormone receptor status, brain metastases, and number of prior lines.
346
+ ```
347
+
348
+ ### Treatment Recommendation Report
349
+
350
+ **Example 1: HER2+ Metastatic Breast Cancer Guidelines**
351
+ ```
352
+ > Create evidence-based treatment recommendations for HER2-positive metastatic breast cancer including
353
+ > biomarker-guided therapy selection. Use GRADE system to grade recommendations for first-line
354
+ > (trastuzumab+pertuzumab+taxane), second-line (trastuzumab-deruxtecan), and third-line options.
355
+ > Include decision algorithm flowchart based on brain metastases, hormone receptor status, and prior therapies.
356
+ ```
357
+
358
+ **Example 2: Advanced NSCLC Treatment Algorithm**
359
+ ```
360
+ > Generate treatment recommendation report for advanced NSCLC based on PD-L1 expression, EGFR mutation,
361
+ > ALK rearrangement, and performance status. Include GRADE-graded recommendations for each molecular subtype,
362
+ > TikZ flowchart for biomarker-directed therapy selection, and evidence tables from KEYNOTE-189, FLAURA,
363
+ > and CheckMate-227 trials.
364
+ ```
365
+
366
+ **Example 3: Multiple Myeloma Line-of-Therapy Sequencing**
367
+ ```
368
+ > Create treatment algorithm for newly diagnosed multiple myeloma through relapsed/refractory setting.
369
+ > Include GRADE recommendations for transplant-eligible vs ineligible, high-risk cytogenetics considerations,
370
+ > and sequencing of daratumumab, carfilzomib, and CAR-T therapy. Provide flowchart showing decision points
371
+ > at each line of therapy.
372
+ ```
373
+
374
+ ## Key Features
375
+
376
+ ### Biomarker Classification
377
+ - Genomic: Mutations, CNV, gene fusions
378
+ - Expression: RNA-seq, IHC scores
379
+ - Molecular subtypes: Disease-specific classifications
380
+ - Clinical actionability: Therapy selection guidance
381
+
382
+ ### Outcome Metrics
383
+ - Survival: OS (overall survival), PFS (progression-free survival)
384
+ - Response: ORR (objective response rate), DOR (duration of response), DCR (disease control rate)
385
+ - Quality: ECOG performance status, symptom burden
386
+ - Safety: Adverse events, dose modifications
387
+
388
+ ### Statistical Methods
389
+ - Survival analysis: Kaplan-Meier curves, log-rank tests
390
+ - Group comparisons: t-tests, chi-square, Fisher's exact
391
+ - Effect sizes: Hazard ratios, odds ratios with 95% CI
392
+ - Significance: p-values, multiple testing corrections
393
+
394
+ ### Evidence Grading
395
+
396
+ **GRADE System**
397
+ - **1A**: Strong recommendation, high-quality evidence
398
+ - **1B**: Strong recommendation, moderate-quality evidence
399
+ - **2A**: Weak recommendation, high-quality evidence
400
+ - **2B**: Weak recommendation, moderate-quality evidence
401
+ - **2C**: Weak recommendation, low-quality evidence
402
+
403
+ **Recommendation Strength**
404
+ - **Strong**: Benefits clearly outweigh risks
405
+ - **Conditional**: Trade-offs exist, patient values important
406
+ - **Research**: Insufficient evidence, clinical trials needed
407
+
408
+ ## Best Practices
409
+
410
+ ### For Cohort Analyses
411
+
412
+ 1. **Patient Selection Transparency**: Clearly document inclusion/exclusion criteria, patient flow, and reasons for exclusions
413
+ 2. **Biomarker Clarity**: Specify assay methods, platforms (e.g., FoundationOne, Caris), cut-points, and validation status
414
+ 3. **Statistical Rigor**:
415
+ - Report hazard ratios with 95% confidence intervals, not just p-values
416
+ - Include median follow-up time for survival analyses
417
+ - Specify statistical tests used (log-rank, Cox regression, Fisher's exact)
418
+ - Account for multiple comparisons when appropriate
419
+ 4. **Outcome Definitions**: Use standard criteria:
420
+ - Response: RECIST 1.1, iRECIST for immunotherapy
421
+ - Adverse events: CTCAE version 5.0
422
+ - Performance status: ECOG or Karnofsky
423
+ 5. **Survival Data Presentation**:
424
+ - Median OS/PFS with 95% CI
425
+ - Landmark survival rates (6-month, 12-month, 24-month)
426
+ - Number at risk tables below Kaplan-Meier curves
427
+ - Censoring clearly indicated
428
+ 6. **Subgroup Analyses**: Pre-specify subgroups; clearly label exploratory vs pre-planned analyses
429
+ 7. **Data Completeness**: Report missing data and how it was handled
430
+
431
+ ### For Treatment Recommendation Reports
432
+
433
+ 1. **Evidence Grading Transparency**:
434
+ - Use GRADE system consistently (1A, 1B, 2A, 2B, 2C)
435
+ - Document rationale for each grade
436
+ - Clearly state quality of evidence (high, moderate, low, very low)
437
+ 2. **Comprehensive Evidence Review**:
438
+ - Include phase 3 randomized trials as primary evidence
439
+ - Supplement with phase 2 data for emerging therapies
440
+ - Note real-world evidence and meta-analyses
441
+ - Cite trial names (e.g., KEYNOTE-189, CheckMate-227)
442
+ 3. **Biomarker-Guided Recommendations**:
443
+ - Link specific biomarkers to therapy recommendations
444
+ - Specify testing methods and validated assays
445
+ - Include FDA/EMA approval status for companion diagnostics
446
+ 4. **Clinical Actionability**: Every recommendation should have clear implementation guidance
447
+ 5. **Decision Algorithm Clarity**: TikZ flowcharts should be unambiguous with clear yes/no decision points
448
+ 6. **Special Populations**: Address elderly, renal/hepatic impairment, pregnancy, drug interactions
449
+ 7. **Monitoring Guidance**: Specify safety labs, imaging, and frequency
450
+ 8. **Update Frequency**: Date recommendations and plan for periodic updates
451
+
452
+ ### General Best Practices
453
+
454
+ 1. **First Page Executive Summary (MANDATORY)**:
455
+ - ALWAYS create a complete executive summary on page 1 that spans the entire first page
456
+ - Use 3-5 colored tcolorbox elements to highlight key findings
457
+ - No table of contents or detailed sections on page 1
458
+ - Use `\thispagestyle{empty}` and end with `\newpage`
459
+ - This is the single most important page - it should be scannable in 60 seconds
460
+ 2. **De-identification**: Remove all 18 HIPAA identifiers before document generation (Safe Harbor method)
461
+ 3. **Regulatory Compliance**: Include confidentiality notices for proprietary pharmaceutical data
462
+ 4. **Publication-Ready Formatting**: Use 0.5in margins, professional fonts, color-coded sections
463
+ 5. **Reproducibility**: Document all statistical methods to enable replication
464
+ 6. **Conflict of Interest**: Disclose pharmaceutical funding or relationships when applicable
465
+ 7. **Visual Hierarchy**: Use colored boxes consistently (blue=data, green=biomarkers, yellow/orange=recommendations, red=warnings)
466
+
467
+ ## References
468
+
469
+ See the `references/` directory for detailed guidance on:
470
+ - Patient cohort analysis and stratification methods
471
+ - Treatment recommendation development
472
+ - Clinical decision algorithms
473
+ - Biomarker classification and interpretation
474
+ - Outcome analysis and statistical methods
475
+ - Evidence synthesis and grading systems
476
+
477
+ ## Templates
478
+
479
+ See the `assets/` directory for LaTeX templates:
480
+ - `cohort_analysis_template.tex` - Biomarker-stratified patient cohort analysis with statistical comparisons
481
+ - `treatment_recommendation_template.tex` - Evidence-based clinical practice guidelines with GRADE grading
482
+ - `clinical_pathway_template.tex` - TikZ decision algorithm flowcharts for treatment sequencing
483
+ - `biomarker_report_template.tex` - Molecular subtype classification and genomic profile reports
484
+ - `evidence_synthesis_template.tex` - Systematic evidence review and meta-analysis summaries
485
+
486
+ **Template Features:**
487
+ - 0.5in margins for compact presentation
488
+ - Color-coded recommendation boxes
489
+ - Professional tables for demographics, biomarkers, outcomes
490
+ - Built-in support for Kaplan-Meier curves, waterfall plots, forest plots
491
+ - GRADE evidence grading tables
492
+ - Confidentiality headers for pharmaceutical documents
493
+
494
+ ## Scripts
495
+
496
+ See the `scripts/` directory for analysis and visualization tools:
497
+ - `generate_survival_analysis.py` - Kaplan-Meier curve generation with log-rank tests, hazard ratios, 95% CI
498
+ - `create_waterfall_plot.py` - Best response visualization for cohort analyses
499
+ - `create_forest_plot.py` - Subgroup analysis visualization with confidence intervals
500
+ - `create_cohort_tables.py` - Demographics, biomarker frequency, and outcomes tables
501
+ - `build_decision_tree.py` - TikZ flowchart generation for treatment algorithms
502
+ - `biomarker_classifier.py` - Patient stratification algorithms by molecular subtype
503
+ - `calculate_statistics.py` - Hazard ratios, Cox regression, log-rank tests, Fisher's exact
504
+ - `validate_cds_document.py` - Quality and compliance checks (HIPAA, statistical reporting standards)
505
+ - `grade_evidence.py` - Automated GRADE assessment helper for treatment recommendations
506
+