medsci-skills 4.1.0
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.
- package/LICENSE +50 -0
- package/README.md +602 -0
- package/README_FIRST.md +27 -0
- package/bin/medsci-skills.js +159 -0
- package/installers/install-macos.command +19 -0
- package/installers/install-windows.cmd +26 -0
- package/installers/install-windows.ps1 +17 -0
- package/installers/install.py +218 -0
- package/metadata/skills_catalog.json +452 -0
- package/package.json +48 -0
- package/skills/academic-aio/SKILL.md +408 -0
- package/skills/academic-aio/references/case_studies/kjr_mllm_2025.md +82 -0
- package/skills/academic-aio/references/checklists/AIO_GENERAL.md +354 -0
- package/skills/academic-aio/references/journal_summarybox_templates.yaml +126 -0
- package/skills/academic-aio/references/oac_funding_checklist.yaml +129 -0
- package/skills/academic-aio/references/reporting_guideline_mapping.md +39 -0
- package/skills/academic-aio/references/schema_markup_templates/CodeRepository.jsonld +32 -0
- package/skills/academic-aio/references/schema_markup_templates/Dataset.jsonld +36 -0
- package/skills/academic-aio/references/schema_markup_templates/Person.jsonld +30 -0
- package/skills/academic-aio/references/schema_markup_templates/README.md +43 -0
- package/skills/academic-aio/references/schema_markup_templates/ScholarlyArticle.jsonld +55 -0
- package/skills/academic-aio/scripts/batch_metadata_audit.py +169 -0
- package/skills/academic-aio/scripts/validate_schema.py +118 -0
- package/skills/academic-aio/skill.yml +36 -0
- package/skills/academic-aio/templates/aio_audit_checklist.md.j2 +108 -0
- package/skills/add-journal/SKILL.md +482 -0
- package/skills/add-journal/skill.yml +33 -0
- package/skills/analyze-stats/SKILL.md +598 -0
- package/skills/analyze-stats/references/analysis_guides/missing_data.md +109 -0
- package/skills/analyze-stats/references/analysis_guides/nhis_icd10_mapping.md +247 -0
- package/skills/analyze-stats/references/analysis_guides/propensity_score.md +132 -0
- package/skills/analyze-stats/references/analysis_guides/regression.md +115 -0
- package/skills/analyze-stats/references/analysis_guides/repeated_measures.md +160 -0
- package/skills/analyze-stats/references/analysis_guides/survey_weighted.md +366 -0
- package/skills/analyze-stats/references/analysis_guides/test_selection.md +86 -0
- package/skills/analyze-stats/references/style/figure_style.mplstyle +69 -0
- package/skills/analyze-stats/references/style/theme_publication.R +147 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/ajr.yaml +51 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/european_radiology.yaml +55 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/jama.yaml +66 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/lancet.yaml +57 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/nejm.yaml +51 -0
- package/skills/analyze-stats/references/table-standards/journal-profiles/radiology.yaml +66 -0
- package/skills/analyze-stats/references/table-standards/table-standards.md +287 -0
- package/skills/analyze-stats/references/table-standards/table-types/diagnostic_accuracy.md +36 -0
- package/skills/analyze-stats/references/table-standards/table-types/meta_analysis.md +58 -0
- package/skills/analyze-stats/references/table-standards/table-types/model_comparison.md +36 -0
- package/skills/analyze-stats/references/table-standards/table-types/regression_results.md +50 -0
- package/skills/analyze-stats/references/table-standards/table-types/table1_demographics.md +51 -0
- package/skills/analyze-stats/references/table-standards/tool-comparison.md +79 -0
- package/skills/analyze-stats/references/templates/agreement_analysis.py +436 -0
- package/skills/analyze-stats/references/templates/dca_plot.R +237 -0
- package/skills/analyze-stats/references/templates/diagnostic_accuracy.py +401 -0
- package/skills/analyze-stats/references/templates/dta_meta_analysis.R +384 -0
- package/skills/analyze-stats/references/templates/forest_plot.py +412 -0
- package/skills/analyze-stats/references/templates/likert_summary.py +356 -0
- package/skills/analyze-stats/references/templates/meta_analysis.R +365 -0
- package/skills/analyze-stats/references/templates/propensity_score.py +478 -0
- package/skills/analyze-stats/references/templates/regression.py +425 -0
- package/skills/analyze-stats/references/templates/repeated_measures.py +434 -0
- package/skills/analyze-stats/references/templates/sample_size.R +382 -0
- package/skills/analyze-stats/references/templates/survey_weighted_analysis.py +411 -0
- package/skills/analyze-stats/references/templates/survival_analysis.py +325 -0
- package/skills/analyze-stats/references/templates/table1_demographics.py +287 -0
- package/skills/analyze-stats/scripts/check_generated_code.py +335 -0
- package/skills/analyze-stats/skill.yml +38 -0
- package/skills/analyze-stats/tests/fixtures/gen_bad.R +16 -0
- package/skills/analyze-stats/tests/fixtures/gen_bad.py +24 -0
- package/skills/analyze-stats/tests/fixtures/gen_clean.py +21 -0
- package/skills/analyze-stats/tests/test_generated_code.sh +59 -0
- package/skills/analyze-stats/tests/test_survival_template.sh +53 -0
- package/skills/author-strategy/SKILL.md +117 -0
- package/skills/author-strategy/analyze_patterns.py +303 -0
- package/skills/author-strategy/fetch_pubmed.py +374 -0
- package/skills/author-strategy/skill.yml +34 -0
- package/skills/batch-cohort/SKILL.md +223 -0
- package/skills/batch-cohort/references/base_template_knhanes.R +210 -0
- package/skills/batch-cohort/references/batch_template_generator.R +222 -0
- package/skills/batch-cohort/references/variable_coding_registry.md +136 -0
- package/skills/batch-cohort/skill.yml +35 -0
- package/skills/calc-sample-size/SKILL.md +491 -0
- package/skills/calc-sample-size/references/formulas.md +655 -0
- package/skills/calc-sample-size/references/observational_cohort.md +49 -0
- package/skills/calc-sample-size/skill.yml +51 -0
- package/skills/check-reporting/SKILL.md +534 -0
- package/skills/check-reporting/references/LICENSES.md +41 -0
- package/skills/check-reporting/references/checklists/AMSTAR2.md +54 -0
- package/skills/check-reporting/references/checklists/ARRIVE_2.md +234 -0
- package/skills/check-reporting/references/checklists/CARE.md +102 -0
- package/skills/check-reporting/references/checklists/CLAIM_2024.md +128 -0
- package/skills/check-reporting/references/checklists/CLEAR.md +113 -0
- package/skills/check-reporting/references/checklists/CONSORT.md +86 -0
- package/skills/check-reporting/references/checklists/COSMIN_RoB.md +136 -0
- package/skills/check-reporting/references/checklists/GRRAS.md +61 -0
- package/skills/check-reporting/references/checklists/MI_CLEAR_LLM.md +167 -0
- package/skills/check-reporting/references/checklists/MOOSE.md +85 -0
- package/skills/check-reporting/references/checklists/NOS.md +88 -0
- package/skills/check-reporting/references/checklists/PRISMA_2020.md +135 -0
- package/skills/check-reporting/references/checklists/PRISMA_DTA.md +36 -0
- package/skills/check-reporting/references/checklists/PRISMA_P.md +56 -0
- package/skills/check-reporting/references/checklists/PROBAST.md +75 -0
- package/skills/check-reporting/references/checklists/PROBAST_AI.md +130 -0
- package/skills/check-reporting/references/checklists/QUADAS2.md +77 -0
- package/skills/check-reporting/references/checklists/QUADAS_C.md +131 -0
- package/skills/check-reporting/references/checklists/ROBINS_E.md +179 -0
- package/skills/check-reporting/references/checklists/ROBINS_I.md +87 -0
- package/skills/check-reporting/references/checklists/ROBIS.md +114 -0
- package/skills/check-reporting/references/checklists/ROB_ME.md +126 -0
- package/skills/check-reporting/references/checklists/RoB2.md +79 -0
- package/skills/check-reporting/references/checklists/RoB_NMA.md +96 -0
- package/skills/check-reporting/references/checklists/SPIRIT.md +112 -0
- package/skills/check-reporting/references/checklists/SQUIRE_2.md +68 -0
- package/skills/check-reporting/references/checklists/STARD.md +129 -0
- package/skills/check-reporting/references/checklists/STARD_AI.md +211 -0
- package/skills/check-reporting/references/checklists/STROBE.md +80 -0
- package/skills/check-reporting/references/checklists/SWiM.md +33 -0
- package/skills/check-reporting/references/checklists/TRIPOD.md +157 -0
- package/skills/check-reporting/references/checklists/TRIPOD_AI.md +140 -0
- package/skills/check-reporting/references/step4c_registration_timing.md +93 -0
- package/skills/check-reporting/references/step4d_prisma_figure_audit.md +137 -0
- package/skills/check-reporting/scripts/check_checklist_exists.py +183 -0
- package/skills/check-reporting/scripts/check_checklist_version.py +168 -0
- package/skills/check-reporting/scripts/check_framework_naming.py +206 -0
- package/skills/check-reporting/scripts/check_prisma_figure.py +209 -0
- package/skills/check-reporting/scripts/prisma_cascade_check.py +274 -0
- package/skills/check-reporting/skill.yml +41 -0
- package/skills/check-reporting/tests/fixtures/framework_bad.md +8 -0
- package/skills/check-reporting/tests/fixtures/framework_clean.md +7 -0
- package/skills/check-reporting/tests/test_checklist_fail_fast.sh +77 -0
- package/skills/check-reporting/tests/test_checklist_version.sh +72 -0
- package/skills/check-reporting/tests/test_framework_naming.sh +45 -0
- package/skills/check-reporting/tests/test_prisma_cascade.sh +104 -0
- package/skills/clean-data/SKILL.md +180 -0
- package/skills/clean-data/references/cleaning_patterns.md +299 -0
- package/skills/clean-data/references/profiling_template.py +304 -0
- package/skills/clean-data/scripts/check_structural_zero.py +174 -0
- package/skills/clean-data/skill.yml +35 -0
- package/skills/clean-data/tests/fixtures/smoking.csv +8 -0
- package/skills/clean-data/tests/test_structural_zero.sh +49 -0
- package/skills/cross-national/SKILL.md +264 -0
- package/skills/cross-national/skill.yml +37 -0
- package/skills/define-variables/SKILL.md +146 -0
- package/skills/define-variables/references/common_definitions.md +190 -0
- package/skills/define-variables/skill.yml +34 -0
- package/skills/define-variables/templates/variable_operationalization.md +64 -0
- package/skills/deidentify/SKILL.md +203 -0
- package/skills/deidentify/deidentify.py +1224 -0
- package/skills/deidentify/locales/_template.json +45 -0
- package/skills/deidentify/locales/au.json +43 -0
- package/skills/deidentify/locales/ca.json +44 -0
- package/skills/deidentify/locales/cn.json +47 -0
- package/skills/deidentify/locales/de.json +48 -0
- package/skills/deidentify/locales/fr.json +48 -0
- package/skills/deidentify/locales/in.json +48 -0
- package/skills/deidentify/locales/jp.json +48 -0
- package/skills/deidentify/locales/kr.json +48 -0
- package/skills/deidentify/locales/uk.json +45 -0
- package/skills/deidentify/locales/us.json +43 -0
- package/skills/deidentify/references/date_shift_guide.md +82 -0
- package/skills/deidentify/references/hipaa_18_identifiers.md +48 -0
- package/skills/deidentify/references/korean_phi_patterns.md +135 -0
- package/skills/deidentify/skill.yml +43 -0
- package/skills/deidentify/tests/README.md +26 -0
- package/skills/deidentify/tests/test_clean.csv +16 -0
- package/skills/deidentify/tests/test_edge_cases.csv +11 -0
- package/skills/deidentify/tests/test_phi_korean.csv +11 -0
- package/skills/design-ai-benchmarking/SKILL.md +214 -0
- package/skills/design-ai-benchmarking/references/benchmark_export_schema.json +69 -0
- package/skills/design-ai-benchmarking/references/elicitation_rubric_template.md +37 -0
- package/skills/design-ai-benchmarking/skill.yml +38 -0
- package/skills/design-study/SKILL.md +298 -0
- package/skills/design-study/skill.yml +33 -0
- package/skills/fill-icmje-coi/SKILL.md +216 -0
- package/skills/fill-icmje-coi/scripts/fill_icmje_coi.py +140 -0
- package/skills/fill-icmje-coi/skill.yml +35 -0
- package/skills/fill-icmje-coi/templates/icmje_coi_seed_synthetic.docx +0 -0
- package/skills/fill-protocol/SKILL.md +248 -0
- package/skills/fill-protocol/examples/example_irb_template.yaml +53 -0
- package/skills/fill-protocol/references/best_practices.md +121 -0
- package/skills/fill-protocol/scripts/doc_to_docx.py +111 -0
- package/skills/fill-protocol/scripts/fill_form.py +611 -0
- package/skills/fill-protocol/scripts/inspect_template.py +61 -0
- package/skills/fill-protocol/setup.sh +162 -0
- package/skills/fill-protocol/skill.yml +37 -0
- package/skills/find-cohort-gap/SKILL.md +309 -0
- package/skills/find-cohort-gap/references/cohort_profile_template.md +93 -0
- package/skills/find-cohort-gap/references/onepager_template.md +84 -0
- package/skills/find-cohort-gap/references/pattern_scoring_rubric.md +169 -0
- package/skills/find-cohort-gap/references/saturation_query_templates.md +143 -0
- package/skills/find-cohort-gap/skill.yml +35 -0
- package/skills/find-journal/POLICY.md +87 -0
- package/skills/find-journal/SKILL.md +340 -0
- package/skills/find-journal/references/journal_profiles/AJNR.md +29 -0
- package/skills/find-journal/references/journal_profiles/AJR.md +30 -0
- package/skills/find-journal/references/journal_profiles/Abdominal_Radiology.md +30 -0
- package/skills/find-journal/references/journal_profiles/Academic_Radiology.md +30 -0
- package/skills/find-journal/references/journal_profiles/Annals_of_Internal_Medicine.md +33 -0
- package/skills/find-journal/references/journal_profiles/Artificial_Intelligence_in_Medicine.md +28 -0
- package/skills/find-journal/references/journal_profiles/BMC_Medicine.md +31 -0
- package/skills/find-journal/references/journal_profiles/British_Journal_of_Radiology.md +39 -0
- package/skills/find-journal/references/journal_profiles/CVIR.md +30 -0
- package/skills/find-journal/references/journal_profiles/Chest.md +39 -0
- package/skills/find-journal/references/journal_profiles/Clinical_Radiology.md +30 -0
- package/skills/find-journal/references/journal_profiles/Clinical_and_Molecular_Hepatology.md +32 -0
- package/skills/find-journal/references/journal_profiles/Diabetes_Metabolism_Journal.md +36 -0
- package/skills/find-journal/references/journal_profiles/Diagnostic_and_Interventional_Radiology.md +32 -0
- package/skills/find-journal/references/journal_profiles/Endocrinology_and_Metabolism.md +37 -0
- package/skills/find-journal/references/journal_profiles/European_Journal_of_Preventive_Cardiology.md +39 -0
- package/skills/find-journal/references/journal_profiles/European_Radiology.md +29 -0
- package/skills/find-journal/references/journal_profiles/Hepatology_Communications.md +40 -0
- package/skills/find-journal/references/journal_profiles/Hepatology_International.md +37 -0
- package/skills/find-journal/references/journal_profiles/IEEE_JBHI.md +28 -0
- package/skills/find-journal/references/journal_profiles/IEEE_TMI.md +28 -0
- package/skills/find-journal/references/journal_profiles/INSI.md +29 -0
- package/skills/find-journal/references/journal_profiles/Investigative_Radiology.md +25 -0
- package/skills/find-journal/references/journal_profiles/JACC_Advances.md +41 -0
- package/skills/find-journal/references/journal_profiles/JACC_Asia.md +30 -0
- package/skills/find-journal/references/journal_profiles/JACR.md +28 -0
- package/skills/find-journal/references/journal_profiles/JAMA.md +40 -0
- package/skills/find-journal/references/journal_profiles/JAMA_Network_Open.md +30 -0
- package/skills/find-journal/references/journal_profiles/JCSM.md +39 -0
- package/skills/find-journal/references/journal_profiles/JKMS.md +32 -0
- package/skills/find-journal/references/journal_profiles/JMIR.md +29 -0
- package/skills/find-journal/references/journal_profiles/JMIR_Medical_Education.md +29 -0
- package/skills/find-journal/references/journal_profiles/JNIS.md +35 -0
- package/skills/find-journal/references/journal_profiles/JVIR.md +31 -0
- package/skills/find-journal/references/journal_profiles/Journal_of_Biomedical_Informatics.md +29 -0
- package/skills/find-journal/references/journal_profiles/Journal_of_Clinical_Endocrinology_and_Metabolism.md +40 -0
- package/skills/find-journal/references/journal_profiles/Journal_of_Magnetic_Resonance_Imaging.md +30 -0
- package/skills/find-journal/references/journal_profiles/Journal_of_Nuclear_Medicine.md +31 -0
- package/skills/find-journal/references/journal_profiles/Journal_of_Stroke.md +32 -0
- package/skills/find-journal/references/journal_profiles/KJR.md +38 -0
- package/skills/find-journal/references/journal_profiles/Korean_Circulation_Journal.md +38 -0
- package/skills/find-journal/references/journal_profiles/Korean_Journal_of_Internal_Medicine.md +36 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Diabetes_and_Endocrinology.md +40 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Gastroenterology_and_Hepatology.md +49 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Infectious_Diseases.md +38 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Neurology.md +39 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Oncology.md +40 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Psychiatry.md +38 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Public_Health.md +30 -0
- package/skills/find-journal/references/journal_profiles/Lancet_Respiratory_Medicine.md +39 -0
- package/skills/find-journal/references/journal_profiles/Liver_International.md +33 -0
- package/skills/find-journal/references/journal_profiles/Medical_Image_Analysis.md +28 -0
- package/skills/find-journal/references/journal_profiles/NEJM.md +33 -0
- package/skills/find-journal/references/journal_profiles/Nature_Machine_Intelligence.md +31 -0
- package/skills/find-journal/references/journal_profiles/Nature_Medicine.md +39 -0
- package/skills/find-journal/references/journal_profiles/Neuroradiology.md +31 -0
- package/skills/find-journal/references/journal_profiles/Nutrition_Metabolism_and_Cardiovascular_Diseases.md +39 -0
- package/skills/find-journal/references/journal_profiles/PLOS_Medicine.md +32 -0
- package/skills/find-journal/references/journal_profiles/RYAI.md +28 -0
- package/skills/find-journal/references/journal_profiles/Radiology.md +29 -0
- package/skills/find-journal/references/journal_profiles/Skeletal_Radiology.md +31 -0
- package/skills/find-journal/references/journal_profiles/Stroke.md +37 -0
- package/skills/find-journal/references/journal_profiles/The_BMJ.md +31 -0
- package/skills/find-journal/references/journal_profiles/The_Lancet.md +31 -0
- package/skills/find-journal/references/journal_profiles/The_Lancet_Digital_Health.md +29 -0
- package/skills/find-journal/references/journal_profiles/World_Journal_of_Hepatology.md +53 -0
- package/skills/find-journal/references/journal_profiles/npj_Digital_Medicine.md +29 -0
- package/skills/find-journal/skill.yml +34 -0
- package/skills/fulltext-retrieval/SKILL.md +174 -0
- package/skills/fulltext-retrieval/fetch_oa.py +433 -0
- package/skills/fulltext-retrieval/pdf_to_md.py +160 -0
- package/skills/fulltext-retrieval/skill.yml +41 -0
- package/skills/generate-codebook/SKILL.md +155 -0
- package/skills/generate-codebook/references/codebook_schema.md +76 -0
- package/skills/generate-codebook/scripts/generate_codebook.py +278 -0
- package/skills/generate-codebook/skill.yml +35 -0
- package/skills/generate-codebook/tests/test_generate_codebook.sh +76 -0
- package/skills/grant-builder/SKILL.md +251 -0
- package/skills/grant-builder/skill.yml +34 -0
- package/skills/humanize/SKILL.md +251 -0
- package/skills/humanize/references/ai_patterns.md +571 -0
- package/skills/humanize/skill.yml +33 -0
- package/skills/intake-project/SKILL.md +264 -0
- package/skills/intake-project/skill.yml +34 -0
- package/skills/lit-sync/SKILL.md +448 -0
- package/skills/lit-sync/references/locale/ko/note_templates.md +110 -0
- package/skills/lit-sync/skill.yml +52 -0
- package/skills/lit-sync/tests/test_poll_logic.sh +92 -0
- package/skills/ma-scout/SKILL.md +640 -0
- package/skills/ma-scout/references/project_readme_template.md +95 -0
- package/skills/ma-scout/references/project_readme_template_ko.md +82 -0
- package/skills/ma-scout/skill.yml +33 -0
- package/skills/make-figures/SKILL.md +957 -0
- package/skills/make-figures/references/critic_rubrics/data_plot.md +166 -0
- package/skills/make-figures/references/critic_rubrics/flow_diagram.md +169 -0
- package/skills/make-figures/references/design_principles.md +181 -0
- package/skills/make-figures/references/exemplar_diagrams/README.md +65 -0
- package/skills/make-figures/references/exemplar_diagrams/consort/README.md +15 -0
- package/skills/make-figures/references/exemplar_diagrams/consort/template_input.yaml +37 -0
- package/skills/make-figures/references/exemplar_diagrams/consort/template_output.pdf +0 -0
- package/skills/make-figures/references/exemplar_diagrams/consort/template_output.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/consort/template_output_600.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/other/other_02.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/other/other_02.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/other/other_02_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/README.md +15 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_01.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_01.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_01_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_03.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_03.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_03_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_04.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_04.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_04_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_05.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_05.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_05_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_06.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_06.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_06_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_07.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_07.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_07_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_08.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_08.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_08_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_09.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_09.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_09_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_10.meta.yaml +4 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_10.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/pipeline/pipeline_10_why.md +13 -0
- package/skills/make-figures/references/exemplar_diagrams/prisma/README.md +15 -0
- package/skills/make-figures/references/exemplar_diagrams/prisma/template_input.yaml +47 -0
- package/skills/make-figures/references/exemplar_diagrams/prisma/template_output.pdf +0 -0
- package/skills/make-figures/references/exemplar_diagrams/prisma/template_output.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/prisma/template_output_600.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/stard/README.md +15 -0
- package/skills/make-figures/references/exemplar_diagrams/stard/template_input.yaml +40 -0
- package/skills/make-figures/references/exemplar_diagrams/stard/template_output.pdf +0 -0
- package/skills/make-figures/references/exemplar_diagrams/stard/template_output.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/stard/template_output_600.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_input.yaml +43 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_input_pptx.yaml +43 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_output.pdf +0 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_output.png +0 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_output.pptx +0 -0
- package/skills/make-figures/references/exemplar_diagrams/strobe/template_output_600.png +0 -0
- package/skills/make-figures/references/figure_specs.md +291 -0
- package/skills/make-figures/references/flow_diagram_lessons.md +164 -0
- package/skills/make-figures/references/jacc_central_illustration_principles.md +91 -0
- package/skills/make-figures/references/medical_illustration_sources.md +98 -0
- package/skills/make-figures/references/pipeline_concepts_medical_ai.md +240 -0
- package/skills/make-figures/references/reporting_guideline_figure_map.md +104 -0
- package/skills/make-figures/references/visual_abstract_templates/european_radiology.pptx +0 -0
- package/skills/make-figures/references/visual_abstract_templates/jacc_central_illustration.pptx +0 -0
- package/skills/make-figures/references/visual_abstract_templates/medsci_default.pptx +0 -0
- package/skills/make-figures/references/visual_abstract_templates/template_guide.md +114 -0
- package/skills/make-figures/scripts/build_jacc_template.py +77 -0
- package/skills/make-figures/scripts/build_prisma2020_template.py +371 -0
- package/skills/make-figures/scripts/build_strobe_template.py +351 -0
- package/skills/make-figures/scripts/critic_figure.py +264 -0
- package/skills/make-figures/scripts/derive_figure_legend_counts.py +138 -0
- package/skills/make-figures/scripts/extract_exemplar_from_pdf.py +186 -0
- package/skills/make-figures/scripts/fetch_official_templates.sh +88 -0
- package/skills/make-figures/scripts/fill_prisma_template.py +142 -0
- package/skills/make-figures/scripts/generate_flow_diagram.R +133 -0
- package/skills/make-figures/scripts/generate_image.py +99 -0
- package/skills/make-figures/scripts/generate_visual_abstract.py +438 -0
- package/skills/make-figures/scripts/validate_pptx_mac_compat.py +233 -0
- package/skills/make-figures/skill.yml +52 -0
- package/skills/make-figures/templates/official/NOTES.md +62 -0
- package/skills/make-figures/templates/official/consort2010/CONSORT_2025_editable_checklist.docx +0 -0
- package/skills/make-figures/templates/official/consort2010/CONSORT_2025_flow_diagram.docx +0 -0
- package/skills/make-figures/templates/official/prisma2020/PRISMA_2020_flow_new_v1.pptx +0 -0
- package/skills/make-figures/templates/official/prisma2020/PRISMA_2020_flow_new_v2.pptx +0 -0
- package/skills/make-figures/templates/official/prisma2020/PRISMA_2020_flow_updated_v2.pptx +0 -0
- package/skills/make-figures/templates/official/spirit2013/SPIRIT_2025_editable_checklist.docx +0 -0
- package/skills/make-figures/templates/official/spirit2013/SPIRIT_2025_participant_timeline.docx +0 -0
- package/skills/make-figures/templates/official/stard2015/STARD_2015_checklist.docx +0 -0
- package/skills/make-figures/templates/official/stard2015/STARD_2015_flow_diagram.pdf +0 -0
- package/skills/make-figures/tests/fixtures/figure1_flow.yaml +8 -0
- package/skills/make-figures/tests/fixtures/manuscript_ok.md +9 -0
- package/skills/make-figures/tests/fixtures/manuscript_stale.md +4 -0
- package/skills/make-figures/tests/test_legend_reconcile.sh +36 -0
- package/skills/manage-project/SKILL.md +358 -0
- package/skills/manage-project/references/pre_submission_checklist.md +53 -0
- package/skills/manage-project/references/project_state_template.json +37 -0
- package/skills/manage-project/references/scaffold_templates.md +118 -0
- package/skills/manage-project/references/status_output_format.md +44 -0
- package/skills/manage-project/references/timeline_example.md +20 -0
- package/skills/manage-project/skill.yml +36 -0
- package/skills/manage-project/templates/SSOT.yaml.template +41 -0
- package/skills/manage-refs/LICENSE.zotero-mcp +21 -0
- package/skills/manage-refs/NOTICE.md +29 -0
- package/skills/manage-refs/SKILL.md +289 -0
- package/skills/manage-refs/citation_styles/README.md +40 -0
- package/skills/manage-refs/citation_styles/american-journal-of-roentgenology.csl +211 -0
- package/skills/manage-refs/citation_styles/cardiovascular-and-interventional-radiology.csl +19 -0
- package/skills/manage-refs/citation_styles/european-radiology.csl +19 -0
- package/skills/manage-refs/citation_styles/journal-of-cachexia-sarcopenia-and-muscle.csl +150 -0
- package/skills/manage-refs/citation_styles/journal-of-korean-medical-science-strict.csl +533 -0
- package/skills/manage-refs/citation_styles/journal-of-korean-medical-science.csl +16 -0
- package/skills/manage-refs/citation_styles/korean-journal-of-radiology.csl +155 -0
- package/skills/manage-refs/citation_styles/nature.csl +189 -0
- package/skills/manage-refs/citation_styles/nlm-citation-sequence.csl +535 -0
- package/skills/manage-refs/citation_styles/radiology.csl +228 -0
- package/skills/manage-refs/citation_styles/springer-basic-brackets.csl +187 -0
- package/skills/manage-refs/citation_styles/springer-vancouver-brackets.csl +276 -0
- package/skills/manage-refs/citation_styles/vancouver-superscript.csl +536 -0
- package/skills/manage-refs/citation_styles/vancouver.csl +535 -0
- package/skills/manage-refs/references/REFERENCE_STYLE_SPECS.md +59 -0
- package/skills/manage-refs/references/check_xref_symptoms.md +35 -0
- package/skills/manage-refs/scripts/_vendor_citation_writer.py +600 -0
- package/skills/manage-refs/scripts/check_citation_keys.py +112 -0
- package/skills/manage-refs/scripts/check_csl_render.py +102 -0
- package/skills/manage-refs/scripts/check_xref.py +633 -0
- package/skills/manage-refs/scripts/fill_journal_abbrev.py +104 -0
- package/skills/manage-refs/scripts/inject_zotero_cwyw.py +133 -0
- package/skills/manage-refs/scripts/md_marker_convert.py +193 -0
- package/skills/manage-refs/scripts/pre_submission_gate.sh +238 -0
- package/skills/manage-refs/scripts/render_pandoc.sh +88 -0
- package/skills/manage-refs/skill.yml +70 -0
- package/skills/manage-refs/tests/fixtures/pre_submission_gate/README.md +32 -0
- package/skills/manage-refs/tests/fixtures/pre_submission_gate/manuscript.md +10 -0
- package/skills/manage-refs/tests/fixtures/pre_submission_gate/refs.bib +34 -0
- package/skills/manage-refs/tests/fixtures/pre_submission_gate/run.sh +117 -0
- package/skills/manage-refs/tests/test_vN_docx_check.sh +145 -0
- package/skills/meta-analysis/SKILL.md +739 -0
- package/skills/meta-analysis/references/LICENSES.md +21 -0
- package/skills/meta-analysis/references/PROSPERO_template.md +221 -0
- package/skills/meta-analysis/references/ai_pre_screening_template.py +245 -0
- package/skills/meta-analysis/references/checklists/JBI_Case_Series.md +45 -0
- package/skills/meta-analysis/references/checklists/NOS.md +88 -0
- package/skills/meta-analysis/references/checklists/PRISMA_DTA.md +36 -0
- package/skills/meta-analysis/references/checklists/PROBAST.md +75 -0
- package/skills/meta-analysis/references/checklists/QUADAS2.md +77 -0
- package/skills/meta-analysis/references/checklists/ROBINS_I.md +87 -0
- package/skills/meta-analysis/references/checklists/RoB2.md +79 -0
- package/skills/meta-analysis/references/data_integrity_checklist.md +57 -0
- package/skills/meta-analysis/references/icmje_coi_guide.md +181 -0
- package/skills/meta-analysis/references/phase10_recovery.md +136 -0
- package/skills/meta-analysis/references/phase4_km_composite.md +58 -0
- package/skills/meta-analysis/references/phase6_statistical_synthesis.md +148 -0
- package/skills/meta-analysis/references/phase9_circulation.md +84 -0
- package/skills/meta-analysis/references/post_submission_release_ops.md +41 -0
- package/skills/meta-analysis/references/r_templates.md +132 -0
- package/skills/meta-analysis/references/review_orchestration.md +40 -0
- package/skills/meta-analysis/references/submission_package_drift.md +71 -0
- package/skills/meta-analysis/scripts/check_pool_consistency.py +201 -0
- package/skills/meta-analysis/scripts/cohort_overlap_check.py +242 -0
- package/skills/meta-analysis/scripts/dta_extraction_qc.py +137 -0
- package/skills/meta-analysis/scripts/screening_reconcile.py +160 -0
- package/skills/meta-analysis/skill.yml +47 -0
- package/skills/meta-analysis/templates/FINAL_POOL_LOCK.yaml.template +70 -0
- package/skills/meta-analysis/templates/extraction_form_v2.md +129 -0
- package/skills/meta-analysis/templates/supplementary_8file_checklist.md +94 -0
- package/skills/meta-analysis/tests/test_pool_consistency.sh +123 -0
- package/skills/orchestrate/SKILL.md +501 -0
- package/skills/orchestrate/references/dialogue_nodes.md +196 -0
- package/skills/orchestrate/references/report_template.md +109 -0
- package/skills/orchestrate/references/report_template_ko.md +88 -0
- package/skills/orchestrate/skill.yml +44 -0
- package/skills/peer-review/SKILL.md +381 -0
- package/skills/peer-review/references/aczel_2021_reviewer2_patterns.md +88 -0
- package/skills/peer-review/references/domain-probes/ai_overclaiming.md +47 -0
- package/skills/peer-review/references/domain-probes/narrative_review.md +44 -0
- package/skills/peer-review/references/domain-probes/observational_confounding.md +48 -0
- package/skills/peer-review/references/domain-probes/radiomics.md +38 -0
- package/skills/peer-review/references/domain-probes/sr_ma.md +87 -0
- package/skills/peer-review/references/domain-probes/survival_prognostic.md +68 -0
- package/skills/peer-review/references/exemplar_reviews/README.md +43 -0
- package/skills/peer-review/references/exemplar_reviews/ai_overclaiming.md +47 -0
- package/skills/peer-review/references/exemplar_reviews/calibration_missing.md +44 -0
- package/skills/peer-review/references/exemplar_reviews/data_leakage.md +48 -0
- package/skills/peer-review/references/exemplar_reviews/reference_standard_validity.md +45 -0
- package/skills/peer-review/references/narrative_review_audit.md +67 -0
- package/skills/peer-review/references/reviewer_calibration/README.md +34 -0
- package/skills/peer-review/references/reviewer_calibration/compliance_floor.md +52 -0
- package/skills/peer-review/references/reviewer_profiles/AJR.md +82 -0
- package/skills/peer-review/references/reviewer_profiles/EURE.md +64 -0
- package/skills/peer-review/references/reviewer_profiles/INSI.md +57 -0
- package/skills/peer-review/references/reviewer_profiles/KJR.md +100 -0
- package/skills/peer-review/references/reviewer_profiles/README.md +32 -0
- package/skills/peer-review/references/reviewer_profiles/RYAI.md +86 -0
- package/skills/peer-review/skill.yml +39 -0
- package/skills/present-paper/SKILL.md +675 -0
- package/skills/present-paper/references/critic_rubrics/slide.md +155 -0
- package/skills/present-paper/references/generate_pptx_templates.py +604 -0
- package/skills/present-paper/references/medical_presentation_templates.md +277 -0
- package/skills/present-paper/references/slide_design_principles.md +202 -0
- package/skills/present-paper/references/slide_visual_styles/nature_lancet.md +168 -0
- package/skills/present-paper/references/workflow-checklist.md +109 -0
- package/skills/present-paper/scripts/extract_pdf_figures.py +243 -0
- package/skills/present-paper/scripts/inject_pronunciation_notes.py +178 -0
- package/skills/present-paper/scripts/inject_speaker_notes.py +133 -0
- package/skills/present-paper/scripts/strip_notes_for_sharing.py +140 -0
- package/skills/present-paper/scripts/trim_caption.py +271 -0
- package/skills/present-paper/skill.yml +41 -0
- package/skills/present-paper/templates/build_pptx_nature_lancet.py +688 -0
- package/skills/publish-skill/SKILL.md +370 -0
- package/skills/publish-skill/references/license-compatibility-matrix.md +132 -0
- package/skills/publish-skill/references/pii-patterns.md +130 -0
- package/skills/publish-skill/scripts/audit_skill.sh +278 -0
- package/skills/publish-skill/skill.yml +35 -0
- package/skills/render-pdf-doc/SKILL.md +146 -0
- package/skills/render-pdf-doc/references/known_pitfalls.md +53 -0
- package/skills/render-pdf-doc/references/pandoc_korean_cheatsheet.md +77 -0
- package/skills/render-pdf-doc/scripts/check_deps.sh +42 -0
- package/skills/render-pdf-doc/scripts/infer_colwidths.py +164 -0
- package/skills/render-pdf-doc/scripts/render_pdf.sh +98 -0
- package/skills/render-pdf-doc/skill.yml +57 -0
- package/skills/render-pdf-doc/templates/anchor-doc.md +27 -0
- package/skills/render-pdf-doc/templates/anchor-doc_ko.md +25 -0
- package/skills/render-pdf-doc/templates/briefing-handout.md +33 -0
- package/skills/render-pdf-doc/templates/briefing-handout_ko.md +31 -0
- package/skills/render-pdf-doc/templates/proposal-cover.md +33 -0
- package/skills/render-pdf-doc/templates/proposal-cover_ko.md +31 -0
- package/skills/render-pdf-doc/templates/reference-table.md +22 -0
- package/skills/render-pdf-doc/templates/reference-table_ko.md +20 -0
- package/skills/replicate-study/SKILL.md +150 -0
- package/skills/replicate-study/references/harmonization_3country.csv +47 -0
- package/skills/replicate-study/references/harmonization_knhanes_nhanes.csv +68 -0
- package/skills/replicate-study/references/methodology_extraction_template.md +134 -0
- package/skills/replicate-study/skill.yml +37 -0
- package/skills/review-paper/SKILL.md +104 -0
- package/skills/review-paper/references/macro_skeleton.md +6 -0
- package/skills/review-paper/skill.yml +25 -0
- package/skills/revise/SKILL.md +515 -0
- package/skills/revise/references/r2r_voice.md +346 -0
- package/skills/revise/skill.yml +43 -0
- package/skills/search-lit/SKILL.md +443 -0
- package/skills/search-lit/references/parse_pubmed.py +326 -0
- package/skills/search-lit/references/pubmed_eutils.sh +111 -0
- package/skills/search-lit/skill.yml +46 -0
- package/skills/self-review/SKILL.md +1045 -0
- package/skills/self-review/references/domain-probes/ai_overclaiming.md +47 -0
- package/skills/self-review/references/domain-probes/narrative_review.md +44 -0
- package/skills/self-review/references/domain-probes/observational_confounding.md +48 -0
- package/skills/self-review/references/domain-probes/radiomics.md +38 -0
- package/skills/self-review/references/domain-probes/sr_ma.md +87 -0
- package/skills/self-review/references/domain-probes/survival_prognostic.md +68 -0
- package/skills/self-review/references/exemplar_findings/README.md +43 -0
- package/skills/self-review/references/exemplar_findings/cohort_arithmetic_mismatch.md +35 -0
- package/skills/self-review/references/exemplar_findings/estimand_drift_posthoc_primary.md +39 -0
- package/skills/self-review/references/exemplar_findings/scope_overreach_cross_sectional.md +35 -0
- package/skills/self-review/references/exemplar_findings/unadjusted_confounder.md +36 -0
- package/skills/self-review/references/panel_review_template.md +177 -0
- package/skills/self-review/scripts/check_artifact_coverage.py +301 -0
- package/skills/self-review/scripts/check_claim_artifact.py +248 -0
- package/skills/self-review/scripts/check_classical_style.py +185 -0
- package/skills/self-review/scripts/check_cohort_arithmetic.py +481 -0
- package/skills/self-review/scripts/check_confounding_completeness.py +287 -0
- package/skills/self-review/scripts/check_panel_diversity.py +336 -0
- package/skills/self-review/scripts/check_reference_adequacy.py +392 -0
- package/skills/self-review/scripts/check_reviewer_team_consistency.py +412 -0
- package/skills/self-review/scripts/check_scope_coherence.py +177 -0
- package/skills/self-review/skill.yml +47 -0
- package/skills/self-review/tests/fixtures/claim_manuscript.md +17 -0
- package/skills/self-review/tests/fixtures/claim_prereg.md +6 -0
- package/skills/self-review/tests/fixtures/cohort_bad.md +21 -0
- package/skills/self-review/tests/fixtures/cohort_clean.md +21 -0
- package/skills/self-review/tests/fixtures/cohort_partition.csv +5 -0
- package/skills/self-review/tests/fixtures/coverage_analysis/31_delong_nested_added_value.csv +3 -0
- package/skills/self-review/tests/fixtures/coverage_analysis/table1_demographics.csv +3 -0
- package/skills/self-review/tests/fixtures/coverage_clean.md +13 -0
- package/skills/self-review/tests/fixtures/coverage_manuscript.md +11 -0
- package/skills/self-review/tests/fixtures/panel_collapse.json +27 -0
- package/skills/self-review/tests/fixtures/panel_good.json +32 -0
- package/skills/self-review/tests/fixtures/panel_monoculture.json +32 -0
- package/skills/self-review/tests/fixtures/refadeq_letter.md +13 -0
- package/skills/self-review/tests/fixtures/refadeq_original_fixed.md +42 -0
- package/skills/self-review/tests/fixtures/refadeq_original_uncited.md +40 -0
- package/skills/self-review/tests/fixtures/scope_bad.md +9 -0
- package/skills/self-review/tests/fixtures/scope_clean.md +8 -0
- package/skills/self-review/tests/fixtures/scope_surrogate.md +8 -0
- package/skills/self-review/tests/fixtures/style_bad.md +13 -0
- package/skills/self-review/tests/fixtures/style_clean.md +11 -0
- package/skills/self-review/tests/fixtures/table1_by_exposure.csv +11 -0
- package/skills/self-review/tests/test_artifact_coverage.sh +44 -0
- package/skills/self-review/tests/test_claim_artifact.sh +50 -0
- package/skills/self-review/tests/test_classical_style.sh +44 -0
- package/skills/self-review/tests/test_cohort_arithmetic.sh +49 -0
- package/skills/self-review/tests/test_confounding_completeness.sh +66 -0
- package/skills/self-review/tests/test_panel_diversity.sh +55 -0
- package/skills/self-review/tests/test_panel_mode.sh +69 -0
- package/skills/self-review/tests/test_reference_adequacy.sh +68 -0
- package/skills/self-review/tests/test_reviewer_team_consistency.sh +138 -0
- package/skills/self-review/tests/test_scope_coherence.sh +46 -0
- package/skills/setup-medsci/SKILL.md +110 -0
- package/skills/setup-medsci/references/setup-checklist.md +51 -0
- package/skills/setup-medsci/skill.yml +30 -0
- package/skills/sync-submission/SKILL.md +382 -0
- package/skills/sync-submission/scripts/author_registry_example.yaml +36 -0
- package/skills/sync-submission/scripts/blind_sweep.py +203 -0
- package/skills/sync-submission/scripts/check_asset_anonymization.py +300 -0
- package/skills/sync-submission/scripts/check_cross_artifact_stale.py +211 -0
- package/skills/sync-submission/scripts/cover_letter_drift_check.py +451 -0
- package/skills/sync-submission/scripts/cross_document_n_check.py +486 -0
- package/skills/sync-submission/scripts/detect_copy_divergence.py +136 -0
- package/skills/sync-submission/scripts/preflight_gate.py +458 -0
- package/skills/sync-submission/scripts/scope_drift_check.py +362 -0
- package/skills/sync-submission/scripts/sync_submission.py +169 -0
- package/skills/sync-submission/skill.yml +43 -0
- package/skills/sync-submission/tests/fixtures/copy_ok.md +5 -0
- package/skills/sync-submission/tests/fixtures/copy_stale.md +5 -0
- package/skills/sync-submission/tests/fixtures/ssot.md +5 -0
- package/skills/sync-submission/tests/test_asset_anonymization.sh +99 -0
- package/skills/sync-submission/tests/test_copy_divergence.sh +44 -0
- package/skills/sync-submission/tests/test_cross_artifact_stale.sh +80 -0
- package/skills/sync-submission/tests/test_cross_document_n.sh +132 -0
- package/skills/sync-submission/tests/test_preflight_gate.sh +112 -0
- package/skills/sync-submission/tests/test_scope_drift.sh +122 -0
- package/skills/sync-submission/tests/test_vN_docx_assertion.sh +51 -0
- package/skills/verify-refs/SKILL.md +177 -0
- package/skills/verify-refs/references/manual_checkpoint_guide.md +100 -0
- package/skills/verify-refs/scripts/verify_cli.sh +62 -0
- package/skills/verify-refs/scripts/verify_refs.py +782 -0
- package/skills/verify-refs/skill.yml +44 -0
- package/skills/verify-refs/tests/fixtures/pagination_placeholder.bib +17 -0
- package/skills/verify-refs/tests/test_pagination_placeholder.sh +42 -0
- package/skills/version-dataset/SKILL.md +143 -0
- package/skills/version-dataset/references/manifest_schema.md +72 -0
- package/skills/version-dataset/scripts/version_dataset.py +242 -0
- package/skills/version-dataset/skill.yml +35 -0
- package/skills/version-dataset/tests/test_version_dataset.sh +52 -0
- package/skills/write-paper/SKILL.md +1148 -0
- package/skills/write-paper/references/exemplar_methods/README.md +38 -0
- package/skills/write-paper/references/exemplar_methods/ai_validation_tripod_claim.md +47 -0
- package/skills/write-paper/references/exemplar_methods/diagnostic_accuracy_stard.md +50 -0
- package/skills/write-paper/references/exemplar_methods/observational_cohort_strobe.md +43 -0
- package/skills/write-paper/references/journal_profiles/AJNR.md +185 -0
- package/skills/write-paper/references/journal_profiles/AJR.md +149 -0
- package/skills/write-paper/references/journal_profiles/Abdominal_Radiology.md +139 -0
- package/skills/write-paper/references/journal_profiles/Academic_Radiology.md +90 -0
- package/skills/write-paper/references/journal_profiles/Annals_of_Internal_Medicine.md +150 -0
- package/skills/write-paper/references/journal_profiles/Artificial_Intelligence_in_Medicine.md +82 -0
- package/skills/write-paper/references/journal_profiles/British_Journal_of_Radiology.md +161 -0
- package/skills/write-paper/references/journal_profiles/CVIR.md +157 -0
- package/skills/write-paper/references/journal_profiles/Chest.md +270 -0
- package/skills/write-paper/references/journal_profiles/Clinical_Radiology.md +160 -0
- package/skills/write-paper/references/journal_profiles/Clinical_and_Molecular_Hepatology.md +147 -0
- package/skills/write-paper/references/journal_profiles/Diabetes_Metabolism_Journal.md +163 -0
- package/skills/write-paper/references/journal_profiles/Diagnostic_and_Interventional_Radiology.md +216 -0
- package/skills/write-paper/references/journal_profiles/Endocrinology_and_Metabolism.md +167 -0
- package/skills/write-paper/references/journal_profiles/European_Journal_of_Preventive_Cardiology.md +192 -0
- package/skills/write-paper/references/journal_profiles/European_Radiology.md +159 -0
- package/skills/write-paper/references/journal_profiles/Hepatology_Communications.md +110 -0
- package/skills/write-paper/references/journal_profiles/Hepatology_International.md +106 -0
- package/skills/write-paper/references/journal_profiles/IEEE_TMI.md +180 -0
- package/skills/write-paper/references/journal_profiles/INSI.md +163 -0
- package/skills/write-paper/references/journal_profiles/Investigative_Radiology.md +86 -0
- package/skills/write-paper/references/journal_profiles/JACC_Advances.md +197 -0
- package/skills/write-paper/references/journal_profiles/JACC_Asia.md +168 -0
- package/skills/write-paper/references/journal_profiles/JACR.md +87 -0
- package/skills/write-paper/references/journal_profiles/JAMA.md +188 -0
- package/skills/write-paper/references/journal_profiles/JAMA_Network_Open.md +170 -0
- package/skills/write-paper/references/journal_profiles/JCSM.md +266 -0
- package/skills/write-paper/references/journal_profiles/JKMS.md +201 -0
- package/skills/write-paper/references/journal_profiles/JMIR.md +88 -0
- package/skills/write-paper/references/journal_profiles/JMIR_Medical_Education.md +86 -0
- package/skills/write-paper/references/journal_profiles/JNIS.md +227 -0
- package/skills/write-paper/references/journal_profiles/JVIR.md +158 -0
- package/skills/write-paper/references/journal_profiles/Journal_of_Clinical_Endocrinology_and_Metabolism.md +191 -0
- package/skills/write-paper/references/journal_profiles/Journal_of_Stroke.md +176 -0
- package/skills/write-paper/references/journal_profiles/KJR.md +185 -0
- package/skills/write-paper/references/journal_profiles/Korean_Circulation_Journal.md +184 -0
- package/skills/write-paper/references/journal_profiles/Korean_Journal_of_Internal_Medicine.md +178 -0
- package/skills/write-paper/references/journal_profiles/Lancet_Gastroenterology_and_Hepatology.md +127 -0
- package/skills/write-paper/references/journal_profiles/Liver_International.md +165 -0
- package/skills/write-paper/references/journal_profiles/Medical_Image_Analysis.md +147 -0
- package/skills/write-paper/references/journal_profiles/NEJM.md +147 -0
- package/skills/write-paper/references/journal_profiles/Nature_Medicine.md +181 -0
- package/skills/write-paper/references/journal_profiles/Neuroradiology.md +151 -0
- package/skills/write-paper/references/journal_profiles/Nutrition_Metabolism_and_Cardiovascular_Diseases.md +184 -0
- package/skills/write-paper/references/journal_profiles/PLOS_Medicine.md +166 -0
- package/skills/write-paper/references/journal_profiles/RYAI.md +124 -0
- package/skills/write-paper/references/journal_profiles/Radiology.md +173 -0
- package/skills/write-paper/references/journal_profiles/Skeletal_Radiology.md +135 -0
- package/skills/write-paper/references/journal_profiles/Stroke.md +210 -0
- package/skills/write-paper/references/journal_profiles/The_BMJ.md +121 -0
- package/skills/write-paper/references/journal_profiles/The_Lancet.md +112 -0
- package/skills/write-paper/references/journal_profiles/The_Lancet_Digital_Health.md +104 -0
- package/skills/write-paper/references/journal_profiles/World_Journal_of_Hepatology.md +106 -0
- package/skills/write-paper/references/journal_profiles/npj_Digital_Medicine.md +93 -0
- package/skills/write-paper/references/paper_types/ai_validation.md +270 -0
- package/skills/write-paper/references/paper_types/animal_study.md +194 -0
- package/skills/write-paper/references/paper_types/case_report.md +237 -0
- package/skills/write-paper/references/paper_types/cross_national.md +328 -0
- package/skills/write-paper/references/paper_types/letter.md +127 -0
- package/skills/write-paper/references/paper_types/meta_analysis.md +181 -0
- package/skills/write-paper/references/paper_types/nhis_cohort.md +297 -0
- package/skills/write-paper/references/paper_types/original_article.md +221 -0
- package/skills/write-paper/references/paper_types/technical_note.md +131 -0
- package/skills/write-paper/references/section_guides/discussion.md +155 -0
- package/skills/write-paper/references/section_guides/introduction.md +108 -0
- package/skills/write-paper/references/section_guides/methods.md +144 -0
- package/skills/write-paper/references/section_guides/results.md +113 -0
- package/skills/write-paper/references/section_guides/step7_1_classical_qc.md +67 -0
- package/skills/write-paper/references/section_guides/step7_4a_audit_recovery.md +74 -0
- package/skills/write-paper/references/section_guides/title_abstract.md +123 -0
- package/skills/write-paper/references/section_templates/methods_statistical.md +147 -0
- package/skills/write-paper/scripts/check_placeholders.py +182 -0
- package/skills/write-paper/skill.yml +48 -0
- package/skills/write-paper/tests/test_placeholders.sh +107 -0
- package/skills/write-protocol/SKILL.md +243 -0
- package/skills/write-protocol/references/ethics_checklist.md +150 -0
- package/skills/write-protocol/references/protocol_template.md +304 -0
- package/skills/write-protocol/skill.yml +34 -0
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: publish-skill
|
|
3
|
+
description: >
|
|
4
|
+
Convert a personal agent skill into a distributable, open-source-ready skill.
|
|
5
|
+
Runs PII audit, generalization, license compatibility check, cross-platform adapter review, and packaging workflow.
|
|
6
|
+
triggers: publish skill, distribute skill, open-source skill, package skill, universalize skill
|
|
7
|
+
tools: Read, Write, Edit, Bash, Grep, Glob
|
|
8
|
+
model: inherit
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Skill: publish-skill
|
|
12
|
+
|
|
13
|
+
Convert a personal agent skill into a clean, distributable, open-source-ready skill package. This skill walks through a 7-phase pipeline that audits for personally identifiable information, generalizes language and role assumptions, verifies license compatibility, checks cross-platform adapter needs, and prepares the final package for commit.
|
|
14
|
+
|
|
15
|
+
## Communication Rules
|
|
16
|
+
|
|
17
|
+
- Communicate with the user in their preferred language
|
|
18
|
+
- Use English for technical terms (PII, MIT, CC BY, GPL, YAML frontmatter)
|
|
19
|
+
- Present audit findings in structured tables
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Phase 0: Init and Identify Source
|
|
24
|
+
|
|
25
|
+
### Required Inputs
|
|
26
|
+
|
|
27
|
+
Collect from the user:
|
|
28
|
+
|
|
29
|
+
1. **Source skill path**: directory containing the personal skill (e.g., `~/.claude/skills/my-skill/` or `~/.agents/skills/my-skill/`)
|
|
30
|
+
2. **Target package path**: directory of the distributable package (e.g., `~/workspace/<your-package>/`)
|
|
31
|
+
3. **Target license**: license of the package (default: MIT)
|
|
32
|
+
|
|
33
|
+
### Actions
|
|
34
|
+
|
|
35
|
+
1. Read `SKILL.md` from the source skill directory
|
|
36
|
+
2. Inventory all files recursively (`ls -R`)
|
|
37
|
+
3. Classify skill type:
|
|
38
|
+
- **Standalone**: self-contained skill with no agent delegation
|
|
39
|
+
- **Orchestrator**: delegates to sub-agents (NOT suitable for distribution without refactoring)
|
|
40
|
+
- **Wrapper**: thin wrapper around another tool/API
|
|
41
|
+
4. Present inventory table to the user:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
| File | Lines | Type | Notes |
|
|
45
|
+
|------|-------|------|-------|
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Gate**: User confirms source skill and target package before proceeding.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Phase 0.5: Skill-Worthiness Gate
|
|
53
|
+
|
|
54
|
+
Before spending effort on PII scrubbing and generalization, confirm the workflow is
|
|
55
|
+
worth distributing *as a skill* at all. A skill earns its place by encoding a reusable
|
|
56
|
+
decision heuristic, a hard-won constraint, or a verification step — not a snippet anyone
|
|
57
|
+
could reconstruct in five minutes. Apply all three gates; **any "no" (or "yes" on the
|
|
58
|
+
inverse) stops publication** in favor of documentation or a memory note instead.
|
|
59
|
+
|
|
60
|
+
| Gate | Question | Pass condition |
|
|
61
|
+
|------|----------|----------------|
|
|
62
|
+
| **Uniqueness** | Could a competent user get the same result by searching the web for ~5 minutes, or by asking a general assistant with no skill installed? | **No** |
|
|
63
|
+
| **Specificity** | Does it encode a workflow, decision heuristic, constraint, or convention specific to this domain or a recurring task — rather than a generic code snippet or a standard-library example? | **Yes** |
|
|
64
|
+
| **Effort** | Did discovering it take real debugging, study design, operational effort, or a reviewer-anticipation lesson (a pitfall, a verification step, a domain convention)? | **Yes** |
|
|
65
|
+
|
|
66
|
+
Favor skills that encode reviewer-anticipation, reporting-guideline constraints,
|
|
67
|
+
verification gates, and decision trees over thin wrappers or one-off snippets. This is
|
|
68
|
+
the publish-time analogue of the "reusable pattern vs one-off hack" distinction: a
|
|
69
|
+
workflow that fails the gate is better captured as a doc or a memory note than shipped as
|
|
70
|
+
a skill that dilutes the catalog.
|
|
71
|
+
|
|
72
|
+
**Gate**: If any of the three fails, recommend documentation/memory instead and stop. If
|
|
73
|
+
the value is real but the skill delegates to private agents, route through Phase 1's
|
|
74
|
+
orchestrator finding (refactor to standalone first). Only a clear three-way pass proceeds.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Phase 1: Originality Check
|
|
79
|
+
|
|
80
|
+
Verify the skill is original work suitable for open-source distribution.
|
|
81
|
+
|
|
82
|
+
### Checks
|
|
83
|
+
|
|
84
|
+
1. **External source**: Is this skill adapted from another package or author? Check for attribution headers, license blocks, or "based on" comments.
|
|
85
|
+
2. **Third-party content**: Do any files in `references/` come from external sources (published guidelines, textbooks, standards bodies)?
|
|
86
|
+
3. **Competitive sensitivity**: Does the skill reveal proprietary business logic or competitive advantage that should remain private?
|
|
87
|
+
|
|
88
|
+
### Decision Matrix
|
|
89
|
+
|
|
90
|
+
| Finding | Action |
|
|
91
|
+
|---------|--------|
|
|
92
|
+
| Fully original | Proceed to Phase 2 |
|
|
93
|
+
| Adapted with compatible license | Add attribution header, proceed |
|
|
94
|
+
| Contains non-compatible third-party content | Flag for removal or URL manifest conversion |
|
|
95
|
+
| Orchestrator with private agent references | STOP -- requires refactoring to standalone first |
|
|
96
|
+
| Competitive/proprietary logic | STOP -- not suitable for open-source |
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Phase 2: PII De-identification Audit
|
|
101
|
+
|
|
102
|
+
**Zero tolerance**: the skill must have exactly 0 PII matches before proceeding.
|
|
103
|
+
|
|
104
|
+
### Pre-scan Setup
|
|
105
|
+
|
|
106
|
+
Before running, ask the user for everything that should also count as a PII hit but is unique to them:
|
|
107
|
+
- Their name(s) in all languages and romanizations (a placeholder shape: `<First Last>|<native-script name>`)
|
|
108
|
+
- Their institutional affiliation(s) (a placeholder shape: `<Institution>|<Hospital>`)
|
|
109
|
+
- Any collaborator surnames that may appear in drafts or filenames
|
|
110
|
+
|
|
111
|
+
Combine the inputs into a single `grep -E` alternation pattern (pipe-separated).
|
|
112
|
+
|
|
113
|
+
### Automated Scan
|
|
114
|
+
|
|
115
|
+
Run the bundled audit script. The first argument is the skill directory; the second is the user-specific alternation pattern from Pre-scan Setup.
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
bash ${CLAUDE_SKILL_DIR}/scripts/audit_skill.sh <source_skill_path> \
|
|
119
|
+
"<First Last>|<native-script name>|<Institution>|<Hospital>"
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The script runs nine categories that mirror the medsci-skills monorepo linter (`scripts/validate_skills.sh`):
|
|
123
|
+
|
|
124
|
+
1. **Hardcoded paths** (`/Users/<name>/`, `/home/<name>/`, `~/Documents`, `~/Desktop`, `~/Downloads`, `~/Projects`)
|
|
125
|
+
2. **Email addresses** (any address-shaped string)
|
|
126
|
+
3. **IP addresses / internal URLs** (`*.internal`, `*.local`, `*.corp`)
|
|
127
|
+
4. **Institutional references** (SNUH / AMC / SMC / KAIST / SNU / ASAN / MGH / Mayo Clinic / Johns Hopkins / Samsung Medical / Severance / Asan Medical)
|
|
128
|
+
5. **Academic roles with names** (`professor <Surname>`, `Prof. <Surname>`, `Dr. <Surname>`, `PGY[0-9]`, `<한글이름> 교수님`)
|
|
129
|
+
6. **Language hardcoding** ("in Korean", "한국어로", "in Japanese", "in Chinese")
|
|
130
|
+
7. **Location specifics** (Seoul / Busan / Daegu / Tokyo / Beijing / Shanghai / Boston / Stanford and Korean variants)
|
|
131
|
+
8. **Blockquote dated precedent** (`> YYYY-MM-DD ...` lines that reveal an internal review timeline)
|
|
132
|
+
9. **Author-style filenames** (`<Surname>{Year}_*` pattern, e.g., `<Surname>2025_<Journal>_Fig01.png`; allow-list excludes generic tokens like `Issue2024_`, `Sample2025_`)
|
|
133
|
+
10. **Binary EXIF metadata** (DOCX / PPTX / XLSX / PDF / PNG / JPG / TIFF — scanned via `exiftool` when installed; skipped silently otherwise with an install hint)
|
|
134
|
+
|
|
135
|
+
False-positive guard: text scans use `grep --binary-files=without-match` so byte-stream collisions inside `.pyc`, `.png`, or `.docx` files do not trigger findings. `__pycache__/` is also explicitly skipped.
|
|
136
|
+
|
|
137
|
+
### Cross-validation
|
|
138
|
+
|
|
139
|
+
For categories the script flags, also manually verify with the Grep tool against `${CLAUDE_SKILL_DIR}/references/pii-patterns.md`. Pay particular attention to:
|
|
140
|
+
|
|
141
|
+
- Names not in the EXTRA_PATTERNS argument (e.g., a co-author who appeared only in one early draft)
|
|
142
|
+
- Domain-specific institutional acronyms (your institution may not be in the default list)
|
|
143
|
+
- Project-specific identifiers like `CK-NN`, `MA-NN`, dated cohort names
|
|
144
|
+
|
|
145
|
+
### Output Format
|
|
146
|
+
|
|
147
|
+
Present all findings in a remediation table:
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
| # | File:Line | Category | Match | Suggested Fix |
|
|
151
|
+
|---|-----------|----------|-------|---------------|
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Gate**: User reviews all findings. Fix each one. Re-run audit. Proceed only when 0 hits confirmed.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Phase 3: Generalization
|
|
159
|
+
|
|
160
|
+
Transform personal assumptions into universal defaults.
|
|
161
|
+
|
|
162
|
+
### Language
|
|
163
|
+
|
|
164
|
+
- Replace: `"in Korean"` / `"한국어로"` / `"Korean language"` → `"in the user's preferred language"`
|
|
165
|
+
- Replace: `"communicate in [specific language]"` → `"Communicate with the user in their preferred language"`
|
|
166
|
+
- Keep: multilingual trigger keywords in the `triggers:` field (these aid discovery)
|
|
167
|
+
|
|
168
|
+
### Role
|
|
169
|
+
|
|
170
|
+
- Replace: `"radiology researcher"` → `"medical researcher"` (if the skill is domain-general)
|
|
171
|
+
- Replace: `"professor"` / `"fellow"` → `"researcher"` or `"user"` (context-dependent)
|
|
172
|
+
- Keep: domain-specific terms that define the skill's scope (e.g., "diagnostic accuracy" is fine)
|
|
173
|
+
|
|
174
|
+
### Paths
|
|
175
|
+
|
|
176
|
+
- Replace: hardcoded absolute paths → `${CLAUDE_SKILL_DIR}` for bundled reference files
|
|
177
|
+
- Replace: `~/Documents/...` → user-provided output directory
|
|
178
|
+
- Keep: relative paths within the skill directory structure
|
|
179
|
+
|
|
180
|
+
### Environment
|
|
181
|
+
|
|
182
|
+
- Remove: assumptions about specific OS (macOS, Linux)
|
|
183
|
+
- Remove: assumptions about specific editors or IDEs
|
|
184
|
+
- Remove: references to personal infrastructure (agents, other personal skills)
|
|
185
|
+
- Keep: tool requirements listed in frontmatter `tools:` field
|
|
186
|
+
|
|
187
|
+
### Interoperability
|
|
188
|
+
|
|
189
|
+
- Check: does the skill reference other skills by name (e.g., "route to `analyze-stats`")?
|
|
190
|
+
- If referenced skill exists in target package: keep the reference
|
|
191
|
+
- If referenced skill does NOT exist in target package: make it optional with fallback instructions
|
|
192
|
+
|
|
193
|
+
### Output
|
|
194
|
+
|
|
195
|
+
Show a unified diff of all generalization changes for user review.
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Phase 4: License Compatibility Check
|
|
200
|
+
|
|
201
|
+
Verify all bundled files are compatible with the target package license.
|
|
202
|
+
|
|
203
|
+
### Scan Process
|
|
204
|
+
|
|
205
|
+
For each file in the skill's `references/` and `scripts/` directories:
|
|
206
|
+
|
|
207
|
+
1. Check for license headers or declarations within the file
|
|
208
|
+
2. Check for LICENSE files in the same directory
|
|
209
|
+
3. If the file contains content from a known standard (reporting guidelines, clinical scores, etc.), identify the source and its license
|
|
210
|
+
|
|
211
|
+
### Compatibility Matrix
|
|
212
|
+
|
|
213
|
+
Reference `${CLAUDE_SKILL_DIR}/references/license-compatibility-matrix.md` for the full matrix.
|
|
214
|
+
|
|
215
|
+
**Quick reference for MIT target:**
|
|
216
|
+
|
|
217
|
+
| Source License | Can Bundle? | Action |
|
|
218
|
+
|---------------|------------|--------|
|
|
219
|
+
| CC0 / Public Domain | Yes | No changes needed |
|
|
220
|
+
| CC BY 4.0 / 3.0 | Yes | Add attribution header |
|
|
221
|
+
| MIT / BSD / Apache 2.0 | Yes | Include license notice |
|
|
222
|
+
| CC BY-NC | No | Convert to URL reference |
|
|
223
|
+
| CC BY-NC-ND | No | Convert to URL reference |
|
|
224
|
+
| CC BY-SA | No | Copyleft risk -- convert to URL reference |
|
|
225
|
+
| GPL v2/v3 | No | Mark as optional external dependency |
|
|
226
|
+
| Unknown / Proprietary | No | Assume incompatible -- remove or get permission |
|
|
227
|
+
|
|
228
|
+
### URL Manifest Pattern
|
|
229
|
+
|
|
230
|
+
For non-compatible content, convert from bundled file to a URL manifest:
|
|
231
|
+
|
|
232
|
+
```markdown
|
|
233
|
+
## [Checklist Name]
|
|
234
|
+
|
|
235
|
+
This checklist is not bundled due to license restrictions ([License Type]).
|
|
236
|
+
|
|
237
|
+
**Official source**: [URL]
|
|
238
|
+
**How to use**: Download the checklist from the official source and place it in
|
|
239
|
+
`references/` before using this skill's reporting check feature.
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### Output
|
|
243
|
+
|
|
244
|
+
Present license audit table:
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
| File | Source | License | Compatible? | Action |
|
|
248
|
+
|------|--------|---------|------------|--------|
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Phase 5: Validate and Test
|
|
254
|
+
|
|
255
|
+
### Structural Validation
|
|
256
|
+
|
|
257
|
+
1. **YAML frontmatter**: Parse and verify all required fields (name, description, tools)
|
|
258
|
+
2. **File references**: Every `${CLAUDE_SKILL_DIR}/...` path resolves to an actual file
|
|
259
|
+
3. **Script executability**: Scripts in `scripts/` have appropriate shebangs
|
|
260
|
+
4. **Line count**: SKILL.md should be under 500 lines for optimal loading
|
|
261
|
+
5. **Description quality**: Description should start with a verb and include trigger keywords
|
|
262
|
+
|
|
263
|
+
### Final PII Re-check
|
|
264
|
+
|
|
265
|
+
Run `audit_skill.sh` one final time. Must return exit code 0.
|
|
266
|
+
|
|
267
|
+
### Cross-Platform Adapter Review
|
|
268
|
+
|
|
269
|
+
Check whether the skill can run in common desktop-agent environments:
|
|
270
|
+
|
|
271
|
+
| Platform | Check |
|
|
272
|
+
|---|---|
|
|
273
|
+
| Claude Code | No hardcoded dependency on private `~/.claude` paths unless documented. |
|
|
274
|
+
| Codex | `SKILL.md` is self-contained and installable under `~/.agents/skills/`. |
|
|
275
|
+
| Cursor | A short `.cursor/rules/*.mdc` adapter can point to the canonical `SKILL.md`. |
|
|
276
|
+
| Windows | Commands avoid Unix-only assumptions or provide PowerShell/Python alternatives. |
|
|
277
|
+
| macOS/Linux | Shell examples use portable paths where possible. |
|
|
278
|
+
|
|
279
|
+
If the package is intended for a workshop or classroom, prepare direct-download
|
|
280
|
+
ZIPs rather than asking users to navigate GitHub manually:
|
|
281
|
+
|
|
282
|
+
```text
|
|
283
|
+
https://github.com/{owner}/{repo}/releases/latest/download/{package}-classroom-windows.zip
|
|
284
|
+
https://github.com/{owner}/{repo}/releases/latest/download/{package}-classroom-macos.zip
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### README Entry Draft
|
|
288
|
+
|
|
289
|
+
Generate a table row matching the target package's README format:
|
|
290
|
+
|
|
291
|
+
```markdown
|
|
292
|
+
| **{skill-name}** | {One-sentence description of what the skill does.} |
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
### User Testing
|
|
296
|
+
|
|
297
|
+
Instruct the user to:
|
|
298
|
+
|
|
299
|
+
1. Copy the cleaned skill to a test location: `cp -r <cleaned_skill> ~/.claude/skills/<skill-name>`
|
|
300
|
+
2. Restart Claude Code
|
|
301
|
+
3. Test the skill triggers by typing `/<skill-name>` or relevant trigger phrases
|
|
302
|
+
4. Verify all phases work end-to-end on a sample input
|
|
303
|
+
|
|
304
|
+
**Gate**: User confirms testing is complete.
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Phase 6: Package and Commit
|
|
309
|
+
|
|
310
|
+
### Copy to Target Package
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
cp -r <cleaned_skill_path> <target_package>/skills/<skill-name>/
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Update README
|
|
317
|
+
|
|
318
|
+
Apply the README entry drafted in Phase 5:
|
|
319
|
+
- Add row to the appropriate table (Available Now / Coming Soon)
|
|
320
|
+
- Update pipeline diagram if the skill adds a new stage
|
|
321
|
+
- Update skill count if mentioned in prose
|
|
322
|
+
|
|
323
|
+
### Generate Commit Commands
|
|
324
|
+
|
|
325
|
+
Present the exact commands but do NOT auto-execute push:
|
|
326
|
+
|
|
327
|
+
```bash
|
|
328
|
+
cd <target_package>
|
|
329
|
+
git add skills/<skill-name>/
|
|
330
|
+
git add README.md
|
|
331
|
+
git diff --cached # User reviews
|
|
332
|
+
git commit -m "Add <skill-name>: <one-line description>"
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
**Gate**: User reviews `git diff --cached` and explicitly approves the commit. Push is always manual.
|
|
336
|
+
|
|
337
|
+
### Post-Publish
|
|
338
|
+
|
|
339
|
+
Remind the user to:
|
|
340
|
+
- Update any memory files tracking package status
|
|
341
|
+
- Add the skill to any marketplace listings if applicable
|
|
342
|
+
- Test installation from a clean clone: `git clone <repo> && cp -r <repo>/skills/<skill-name> ~/.claude/skills/`
|
|
343
|
+
- For classroom distribution, create or update GitHub Release ZIP assets and test direct download links.
|
|
344
|
+
|
|
345
|
+
### Classroom Package Checklist (if applicable)
|
|
346
|
+
|
|
347
|
+
- [ ] Full skill set is installed once; lesson tasks use only 1-2 skills at a time
|
|
348
|
+
- [ ] Windows ZIP includes `installers/install-windows.cmd`
|
|
349
|
+
- [ ] macOS ZIP includes `installers/install-macos.command`
|
|
350
|
+
- [ ] `README_FIRST.md` explains unzip -> double-click -> restart -> test prompt
|
|
351
|
+
- [ ] Email announcement uses direct GitHub Release download links
|
|
352
|
+
- [ ] WSL is documented as an advanced option, not a default requirement
|
|
353
|
+
- [ ] First prompts avoid full end-to-end orchestration
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
## What This Skill Does NOT Do
|
|
358
|
+
|
|
359
|
+
- Never auto-executes `git push` -- push is always manual
|
|
360
|
+
- Never modifies the source skill in place -- works on a copy or the target directory
|
|
361
|
+
- Never makes judgment calls on competitive sensitivity -- always asks the user
|
|
362
|
+
- Never bundles content with incompatible licenses -- converts to URL references
|
|
363
|
+
- Never assumes a specific package license -- asks in Phase 0
|
|
364
|
+
- Never skips the PII audit -- zero tolerance is enforced at Phase 2 and Phase 5
|
|
365
|
+
|
|
366
|
+
## Anti-Hallucination
|
|
367
|
+
|
|
368
|
+
- **Never fabricate file paths, URLs, DOIs, or package names.** Verify existence before recommending.
|
|
369
|
+
- **Never invent journal metadata, impact factors, or submission policies** without verification at the journal's website.
|
|
370
|
+
- If a tool, package, or resource does not exist or you are unsure, say so explicitly rather than guessing.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# License Compatibility Matrix
|
|
2
|
+
|
|
3
|
+
Reference for determining whether third-party content can be bundled in an open-source skill package. This matrix assumes the target package uses the **MIT License** as its primary license.
|
|
4
|
+
|
|
5
|
+
## Compatible for Bundling
|
|
6
|
+
|
|
7
|
+
These licenses allow bundling inside an MIT-licensed package:
|
|
8
|
+
|
|
9
|
+
| License | Requirements | Notes |
|
|
10
|
+
|---------|-------------|-------|
|
|
11
|
+
| **CC0 / Public Domain** | None | Ideal for bundled references |
|
|
12
|
+
| **CC BY 4.0** | Attribution in file header | Most open-access academic content |
|
|
13
|
+
| **CC BY 3.0** | Attribution in file header | Older open-access content |
|
|
14
|
+
| **MIT** | Include license notice | Standard for code |
|
|
15
|
+
| **BSD 2-Clause / 3-Clause** | Include license notice | Common for scientific libraries |
|
|
16
|
+
| **Apache 2.0** | Include license + NOTICE file | Patent grant included |
|
|
17
|
+
| **ISC** | Include license notice | Simplified MIT equivalent |
|
|
18
|
+
|
|
19
|
+
### Attribution Template
|
|
20
|
+
|
|
21
|
+
When bundling CC BY content, add this header to the file:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
<!--
|
|
25
|
+
Source: [Title] by [Author(s)]
|
|
26
|
+
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
|
|
27
|
+
Original: [URL]
|
|
28
|
+
Modifications: [describe any changes, or "None"]
|
|
29
|
+
-->
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## NOT Compatible for Bundling
|
|
35
|
+
|
|
36
|
+
These licenses conflict with MIT distribution. Convert to **URL references**.
|
|
37
|
+
|
|
38
|
+
| License | Conflict | Remediation |
|
|
39
|
+
|---------|----------|-------------|
|
|
40
|
+
| **CC BY-NC 4.0 / 3.0** | Non-commercial restriction incompatible with MIT | URL reference only |
|
|
41
|
+
| **CC BY-NC-ND** | Non-commercial + no-derivatives | URL reference only |
|
|
42
|
+
| **CC BY-ND** | No-derivatives prevents modifications | URL reference only |
|
|
43
|
+
| **CC BY-SA 4.0** | Copyleft: would require entire package to be CC BY-SA | URL reference only |
|
|
44
|
+
| **GPL v2 / v3** | Copyleft: would require entire package to be GPL | Optional external dependency |
|
|
45
|
+
| **LGPL** | Linking requirements | Optional external dependency |
|
|
46
|
+
| **Proprietary / All Rights Reserved** | No distribution rights | Remove entirely |
|
|
47
|
+
| **Unknown** | Assume incompatible | Remove or contact author |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## URL Reference Pattern
|
|
52
|
+
|
|
53
|
+
When content cannot be bundled, replace the file with a reference document:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
# [Resource Name]
|
|
57
|
+
|
|
58
|
+
> Not bundled due to license restrictions ([License Type]).
|
|
59
|
+
|
|
60
|
+
## Official Source
|
|
61
|
+
|
|
62
|
+
- **URL**: [direct link to official source]
|
|
63
|
+
- **Publisher**: [organization name]
|
|
64
|
+
- **License**: [license name and URL]
|
|
65
|
+
|
|
66
|
+
## How to Use
|
|
67
|
+
|
|
68
|
+
1. Download the resource from the official source above
|
|
69
|
+
2. Place it in this skill's `references/` directory as `[filename]`
|
|
70
|
+
3. The skill will automatically detect and use the local copy
|
|
71
|
+
|
|
72
|
+
## What This Skill Does Without It
|
|
73
|
+
|
|
74
|
+
When the resource is not locally available, the skill will:
|
|
75
|
+
- Use knowledge-based assessment instead of checklist-driven assessment
|
|
76
|
+
- Note in its output that the assessment was performed without the official checklist
|
|
77
|
+
- Recommend the user obtain the official resource for more thorough analysis
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Optional External Dependency Pattern
|
|
83
|
+
|
|
84
|
+
For GPL-licensed tools that the skill can use but does not require:
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
## Optional: [Tool Name]
|
|
88
|
+
|
|
89
|
+
This skill can optionally use [Tool Name] for [specific feature].
|
|
90
|
+
|
|
91
|
+
- **License**: GPL v3
|
|
92
|
+
- **Install**: `pip install [package]` or `install.packages("[package]")`
|
|
93
|
+
- **Without it**: The skill will [describe fallback behavior]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Common Academic Content Licenses
|
|
99
|
+
|
|
100
|
+
Quick reference for frequently encountered academic content:
|
|
101
|
+
|
|
102
|
+
| Content Type | Typical License | Bundleable? |
|
|
103
|
+
|-------------|----------------|-------------|
|
|
104
|
+
| PubMed abstracts | Public domain (US gov) | Yes |
|
|
105
|
+
| Open-access journal articles | CC BY 4.0 | Yes (with attribution) |
|
|
106
|
+
| STROBE checklist | CC BY 4.0 | Yes |
|
|
107
|
+
| STARD checklist | CC BY 4.0 | Yes |
|
|
108
|
+
| PRISMA 2020 checklist | CC BY 4.0 | Yes |
|
|
109
|
+
| ARRIVE 2.0 checklist | CC BY 4.0 | Yes |
|
|
110
|
+
| TRIPOD+AI checklist | CC BY 4.0 | Yes |
|
|
111
|
+
| CONSORT checklist | CC BY-NC 4.0 | No -- URL reference |
|
|
112
|
+
| CARE checklist | Exclusive rights (Elsevier) | No -- URL reference |
|
|
113
|
+
| SPIRIT checklist | CC BY-NC-ND | No -- URL reference |
|
|
114
|
+
| CLAIM checklist | License unverified | No -- URL reference |
|
|
115
|
+
| R `metafor` package | GPL v2 | Optional dependency |
|
|
116
|
+
| Python `lifelines` | MIT | Yes |
|
|
117
|
+
| Python `python-pptx` | MIT | Yes |
|
|
118
|
+
| Python `statsmodels` | BSD | Yes |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Decision Flowchart
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
Is the content original (written by you)?
|
|
126
|
+
YES → Bundleable under MIT
|
|
127
|
+
NO → What is its license?
|
|
128
|
+
CC0 / CC BY / MIT / BSD / Apache → Bundle with attribution
|
|
129
|
+
CC BY-NC / CC BY-ND / CC BY-SA → URL reference only
|
|
130
|
+
GPL / LGPL → Optional external dependency
|
|
131
|
+
Unknown / Proprietary → Remove or contact author
|
|
132
|
+
```
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# PII Detection Patterns
|
|
2
|
+
|
|
3
|
+
Grep patterns for identifying personally identifiable information in Claude Code skills before open-source publication. All patterns are `grep -riE` compatible.
|
|
4
|
+
|
|
5
|
+
## How to Use
|
|
6
|
+
|
|
7
|
+
1. **Add your own identifiers** to the User-Specific section below before running
|
|
8
|
+
2. Run `audit_skill.sh <skill_directory>` or use these patterns manually with Grep
|
|
9
|
+
3. Every match must be resolved before publishing -- zero tolerance
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Universal Patterns
|
|
14
|
+
|
|
15
|
+
### Hardcoded Paths
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
/Users/[a-zA-Z]|/home/[a-zA-Z]|~/Documents|~/Desktop|~/Downloads|~/Projects
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Remediation**: Replace with `${CLAUDE_SKILL_DIR}` for bundled references, or use user-provided paths for output directories.
|
|
22
|
+
|
|
23
|
+
### Email Addresses
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Remediation**: Remove entirely. If an email is needed for API registration, use a placeholder like `<your-email>`.
|
|
30
|
+
|
|
31
|
+
### IP Addresses and Internal URLs
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|https?://[a-z]+\.(internal|local|corp)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Remediation**: Remove or replace with `<your-server>`.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Domain-Specific Patterns (Medical/Academic)
|
|
42
|
+
|
|
43
|
+
### Institutional References
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
SNUH|AMC|SMC|KAIST|SNU|ASAN|Mayo Clinic|Johns Hopkins|MGH|Charit
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Remediation**: Replace with "institution" or "medical center", or remove if not essential to the skill logic.
|
|
50
|
+
|
|
51
|
+
### Academic Roles with Names
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
professor\s+[A-Z][a-z]+|Prof\.\s+[A-Z]|Dr\.\s+[A-Z][a-z]+|PGY[0-9]|R[0-9]-[0-9]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Remediation**: Replace with "researcher", "user", or "collaborator".
|
|
58
|
+
|
|
59
|
+
### Hospital-Specific Identifiers
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
IRB[- ]?\d|MRN[- ]?\d|patient[- ]?id|accession[- ]?number
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Remediation**: Use generic placeholders like `<IRB-number>`, `<patient-id>`.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Language and Locale
|
|
70
|
+
|
|
71
|
+
### Hardcoded Language Preferences
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
in Korean|한국어로|Korean language|communicate in Korean|in Japanese|in Chinese|in English(?! for technical)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Remediation**: Replace with "in the user's preferred language".
|
|
78
|
+
|
|
79
|
+
**Note**: Multilingual trigger keywords in the `triggers:` field are acceptable and encouraged for discoverability.
|
|
80
|
+
|
|
81
|
+
### Location-Specific References
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
Seoul|Busan|Tokyo|Beijing|서울|부산|울산|창원
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Remediation**: Remove or generalize to region/country level only if essential.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## User-Specific Patterns
|
|
92
|
+
|
|
93
|
+
**IMPORTANT**: Before each audit, add your personal identifiers below.
|
|
94
|
+
|
|
95
|
+
### Names (add yours)
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
# Example -- replace with your actual names:
|
|
99
|
+
# firstname|lastname|이름|성명|romanized_variants
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Institutional Affiliations (add yours)
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
# Example -- replace with your actual affiliations:
|
|
106
|
+
# university_name|hospital_name|lab_name|department
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Collaborator Names (add yours)
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
# Example -- replace with collaborator names that may appear:
|
|
113
|
+
# collaborator1|collaborator2|advisor_name
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## False Positive Guidance
|
|
119
|
+
|
|
120
|
+
The following matches are typically safe to ignore:
|
|
121
|
+
|
|
122
|
+
| Pattern | Context Where It Is OK |
|
|
123
|
+
|---------|----------------------|
|
|
124
|
+
| `English` | "Use English for technical terms" -- this is a style guide, not locale hardcoding |
|
|
125
|
+
| `Korean` | In the `triggers:` field for discoverability |
|
|
126
|
+
| `professor` | Generic role description without a specific name attached |
|
|
127
|
+
| `/Users/` | In documentation explaining installation paths (not in skill logic) |
|
|
128
|
+
| `@` | In email-format examples clearly marked as placeholders |
|
|
129
|
+
|
|
130
|
+
When in doubt, flag the match for human review rather than auto-dismissing.
|