@synsci/cli-darwin-arm64 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,380 @@
1
+ \documentclass[10pt,letterpaper]{article}
2
+
3
+ % Packages
4
+ \usepackage[margin=0.5in]{geometry}
5
+ \usepackage[utf8]{inputenc}
6
+ \usepackage[T1]{fontenc}
7
+ \usepackage{helvet}
8
+ \renewcommand{\familydefault}{\sfdefault}
9
+ \usepackage{xcolor}
10
+ \usepackage{tcolorbox}
11
+ \usepackage{array}
12
+ \usepackage{tabularx}
13
+ \usepackage{booktabs}
14
+ \usepackage{enumitem}
15
+ \usepackage{titlesec}
16
+ \usepackage{fancyhdr}
17
+ \usepackage{graphicx}
18
+
19
+ % Color definitions
20
+ \definecolor{headerblue}{RGB}{0,102,204}
21
+ \definecolor{tier1green}{RGB}{0,153,76}
22
+ \definecolor{tier2orange}{RGB}{255,152,0}
23
+ \definecolor{tier3gray}{RGB}{158,158,158}
24
+ \definecolor{mutationred}{RGB}{244,67,54}
25
+ \definecolor{amplificationblue}{RGB}{33,150,243}
26
+ \definecolor{fusionpurple}{RGB}{156,39,176}
27
+ \definecolor{highlightgray}{RGB}{240,240,240}
28
+
29
+ % Section formatting
30
+ \titleformat{\section}{\normalfont\fontsize{11}{12}\bfseries\color{headerblue}}{\thesection}{0.5em}{}
31
+ \titlespacing*{\section}{0pt}{4pt}{2pt}
32
+
33
+ \titleformat{\subsection}{\normalfont\fontsize{10}{11}\bfseries}{\thesubsection}{0.5em}{}
34
+ \titlespacing*{\subsection}{0pt}{3pt}{1pt}
35
+
36
+ % List formatting
37
+ \setlist[itemize]{leftmargin=*,itemsep=0pt,parsep=0pt,topsep=1pt}
38
+ \setlist[enumerate]{leftmargin=*,itemsep=0pt,parsep=0pt,topsep=1pt}
39
+
40
+ \setlength{\parindent}{0pt}
41
+ \setlength{\parskip}{2pt}
42
+
43
+ % Header/footer
44
+ \pagestyle{fancy}
45
+ \fancyhf{}
46
+ \fancyhead[L]{\footnotesize \textbf{Genomic Profile Report: [PATIENT ID]}}
47
+ \fancyhead[R]{\footnotesize Page \thepage}
48
+ \renewcommand{\headrulewidth}{0.5pt}
49
+ \fancyfoot[C]{\footnotesize Confidential Laboratory Report - CLIA/CAP Certified}
50
+
51
+ \begin{document}
52
+
53
+ % Title block
54
+ \begin{center}
55
+ {\fontsize{14}{16}\selectfont\bfseries\color{headerblue} COMPREHENSIVE GENOMIC PROFILING REPORT}\\[2pt]
56
+ {\fontsize{10}{12}\selectfont [Laboratory Name] | CLIA \#: [Number] | CAP \#: [Number]}
57
+ \end{center}
58
+
59
+ \vspace{2pt}
60
+
61
+ % Patient/Specimen Information
62
+ \begin{tcolorbox}[colback=highlightgray,colframe=black]
63
+ \begin{minipage}{0.48\textwidth}
64
+ {\small
65
+ \textbf{Patient Information}\\
66
+ Patient ID: [De-identified ID]\\
67
+ Date of Birth: [De-identified/Age only]\\
68
+ Sex: [M/F]\\
69
+ Ordering Physician: [Name, MD]
70
+ }
71
+ \end{minipage}
72
+ \hfill
73
+ \begin{minipage}{0.48\textwidth}
74
+ {\small
75
+ \textbf{Specimen Information}\\
76
+ Specimen Type: [Tissue/Blood/Other]\\
77
+ Collection Date: [Date]\\
78
+ Received Date: [Date]\\
79
+ Report Date: [Date]
80
+ }
81
+ \end{minipage}
82
+ \end{tcolorbox}
83
+
84
+ \vspace{2pt}
85
+
86
+ % Diagnosis
87
+ \textbf{Diagnosis}: [Cancer type, stage, histology]
88
+
89
+ \textbf{Testing Performed}: [Assay name - e.g., FoundationOne CDx, NGS Panel]
90
+
91
+ \vspace{2pt}
92
+
93
+ % Results Summary Box
94
+ \begin{tcolorbox}[enhanced,colback=tier1green!10,colframe=tier1green,
95
+ title=\textbf{RESULTS SUMMARY},fonttitle=\bfseries,coltitle=black]
96
+ {\small
97
+ \textbf{Actionable Findings}: [X] alteration(s) detected
98
+ \begin{itemize}
99
+ \item \textbf{Tier 1}: [Number] FDA-approved therapy target(s)
100
+ \item \textbf{Tier 2}: [Number] clinical trial or off-label option(s)
101
+ \item \textbf{Tier 3}: [Number] variant(s) of uncertain significance
102
+ \end{itemize}
103
+
104
+ \textbf{Additional Biomarkers}:
105
+ \begin{itemize}
106
+ \item Tumor Mutational Burden (TMB): [X.X] mutations/Mb - [High/Intermediate/Low]
107
+ \item Microsatellite Status: [MSI-H / MSS / Not assessed]
108
+ \item PD-L1 Expression: [X\% TPS / Not assessed]
109
+ \end{itemize}
110
+ }
111
+ \end{tcolorbox}
112
+
113
+ \section{Tier 1: FDA-Approved Targeted Therapies}
114
+
115
+ \begin{tcolorbox}[enhanced,colback=tier1green!5,colframe=tier1green,
116
+ title={\colorbox{mutationred!60}{\textcolor{white}{\textbf{MUTATION}}} \textbf{[Gene Name] [Alteration]} \hfill \textbf{TIER 1 - ACTIONABLE}},
117
+ fonttitle=\bfseries\small,coltitle=black]
118
+ {\small
119
+ \textbf{Alteration}: [Gene] [Specific variant - e.g., EGFR p.L858R (c.2573T>G)]\\
120
+ \textbf{Variant Allele Frequency (VAF)}: XX\% (suggests [clonal/subclonal] mutation)\\
121
+ \textbf{Classification}: [Pathogenic / Likely Pathogenic] (ClinVar, OncoKB)
122
+
123
+ \textbf{Clinical Significance}: \textcolor{tier1green}{\textbf{ACTIONABLE - FDA-APPROVED THERAPY AVAILABLE}}
124
+
125
+ \textbf{FDA-Approved Therapy}:
126
+ \begin{itemize}
127
+ \item \textbf{Drug}: [Drug name (brand name)] XX mg [PO/IV] [schedule]
128
+ \item \textbf{Indication}: [Specific disease, line of therapy]
129
+ \item \textbf{Evidence}: [Pivotal trial] - [Key results with HR, ORR, median survival]
130
+ \item \textbf{Guideline}: NCCN Category [1/2A], [ESMO/ASCO recommendation]
131
+ \item \textbf{Expected Outcomes}: ORR XX\%, median PFS XX months
132
+ \end{itemize}
133
+
134
+ \textbf{Alternative Therapies}:
135
+ \begin{itemize}
136
+ \item [Alternative drug] - [Indication, evidence level]
137
+ \end{itemize}
138
+
139
+ \textbf{Recommendation}: \textbf{STRONG} - Consider [drug name] as [first-line/second-line] therapy (GRADE 1A)
140
+ }
141
+ \end{tcolorbox}
142
+
143
+ \vspace{3pt}
144
+
145
+ \begin{tcolorbox}[enhanced,colback=tier1green!5,colframe=tier1green,
146
+ title={\colorbox{amplificationblue!60}{\textcolor{white}{\textbf{AMPLIFICATION}}} \textbf{[Gene] Amplification} \hfill \textbf{TIER 1}},
147
+ fonttitle=\bfseries\small,coltitle=black]
148
+ {\small
149
+ \textbf{Alteration}: [Gene name] amplification\\
150
+ \textbf{Copy Number}: [X.X] copies per cell (threshold for positivity: ≥[Y])\\
151
+ \textbf{Method}: [NGS copy number analysis / FISH]
152
+
153
+ \textbf{Clinical Significance}: \textcolor{tier1green}{\textbf{ACTIONABLE - COMPANION DIAGNOSTIC}}
154
+
155
+ \textbf{Therapy Options}: [Similar structure as mutation section]
156
+ }
157
+ \end{tcolorbox}
158
+
159
+ \section{Tier 2: Clinical Trial or Guideline-Recommended Off-Label}
160
+
161
+ \begin{tcolorbox}[enhanced,colback=tier2orange!5,colframe=tier2orange,
162
+ title={\colorbox{fusionpurple!60}{\textcolor{white}{\textbf{FUSION}}} \textbf{[Gene] Rearrangement} \hfill \textbf{TIER 2 - INVESTIGATIONAL}},
163
+ fonttitle=\bfseries\small,coltitle=black]
164
+ {\small
165
+ \textbf{Alteration}: [Gene A]-[Gene B] fusion detected\\
166
+ \textbf{Method}: [RNA-seq / DNA NGS / FISH]
167
+
168
+ \textbf{Clinical Significance}: \textcolor{tier2orange}{\textbf{INVESTIGATIONAL - CLINICAL TRIAL PREFERRED}}
169
+
170
+ \textbf{Treatment Options}:
171
+ \begin{itemize}
172
+ \item \textbf{Clinical Trial}: [Specific trial or trial search guidance]
173
+ \item \textbf{Off-Label Option}: [Drug] - NCCN Category 2A recommendation
174
+ \item \textbf{Evidence}: [Phase 2 data, basket trial results, case series]
175
+ \end{itemize}
176
+
177
+ \textbf{Recommendation}: \textbf{CONDITIONAL} - Consider clinical trial enrollment or off-label use after standard therapy (GRADE 2B)
178
+ }
179
+ \end{tcolorbox}
180
+
181
+ \section{Tier 3: Variants of Uncertain Significance (VUS)}
182
+
183
+ \begin{tcolorbox}[colback=tier3gray!10,colframe=tier3gray]
184
+ {\small
185
+ \textbf{[Gene] [Variant]}: [Description]\\
186
+ \textbf{Classification}: Variant of Uncertain Significance (VUS)\\
187
+ \textbf{Clinical Actionability}: None currently - insufficient evidence\\
188
+ \textbf{Recommendation}: No treatment change based on this finding; may be reclassified as evidence emerges
189
+ }
190
+ \end{tcolorbox}
191
+
192
+ \section{Biomarkers Assessed - Negative}
193
+
194
+ \textbf{No Alterations Detected in}:
195
+ \begin{multicols}{3}
196
+ \begin{itemize}
197
+ \item [Gene 1]
198
+ \item [Gene 2]
199
+ \item [Gene 3]
200
+ \item [Gene 4]
201
+ \item [Gene 5]
202
+ \item [Gene 6]
203
+ \end{itemize}
204
+ \end{multicols}
205
+
206
+ \section{Additional Biomarkers}
207
+
208
+ \subsection{Tumor Mutational Burden (TMB)}
209
+
210
+ \textbf{TMB}: [X.X] mutations per megabase
211
+
212
+ \textbf{Classification}:
213
+ \begin{itemize}
214
+ \item $\geq$10 mut/Mb: TMB-high (potential immunotherapy benefit)
215
+ \item 6-9 mut/Mb: TMB-intermediate
216
+ \item <6 mut/Mb: TMB-low
217
+ \end{itemize}
218
+
219
+ \textbf{Result}: [TMB-high / TMB-intermediate / TMB-low]
220
+
221
+ \textbf{Clinical Implication}:
222
+ \begin{itemize}
223
+ \item TMB-high: Consider immunotherapy; pembrolizumab FDA-approved for TMB-H ($\geq$10) solid tumors
224
+ \item TMB-intermediate/low: Standard chemotherapy or biomarker-directed therapy
225
+ \end{itemize}
226
+
227
+ \subsection{Microsatellite Instability (MSI)}
228
+
229
+ \textbf{MSI Status}: [MSI-H / MSI-L / MSS]
230
+
231
+ \textbf{Method}: [NGS-based MSI calling / PCR-based assay]
232
+
233
+ \textbf{Clinical Implication}:
234
+ \begin{itemize}
235
+ \item MSI-H: Immunotherapy highly effective (ORR 30-60\%); pembrolizumab, nivolumab approved
236
+ \item MSS: Standard therapy; MSI-H-specific therapies not indicated
237
+ \item If MSI-H + [relevant cancer] + young age: Consider germline Lynch syndrome testing
238
+ \end{itemize}
239
+
240
+ \section{Integrated Treatment Recommendations}
241
+
242
+ \begin{tcolorbox}[enhanced,colback=stronggreen!10,colframe=tier1green,
243
+ title=\textbf{PERSONALIZED TREATMENT PLAN},fonttitle=\bfseries,coltitle=black]
244
+ {\small
245
+ Based on the genomic profile, the following treatment approach is recommended:
246
+
247
+ \textbf{Primary Recommendation (GRADE 1A)}:
248
+ \begin{itemize}
249
+ \item \textbf{[Drug targeting identified alteration]}
250
+ \item Dosing: [Specific dose and schedule]
251
+ \item Evidence: [Supporting data]
252
+ \item Expected outcomes: ORR XX\%, median PFS XX months
253
+ \end{itemize}
254
+
255
+ \textbf{If Primary Recommendation Contraindicated}:
256
+ \begin{itemize}
257
+ \item Alternative 1: [Second-line biomarker-directed option]
258
+ \item Alternative 2: [Standard therapy if targeted therapy ineligible]
259
+ \end{itemize}
260
+
261
+ \textbf{At Progression}:
262
+ \begin{itemize}
263
+ \item Repeat molecular profiling (liquid biopsy or tissue) for resistance mechanisms
264
+ \item Expected resistance alterations: [e.g., EGFR T790M, MET amplification]
265
+ \item Sequential targeted therapy if secondary actionable alteration identified
266
+ \end{itemize}
267
+
268
+ \textbf{Clinical Trial Matching}:
269
+ \begin{itemize}
270
+ \item [List relevant trials based on identified alterations]
271
+ \item ClinicalTrials.gov search terms: [Suggested keywords]
272
+ \end{itemize}
273
+ }
274
+ \end{tcolorbox}
275
+
276
+ \section{Clinical Trial Matching}
277
+
278
+ \begin{table}[H]
279
+ \centering
280
+ \small
281
+ \begin{tabular}{llll}
282
+ \toprule
283
+ \textbf{Trial} & \textbf{Intervention} & \textbf{Biomarker} & \textbf{Phase} \\
284
+ \midrule
285
+ [NCT Number] & [Drug/regimen] & [Matching biomarker] & Phase [1/2/3] \\
286
+ [NCT Number] & [Drug/regimen] & [Matching biomarker] & Phase [1/2/3] \\
287
+ \bottomrule
288
+ \end{tabular}
289
+ \caption{Potential clinical trials based on molecular profile (as of [date])}
290
+ \end{table}
291
+
292
+ \textit{Note: Trial availability changes frequently. Search ClinicalTrials.gov for current options.}
293
+
294
+ \section{Methodology}
295
+
296
+ \subsection{Assay Information}
297
+
298
+ \textbf{Test Name}: [FoundationOne CDx / Custom NGS Panel / Other]\\
299
+ \textbf{Methodology}: Next-generation sequencing (NGS)\\
300
+ \textbf{Genes Analyzed}: [Number] genes for SNVs, indels, CNVs, and rearrangements\\
301
+ \textbf{Coverage Depth}: [XXX]x median coverage\\
302
+ \textbf{Limit of Detection}: [X\%] variant allele frequency
303
+
304
+ \textbf{Specimen Details}:
305
+ \begin{itemize}
306
+ \item Specimen type: [FFPE tissue block / Blood (ctDNA)]
307
+ \item Tumor content: [XX\%] (minimum 20\% required for optimal sensitivity)
308
+ \item DNA quality: [Adequate / Suboptimal]
309
+ \item DNA quantity: [XX ng] (minimum [Y ng] required)
310
+ \end{itemize}
311
+
312
+ \subsection{Interpretation}
313
+
314
+ \textbf{Variant Classification}:
315
+ \begin{itemize}
316
+ \item Pathogenic: Disease-causing, clinically significant
317
+ \item Likely Pathogenic: Probably disease-causing based on available evidence
318
+ \item VUS: Uncertain significance, insufficient evidence for classification
319
+ \item Likely Benign: Probably not disease-causing
320
+ \item Benign: Not disease-causing
321
+ \end{itemize}
322
+
323
+ \textbf{Databases Referenced}:
324
+ \begin{itemize}
325
+ \item OncoKB (Memorial Sloan Kettering)
326
+ \item CIViC (Clinical Interpretations of Variants in Cancer)
327
+ \item ClinVar (NCBI)
328
+ \item COSMIC (Catalogue of Somatic Mutations in Cancer)
329
+ \item [Others - PMKB, CGI, etc.]
330
+ \end{itemize}
331
+
332
+ \section{Limitations}
333
+
334
+ \begin{itemize}
335
+ \item This test analyzes [somatic/germline] alterations in tumor tissue. [If somatic: Results not informative for inherited cancer risk]
336
+ \item Negative result does not exclude presence of alterations in genes not covered by this panel
337
+ \item Low VAF alterations (<5\%) may not be detected due to assay sensitivity limits
338
+ \item Copy number analysis limited for small amplifications or deletions
339
+ \item Structural variants detection depends on breakpoint location within sequenced regions
340
+ \item TMB and MSI calculations are estimate-based; consider orthogonal testing if borderline
341
+ \end{itemize}
342
+
343
+ \section{Recommendations for Referring Clinician}
344
+
345
+ \begin{enumerate}
346
+ \item \textbf{[Action 1]}: [e.g., Initiate targeted therapy with drug X based on detected alteration]
347
+ \item \textbf{[Action 2]}: [e.g., Consider clinical trial enrollment for Tier 2 alteration]
348
+ \item \textbf{[Action 3]}: [e.g., Repeat molecular profiling at progression to identify resistance mechanisms]
349
+ \item \textbf{[Action 4]}: [e.g., If MSI-H detected and patient <50 years, refer for genetic counseling for Lynch syndrome]
350
+ \item \textbf{[Action 5]}: [e.g., Share report with molecular tumor board for complex decision-making]
351
+ \end{enumerate}
352
+
353
+ \section{References}
354
+
355
+ \begin{enumerate}
356
+ \item [FDA Label for companion diagnostic]
357
+ \item [Key clinical trial supporting biomarker-therapy association]
358
+ \item [NCCN Guideline reference]
359
+ \item [OncoKB database version]
360
+ \item [Assay validation publication]
361
+ \end{enumerate}
362
+
363
+ \vspace{10pt}
364
+
365
+ \hrule
366
+ \vspace{4pt}
367
+ {\footnotesize
368
+ \textbf{Laboratory Director}: [Name, MD, PhD] | [Board certifications]\\
369
+ \textbf{Report Authorized By}: [Name, credentials] | Date: [Date]\\
370
+ \textbf{Laboratory}: [Name, address]\\
371
+ \textbf{CLIA \#}: [Number] | \textbf{CAP \#}: [Number]\\
372
+ \textbf{Questions}: Contact [Name] at [Phone] or [Email]
373
+
374
+ \vspace{2pt}
375
+
376
+ \textit{This report is intended for use by qualified healthcare professionals. The information provided is based on current scientific literature and databases. Interpretation and treatment decisions should be made by qualified physicians in consultation with the patient. This test was performed in a CLIA-certified, CAP-accredited laboratory.}
377
+ }
378
+
379
+ \end{document}
380
+
@@ -0,0 +1,222 @@
1
+ \documentclass[10pt,letterpaper,landscape]{article}
2
+
3
+ % Landscape for wider flowcharts
4
+ \usepackage[margin=0.4in]{geometry}
5
+ \usepackage[utf8]{inputenc}
6
+ \usepackage[T1]{fontenc}
7
+ \usepackage{helvet}
8
+ \renewcommand{\familydefault}{\sfdefault}
9
+ \usepackage{xcolor}
10
+ \usepackage{tcolorbox}
11
+ \usepackage{tikz}
12
+ \usetikzlibrary{shapes,arrows,positioning,fit,calc}
13
+ \usepackage{fancyhdr}
14
+
15
+ % Color definitions
16
+ \definecolor{headerblue}{RGB}{0,102,204}
17
+ \definecolor{actiongreen}{RGB}{0,153,76}
18
+ \definecolor{decisionyellow}{RGB}{255,193,7}
19
+ \definecolor{urgentred}{RGB}{220,20,60}
20
+ \definecolor{infobox}{RGB}{33,150,243}
21
+ \definecolor{routineblue}{RGB}{100,181,246}
22
+
23
+ % Header/footer
24
+ \pagestyle{fancy}
25
+ \fancyhf{}
26
+ \fancyhead[L]{\footnotesize \textbf{Clinical Pathway: [CONDITION/DISEASE]}}
27
+ \fancyhead[R]{\footnotesize Version X.X | [Date]}
28
+ \renewcommand{\headrulewidth}{0.5pt}
29
+ \fancyfoot[C]{\footnotesize Evidence-Based Clinical Decision Pathway | For Professional Use Only | Page \thepage}
30
+
31
+ % TikZ styles
32
+ \tikzstyle{startstop} = [rectangle, rounded corners=8pt, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=headerblue!20, font=\small\bfseries]
33
+ \tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1.2cm, text centered, draw=black, fill=decisionyellow!40, font=\small, aspect=2, inner sep=0pt]
34
+ \tikzstyle{process} = [rectangle, rounded corners=4pt, minimum width=3.5cm, minimum height=0.9cm, text centered, draw=black, fill=actiongreen!20, font=\small]
35
+ \tikzstyle{urgent} = [rectangle, rounded corners=4pt, minimum width=3.5cm, minimum height=0.9cm, text centered, draw=urgentred, line width=1.5pt, fill=urgentred!15, font=\small\bfseries]
36
+ \tikzstyle{routine} = [rectangle, rounded corners=4pt, minimum width=3.5cm, minimum height=0.9cm, text centered, draw=black, fill=routineblue!20, font=\small]
37
+ \tikzstyle{info} = [rectangle, rounded corners=2pt, minimum width=2.5cm, minimum height=0.7cm, text centered, draw=infobox, fill=infobox!10, font=\footnotesize]
38
+ \tikzstyle{arrow} = [thick,->,>=stealth]
39
+ \tikzstyle{urgentarrow} = [ultra thick,->,>=stealth,color=urgentred]
40
+
41
+ \setlength{\parindent}{0pt}
42
+
43
+ \begin{document}
44
+
45
+ \begin{center}
46
+ {\fontsize{16}{18}\selectfont\bfseries\color{headerblue} CLINICAL DECISION PATHWAY}\\[2pt]
47
+ {\fontsize{13}{15}\selectfont\bfseries [Disease/Condition - e.g., Acute Chest Pain Management]}\\[2pt]
48
+ {\fontsize{10}{12}\selectfont [Institution Name] | Version X.X | Effective Date: [Date]}
49
+ \end{center}
50
+
51
+ \vspace{6pt}
52
+
53
+ % Legend box
54
+ \begin{tcolorbox}[colback=white,colframe=black,width=\textwidth]
55
+ \begin{minipage}{0.48\textwidth}
56
+ \textbf{Pathway Symbols:}\\[2pt]
57
+ \begin{tikzpicture}[node distance=0.5cm]
58
+ \node[startstop, scale=0.7] (start) {Start/End};
59
+ \node[decision, right=1cm of start, scale=0.7] (dec) {Decision\\Point};
60
+ \node[process, right=1cm of dec, scale=0.7] (proc) {Action/Process};
61
+ \end{tikzpicture}
62
+ \end{minipage}
63
+ \begin{minipage}{0.48\textwidth}
64
+ \textbf{Urgency Color Coding:}\\[2pt]
65
+ \begin{tikzpicture}[node distance=0.5cm]
66
+ \node[urgent, scale=0.7] (urg) {URGENT\\<1 hour};
67
+ \node[process, right=1cm of urg, scale=0.7] (sem) {Semi-Urgent\\<24 hours};
68
+ \node[routine, right=1cm of sem, scale=0.7] (rout) {Routine\\>24 hours};
69
+ \end{tikzpicture}
70
+ \end{minipage}
71
+ \end{tcolorbox}
72
+
73
+ \vspace{4pt}
74
+
75
+ % Main flowchart
76
+ \begin{center}
77
+ \begin{tikzpicture}[node distance=2.2cm and 3cm, auto]
78
+
79
+ % Start
80
+ \node [startstop] (start) {Patient Presentation:\\[2pt] [Chief Complaint]};
81
+
82
+ % First decision
83
+ \node [decision, below=of start] (decision1) {[Critical\\Criteria\\Present?]};
84
+
85
+ % Urgent pathway (left branch)
86
+ \node [urgent, left=of decision1, below=1.8cm] (urgent1) {IMMEDIATE ACTION:\\[2pt] [Specific intervention]\\[2pt] Call Code/Transfer};
87
+
88
+ % Continue evaluation (right branch)
89
+ \node [process, right=of decision1, below=1.8cm] (eval1) {Continue\\Evaluation:\\[2pt][Tests/Assessment]};
90
+
91
+ % Second decision
92
+ \node [decision, below=of eval1] (decision2) {[Risk\\Score\\$\geq$X?]};
93
+
94
+ % High risk pathway
95
+ \node [urgent, left=of decision2, below=1.8cm] (high) {HIGH RISK:\\[2pt] Admit ICU/Telemetry\\[2pt] [Specific management]};
96
+
97
+ % Moderate risk
98
+ \node [process, below=of decision2] (moderate) {MODERATE RISK:\\[2pt] Admit for observation\\[2pt] Serial testing};
99
+
100
+ % Low risk pathway
101
+ \node [routine, right=of decision2, below=1.8cm] (low) {LOW RISK:\\[2pt] Outpatient management\\[2pt] Follow-up in X days};
102
+
103
+ % Final outcome node
104
+ \node [startstop, below=of moderate, node distance=2.5cm] (outcome) {Definitive Management\\Based on Results};
105
+
106
+ % Arrows
107
+ \draw [urgentarrow] (start) -- (decision1);
108
+ \draw [urgentarrow] (decision1) -| node[near start,left] {YES} (urgent1);
109
+ \draw [arrow] (decision1) -| node[near start,right] {NO} (eval1);
110
+ \draw [arrow] (eval1) -- (decision2);
111
+ \draw [arrow] (decision2) -| node[near start,left] {HIGH} (high);
112
+ \draw [arrow] (decision2) -- node[right] {MODERATE} (moderate);
113
+ \draw [arrow] (decision2) -| node[near start,right] {LOW} (low);
114
+ \draw [arrow] (urgent1) |- (outcome);
115
+ \draw [arrow] (high) |- (outcome);
116
+ \draw [arrow] (moderate) -- (outcome);
117
+ \draw [arrow] (low) |- (outcome);
118
+
119
+ % Information boxes
120
+ \node [info, right=1.5cm of eval1] (info1) {[Criteria]:\\[1pt] \footnotesize • Item 1\\• Item 2\\• Item 3};
121
+ \node [info, right=1.5cm of decision2] (info2) {[Score]:\\[1pt] \footnotesize Calculate:\\risk score};
122
+
123
+ \end{tikzpicture}
124
+ \end{center}
125
+
126
+ \vspace{8pt}
127
+
128
+ % Detailed pathway steps
129
+ \begin{tcolorbox}[colback=highlightgray!30,colframe=headerblue,title=\textbf{Detailed Pathway Steps},fonttitle=\bfseries]
130
+
131
+ \textbf{STEP 1: Initial Assessment}
132
+ \begin{itemize}
133
+ \item Vital signs: BP, HR, RR, temp, O₂ saturation
134
+ \item Focused history: [Key elements]
135
+ \item Physical examination: [Key findings]
136
+ \item Initial labs: [Specify tests]
137
+ \item ECG (if applicable)
138
+ \end{itemize}
139
+
140
+ \textbf{STEP 2: Risk Stratification}
141
+ \begin{itemize}
142
+ \item Calculate [Risk Score Name] (see scoring table below)
143
+ \item Identify high-risk features requiring immediate intervention
144
+ \item Document risk category in medical record
145
+ \end{itemize}
146
+
147
+ \textbf{STEP 3: Treatment Initiation}
148
+ \begin{itemize}
149
+ \item Urgent: [Specific interventions within 1 hour]
150
+ \item Semi-urgent: [Interventions within 24 hours]
151
+ \item Routine: [Standard management approach]
152
+ \end{itemize}
153
+
154
+ \textbf{STEP 4: Monitoring and Reassessment}
155
+ \begin{itemize}
156
+ \item Frequency: [Based on risk category]
157
+ \item Parameters: [What to monitor]
158
+ \item Escalation criteria: [When to intensify treatment]
159
+ \item De-escalation criteria: [When to transition to lower intensity]
160
+ \end{itemize}
161
+
162
+ \end{tcolorbox}
163
+
164
+ \vspace{4pt}
165
+
166
+ % Risk scoring table
167
+ \begin{tcolorbox}[colback=white,colframe=headerblue,title=\textbf{[Risk Score Name] Calculation},fonttitle=\bfseries]
168
+ {\small
169
+ \begin{tabular}{lc}
170
+ \toprule
171
+ \textbf{Clinical Feature} & \textbf{Points} \\
172
+ \midrule
173
+ [Feature 1 - e.g., Age $\geq$65 years] & +1 \\
174
+ [Feature 2 - e.g., Prior history] & +1 \\
175
+ [Feature 3 - e.g., Abnormal lab value] & +2 \\
176
+ [Feature 4 - e.g., Specific symptom] & +1 \\
177
+ [Feature 5 - e.g., Imaging finding] & +2 \\
178
+ \midrule
179
+ \textbf{Total Score} & \textbf{0-X points} \\
180
+ \bottomrule
181
+ \end{tabular}
182
+
183
+ \vspace{4pt}
184
+
185
+ \textbf{Risk Categories}:
186
+ \begin{itemize}
187
+ \item \textbf{Low Risk}: 0-1 points → [Management approach, predicted outcome]
188
+ \item \textbf{Moderate Risk}: 2-3 points → [Management approach, predicted outcome]
189
+ \item \textbf{High Risk}: $\geq$4 points → [Management approach, predicted outcome]
190
+ \end{itemize}
191
+ }
192
+ \end{tcolorbox}
193
+
194
+ \vspace{4pt}
195
+
196
+ % Evidence basis
197
+ \begin{tcolorbox}[colback=actiongreen!5,colframe=actiongreen,title=\textbf{Evidence Basis for Pathway},fonttitle=\bfseries]
198
+ {\small
199
+ \textbf{Key Supporting Evidence}:
200
+ \begin{enumerate}
201
+ \item \textbf{[Clinical Trial/Study]}: [Key finding supporting pathway decision]
202
+ \item \textbf{Guidelines}: NCCN/ASCO/AHA/ACC/[Relevant society] [Year] - [Recommendation level]
203
+ \item \textbf{Meta-Analysis}: [If applicable - pooled results supporting approach]
204
+ \end{enumerate}
205
+
206
+ \textbf{Validation}: Pathway validated at [institution] with [X\%] adherence rate and [outcome metrics].
207
+
208
+ \textbf{Last Updated}: [Date] based on [new trial, guideline update, or scheduled review]
209
+ }
210
+ \end{tcolorbox}
211
+
212
+ \vspace{8pt}
213
+
214
+ \hrule
215
+ \vspace{4pt}
216
+ {\footnotesize
217
+ \textbf{Pathway Committee}: [Names, titles] | \textbf{Approved}: [Date] | \textbf{Next Review}: [Date]\\
218
+ \textbf{Contact for Questions}: [Name, email, phone]
219
+ }
220
+
221
+ \end{document}
222
+