@brainpilot/skills 0.0.6

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 (229) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +28 -0
  4. package/dist/index.js.map +1 -0
  5. package/package.json +35 -0
  6. package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
  7. package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
  8. package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
  9. package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
  10. package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
  11. package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
  12. package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
  13. package/skills/01_Meta-Skills/share-usage/README.md +63 -0
  14. package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
  15. package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
  16. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
  17. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
  18. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
  19. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
  20. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
  21. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
  22. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
  23. package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
  24. package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
  25. package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
  26. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
  27. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
  28. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
  29. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
  30. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
  31. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
  32. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
  33. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
  34. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
  35. package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
  36. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
  37. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
  38. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
  39. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
  40. package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
  41. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
  42. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
  43. package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
  44. package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
  45. package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
  46. package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
  47. package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
  48. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
  49. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
  50. package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
  51. package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
  52. package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
  53. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
  54. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
  55. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
  56. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
  57. package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
  58. package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
  59. package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
  60. package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
  61. package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
  62. package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
  63. package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
  64. package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
  65. package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
  66. package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
  67. package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
  68. package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
  69. package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
  70. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
  71. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  72. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
  73. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
  74. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
  75. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
  76. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
  77. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
  78. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
  79. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
  80. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
  81. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
  82. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
  83. package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
  84. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
  85. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
  86. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
  87. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
  88. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
  89. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
  90. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
  91. package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
  92. package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
  93. package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
  94. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
  95. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
  96. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
  97. package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
  98. package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
  99. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
  100. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  101. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
  102. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
  103. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
  104. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
  105. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
  106. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
  107. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
  108. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
  109. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
  110. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
  111. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
  112. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
  113. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
  114. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
  115. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
  116. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
  117. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
  118. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
  119. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
  120. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
  121. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
  122. package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
  123. package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
  124. package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
  125. package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
  126. package/skills/13_Visualization/nature-figure/README.md +442 -0
  127. package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
  128. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
  129. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
  130. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
  131. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
  132. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
  133. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
  134. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
  135. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
  136. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
  137. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
  138. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
  139. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
  140. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
  141. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
  142. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
  143. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
  144. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
  145. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
  146. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
  147. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
  148. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
  149. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
  150. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
  151. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
  152. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
  153. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
  154. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
  155. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
  156. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
  157. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
  158. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
  159. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
  160. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
  161. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
  162. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
  163. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
  164. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
  165. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
  166. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
  167. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
  168. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
  169. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
  170. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
  171. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
  172. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
  173. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
  174. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
  175. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
  176. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
  177. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
  178. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
  179. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
  180. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
  181. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
  182. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
  183. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
  184. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
  185. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
  186. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
  187. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
  188. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
  189. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
  190. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
  191. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
  192. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
  193. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
  194. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
  195. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
  196. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
  197. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
  198. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
  199. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
  200. package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
  201. package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
  202. package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
  203. package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
  204. package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
  205. package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
  206. package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
  207. package/skills/13_Visualization/nature-figure/references/api.md +428 -0
  208. package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
  209. package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
  210. package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
  211. package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
  212. package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
  213. package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
  214. package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
  215. package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
  216. package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
  217. package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
  218. package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
  219. package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
  220. package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
  221. package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
  222. package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
  223. package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
  224. package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
  225. package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
  226. package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
  227. package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
  228. package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
  229. package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
@@ -0,0 +1,292 @@
1
+ ---
2
+ name: "cogsci-visualization"
3
+ description: "Domain-specific visualization best practices for cognitive and neuroscience data, encoding plot type selection, color standards, and publication formatting"
4
+ domain: "research-methods"
5
+ version: "1.0.0"
6
+ papers:
7
+ - "Allen et al., 2019"
8
+ - "Borland & Taylor, 2007"
9
+ - "Weissgerber et al., 2015"
10
+ - "Crameri et al., 2020"
11
+ dependencies:
12
+ required:
13
+ - research-literacy
14
+ recommended:
15
+ - cogsci-statistics
16
+ review_status: "ai-generated"
17
+ ---
18
+
19
+ # Cognitive Science Visualization
20
+
21
+ ## Purpose
22
+
23
+ This skill encodes domain-specific visualization knowledge for cognitive science and neuroscience. It covers which plot types to use for different data types, field conventions for brain data visualization, color accessibility standards, and publication formatting requirements. A general-purpose data scientist would produce suboptimal or misleading figures without this knowledge.
24
+
25
+ ## When to Use This Skill
26
+
27
+ - Creating figures for a cognitive science or neuroscience manuscript
28
+ - Visualizing RT distributions, ERP waveforms, fMRI results, or behavioral data
29
+ - Choosing colors, scales, and formatting for publication
30
+ - Reviewing whether a figure follows field conventions and accessibility standards
31
+
32
+ ## Research Planning Protocol
33
+
34
+ Before creating visualizations, you MUST:
35
+
36
+ 1. **State the purpose** — What message should this figure communicate? What comparison or pattern should be visible?
37
+ 2. **Justify the plot choice** — Why this plot type? What alternatives were considered?
38
+ 3. **Declare the target audience** — Journal submission, conference poster, internal review?
39
+ 4. **Note potential misrepresentations** — Could this visualization mislead? Are axes, scales, or colors appropriate?
40
+ 5. **Present the plan to the user and WAIT for confirmation** before proceeding.
41
+
42
+ For detailed methodology guidance, see the `research-literacy` skill.
43
+
44
+
45
+ ## ⚠️ Verification Notice
46
+
47
+ This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
48
+
49
+ ## Plot Type Selection by Data Type
50
+
51
+ ### Behavioral Data: RT Distributions
52
+
53
+ **Use raincloud plots, NOT bar charts.**
54
+
55
+ Bar charts with error bars conceal the distribution shape, hide bimodality, and can obscure important effects (Weissgerber et al., 2015). Cognitive science RT data are characteristically right-skewed with potential multimodality.
56
+
57
+ **Recommended**: Raincloud plots combine a half-violin (density), individual data points (jitter), and a boxplot summary (Allen et al., 2019).
58
+
59
+ | Plot Type | When to Use | When to Avoid |
60
+ |-----------|------------|---------------|
61
+ | **Raincloud plot** | RT distributions, any continuous DV | Very large N where individual points overlap completely |
62
+ | **Violin plot** | Distribution shape comparison across conditions | When individual data points matter |
63
+ | **Strip/jitter plot** | Small to moderate N (< 100 per condition) | Very large N (overplotting) |
64
+ | **Box plot** | Quick summary; supplements other plots | As the only visualization (hides distribution shape) |
65
+ | **Bar chart with error bars** | **Avoid for continuous data** | Almost always; use for counts/proportions only | Weissgerber et al., 2015 |
66
+ | **Histogram** | Examining RT distribution of a single condition | Comparing across many conditions (hard to overlay) |
67
+
68
+ ### Behavioral Data: Accuracy and Proportions
69
+
70
+ - **Dot plots with within-subject CI**: Show condition means with dots and individual subject data points connected by lines (for within-subjects designs)
71
+ - **Within-subject confidence intervals**: Use the Morey (2008) correction for repeated-measures CI -- standard CIs are inappropriate for within-subjects designs because they include between-subject variance
72
+ - Calculation: Remove each subject's mean, add back grand mean, then compute standard CI (Cousineau, 2005; Morey, 2008 correction factor: multiply SE by `sqrt(k / (k-1))` where k = number of conditions)
73
+
74
+ ### Interaction Plots
75
+
76
+ - Use **line plots** (condition x time or condition x group) with individual trajectories shown as thin semi-transparent lines behind the group means
77
+ - For 2x2 designs: plot the continuous variable on x-axis, DV on y-axis, and use color/linetype for the second factor
78
+ - Always show error bars (within-subject CI for repeated measures; Morey, 2008)
79
+
80
+ ## ERP Visualization Conventions
81
+
82
+ ### Waveform Plots
83
+
84
+ **Polarity convention**: There is a longstanding debate about whether to plot negative up or negative down.
85
+
86
+ | Convention | Prevalence | Journals |
87
+ |------------|-----------|----------|
88
+ | **Negative up** | Traditional in ERP research | Psychophysiology, most dedicated ERP journals |
89
+ | **Negative down** | Increasingly common; standard mathematical convention | Some cognitive neuroscience journals, Clinical Neurophysiology |
90
+
91
+ > **Recommendation**: Follow the target journal's convention. If in doubt, negative up is the traditional ERP convention (Luck, 2014, Ch. 3). Always label the y-axis clearly with polarity.
92
+
93
+ ### Waveform Plotting Standards
94
+
95
+ - **Line width**: **1.0-1.5 pt** for condition waveforms; **0.5 pt** for axis lines (Luck, 2014)
96
+ - **Color**: Use colorblind-safe palette; distinguish conditions by both color AND linetype (solid, dashed)
97
+ - **Time axis**: Mark stimulus onset (**0 ms**) with a vertical dashed line
98
+ - **Amplitude axis**: Label in microvolts (uV); include zero line
99
+ - **Baseline period**: Shade or mark the pre-stimulus baseline period (typically **-200 to 0 ms**)
100
+ - **Component windows**: Shade or bracket the time window of interest (e.g., N400: **300-500 ms**; Kutas & Federmeier, 2011)
101
+ - **Grand average**: Plot grand average waveforms; optionally show individual subject waveforms as thin semi-transparent lines
102
+
103
+ ### Difference Waves
104
+
105
+ - Plot the difference wave (condition A minus condition B) as a separate panel or overlaid in a distinct color
106
+ - Include the **95% CI** or **standard error** band around the difference wave
107
+ - Difference waves are essential for verifying that an effect is present before interpreting the grand average (Luck, 2014, Ch. 2)
108
+
109
+ ### Topographic Maps
110
+
111
+ - Plot at specific time points or averaged within the component time window
112
+ - Use a **diverging colormap** (blue-white-red or blue-zero-red) centered on zero (Crameri et al., 2020)
113
+ - Include a **color bar** with labeled range (in uV)
114
+ - Show electrode positions as dots on the map
115
+ - Use consistent scale across conditions for fair comparison
116
+ - Common time windows: N1 (**80-120 ms**), P2 (**150-250 ms**), N400 (**300-500 ms**), P600 (**500-800 ms**) (Luck, 2014)
117
+
118
+ ## fMRI Visualization Standards
119
+
120
+ ### Statistical Map Overlays
121
+
122
+ - **Never use jet/rainbow colormap** (Borland & Taylor, 2007; Crameri et al., 2020). These colormaps introduce perceptual artifacts: perceived boundaries where none exist, and unequal perceptual steps.
123
+ - **Recommended colormaps**:
124
+
125
+ | Purpose | Colormap | Source |
126
+ |---------|----------|--------|
127
+ | Sequential (activation) | **hot**, **inferno**, **YlOrRd** | Crameri et al., 2020 |
128
+ | Diverging (activation + deactivation) | **RdBu_r**, **coolwarm**, **vik** | Crameri et al., 2020 |
129
+ | Perceptually uniform | **viridis**, **magma**, **cividis** | Crameri et al., 2020 |
130
+
131
+ ### fMRI Display Types
132
+
133
+ | Display | When to Use | Tool |
134
+ |---------|------------|------|
135
+ | **Orthogonal slices** | Showing peak activation in a specific region | nilearn `plot_stat_map` |
136
+ | **Glass brain** | Whole-brain overview; showing distributed patterns | nilearn `plot_glass_brain` |
137
+ | **Surface projection** | Publication-quality cortical activation maps | nilearn `plot_surf_stat_map`, FreeSurfer |
138
+ | **Montage (multi-slice)** | Showing extent of activation across brain | nilearn `plot_stat_map` with `display_mode='z'` and `cut_coords` |
139
+
140
+ ### fMRI Visualization Requirements
141
+
142
+ - Always show a **color bar** with the statistic scale (z-score or t-value)
143
+ - Report the **threshold** used (e.g., "z > 3.1, cluster-level p < 0.05 FWE")
144
+ - Report **coordinate space** (MNI-152 or Talairach) and template
145
+ - Show **both hemispheres** unless the hypothesis is lateralized
146
+ - For ROI analyses, overlay the ROI mask on an anatomical image
147
+ - Use **1 mm** isotropic anatomical underlay (MNI152 T1 template) for sufficient anatomical detail
148
+
149
+ ### What NOT to Do in fMRI Figures
150
+
151
+ - Do not use 3D rendered brains with inconsistent lighting and angles (obscures data)
152
+ - Do not show only a single slice cherry-picked to show the largest effect
153
+ - Do not use an overly liberal threshold to make results "look better" (threshold must match the reported statistics)
154
+ - Do not use jet/rainbow (Borland & Taylor, 2007)
155
+
156
+ ## Brain Connectivity Visualization
157
+
158
+ ### Matrix Plots (Connectivity Matrices)
159
+
160
+ - Order regions by network membership (e.g., DMN, FPN, visual, motor) to reveal modular structure
161
+ - Use hierarchical clustering to determine optimal ordering if no a priori network assignment
162
+ - Use a **sequential colormap** for positive-only connectivity (e.g., correlation: viridis)
163
+ - Use a **diverging colormap** for signed connectivity (e.g., partial correlation: RdBu_r centered on zero)
164
+ - Annotate network boundaries with grid lines or color bars along axes
165
+
166
+ ### Chord Diagrams / Connectome Plots
167
+
168
+ - Use for showing specific significant connections
169
+ - Line width proportional to connection strength
170
+ - Color by network membership of source or target
171
+ - Use mne-connectivity or nilearn `plot_connectome` for 3D brain-space visualization
172
+
173
+ ## Color Accessibility
174
+
175
+ ### Mandatory: Colorblind-Safe Palettes
176
+
177
+ Approximately **8%** of males and **0.5%** of females have color vision deficiency (Birch, 2012). All figures must be interpretable by colorblind readers.
178
+
179
+ **Recommended palettes**:
180
+
181
+ | Palette | Type | Colors | Source |
182
+ |---------|------|--------|--------|
183
+ | **viridis** | Sequential | Yellow-green-blue-purple | Crameri et al., 2020 |
184
+ | **cividis** | Sequential (optimized for CVD) | Yellow-blue | Nuñez et al., 2018 |
185
+ | **Okabe-Ito** | Categorical (8 colors) | `#E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7, #000000` | Okabe & Ito, 2002 |
186
+ | **viridis family** (magma, inferno, plasma) | Sequential | Various | Crameri et al., 2020 |
187
+ | **RdBu** | Diverging | Red-white-blue | ColorBrewer; Crameri et al., 2020 |
188
+
189
+ ### Color Usage Guidelines
190
+
191
+ - **Never** rely on color alone to convey information; use shape, linetype, or labels as redundant cues (WCAG 2.1 guideline 1.4.1)
192
+ - For categorical comparisons, limit to **6-8 colors** maximum (Miller, 1956 -- chunking limit; also practical perceptual limit)
193
+ - Test figures with a CVD simulator (e.g., Coblis, Color Oracle) before submission
194
+ - Avoid red-green contrasts (most common CVD is deuteranopia/protanopia)
195
+
196
+ ## Publication Formatting Standards
197
+
198
+ ### APA 7th Edition Figure Requirements
199
+
200
+ | Parameter | Specification | Source |
201
+ |-----------|--------------|--------|
202
+ | Resolution | **300 DPI** minimum for print; **600 DPI** for line art | APA 7th, 2020, Section 7.22 |
203
+ | Font | Sans-serif (Arial, Helvetica) **8-14 pt** in the final printed figure | APA 7th, 2020, Section 7.22 |
204
+ | Line weight | **0.5-1.5 pt** minimum for visibility after reduction | APA 7th, 2020 |
205
+ | Figure width | Single column: **3.3 in** (84 mm); double column: **6.9 in** (175 mm) | Typical journal specifications |
206
+ | File format | **TIFF** or **EPS** for print; **PDF** for vector; **PNG** for screen | Journal-specific |
207
+ | Color mode | **CMYK** for print; **RGB** for online-only | Journal-specific |
208
+ | Background | **White** (no gray backgrounds, no gridlines unless essential) | APA 7th, 2020 |
209
+
210
+ ### Axis and Label Standards
211
+
212
+ - **Axis labels**: Capitalize first word and proper nouns only (sentence case)
213
+ - **Axis values**: Use appropriate precision (RT in ms with 0 decimal places; effect sizes to 2 decimal places)
214
+ - **Error bars**: Always define what they represent in the figure caption (SE, 95% CI, within-subject CI)
215
+ - **Legend**: Place inside the plot area if space permits; avoid obscuring data
216
+ - **Panels**: Label multi-panel figures with **(A)**, **(B)**, **(C)** in bold, upper-left corner, **12 pt** font
217
+
218
+ ### Common Formatting Mistakes
219
+
220
+ 1. **Font too small after scaling**: A figure designed at full-screen size will have illegible text when reduced to column width. Design at the final printed size.
221
+ 2. **Axis starting at non-zero**: For RT data, the y-axis should generally start at **0 ms** to avoid exaggerating small differences. Exception: when the effect is small relative to the baseline and breaking the axis is standard in the field.
222
+ 3. **Missing error bars or undefined error bars**: Every figure with summary statistics must include error bars, and the caption must state what they are (Cumming & Finch, 2005).
223
+ 4. **Inconsistent scales across panels**: When comparing conditions or time points across panels, use the same axis range.
224
+ 5. **3D bar charts**: Never use 3D effects on statistical plots; they distort perception of values (Tufte, 2001).
225
+
226
+ ## Common Visualization Mistakes in Cognitive Science
227
+
228
+ ### 1. Bar Charts for Continuous Data
229
+ **Problem**: Bar charts conceal distribution shape, bimodality, outliers, and sample size (Weissgerber et al., 2015).
230
+ **Fix**: Use raincloud plots, violin plots, or strip plots that show individual data points.
231
+
232
+ ### 2. Dynamite Plots (Bar + SE)
233
+ **Problem**: Two very different distributions can produce identical bar + SE plots (Weissgerber et al., 2015).
234
+ **Fix**: Show the data. At minimum, overlay individual data points on any summary plot.
235
+
236
+ ### 3. Rainbow/Jet Colormaps for Brain Images
237
+ **Problem**: Perceptually non-uniform; creates false boundaries; misleads interpretation of gradients (Borland & Taylor, 2007).
238
+ **Fix**: Use perceptually uniform colormaps (viridis, inferno, magma) or scientifically designed colormaps (Crameri et al., 2020).
239
+
240
+ ### 4. Between-Subject Error Bars on Within-Subject Designs
241
+ **Problem**: Standard error bars include between-subject variance, which is irrelevant for within-subject comparisons (Loftus & Masson, 1994).
242
+ **Fix**: Use within-subject CIs (Morey, 2008; Cousineau, 2005).
243
+
244
+ ### 5. Cherry-Picked Brain Slices
245
+ **Problem**: Showing only the single slice with the largest activation cluster misrepresents spatial extent.
246
+ **Fix**: Show a montage of slices or a glass brain projection; share full unthresholded maps on NeuroVault.
247
+
248
+ ### 6. Unlabeled Color Scales on Brain Maps
249
+ **Problem**: Without a labeled color bar showing the statistical range, the reader cannot interpret the image.
250
+ **Fix**: Always include a color bar with the statistic type (z, t, F) and the numerical range.
251
+
252
+ ### 7. Inconsistent ERP Polarity
253
+ **Problem**: Mixing negative-up and negative-down within the same paper or comparing across papers without noting the convention.
254
+ **Fix**: State the polarity convention; label the y-axis clearly; be consistent throughout.
255
+
256
+ ### 8. Not Showing Individual Data
257
+ **Problem**: Group means alone can mask important individual variability (e.g., bimodal response patterns in clinical populations).
258
+ **Fix**: Overlay individual data points (jitter/strip) or show small-multiples of individual subjects.
259
+
260
+ ## Quick Reference Decision Table
261
+
262
+ | Data Type | Recommended Plot | Tool | Recipe Reference |
263
+ |-----------|-----------------|------|-----------------|
264
+ | RT distribution | Raincloud plot | ggrain (R) / PtitPrince (Python) | `references/plot-recipes.md` Recipe 1 |
265
+ | ERP waveform | Line plot with CI band | MNE-Python / ggplot2 | Recipe 2 |
266
+ | ERP topography | Topographic map | MNE-Python `plot_topomap` | Recipe 3 |
267
+ | fMRI activation | Glass brain or surface | nilearn | Recipe 4 |
268
+ | Accuracy by condition | Dot plot with within-subject CI | ggplot2 / matplotlib | Recipe 5 |
269
+ | Group comparison | Estimation plot (Gardner-Altman) | DABEST / dabestr | Recipe 6 |
270
+ | Time-frequency | TFR heatmap | MNE-Python | Recipe 7 |
271
+ | Correlation matrix | Clustered heatmap | seaborn / corrplot | Recipe 8 |
272
+
273
+ ## References
274
+
275
+ - Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R., & Kievit, R. A. (2019). Raincloud plots: A multi-platform tool for robust data visualization. *Wellcome Open Research*, 4, 63.
276
+ - American Psychological Association. (2020). *Publication Manual of the APA* (7th ed.).
277
+ - Birch, J. (2012). Worldwide prevalence of red-green color deficiency. *Journal of the Optical Society of America A*, 29(3), 313-320.
278
+ - Borland, D., & Taylor, R. M. (2007). Rainbow color map (still) considered harmful. *IEEE Computer Graphics and Applications*, 27(2), 14-17.
279
+ - Cousineau, D. (2005). Confidence intervals in within-subject designs: A simpler solution to Loftus and Masson's method. *Tutorials in Quantitative Methods for Psychology*, 1(1), 42-45.
280
+ - Crameri, F., Shephard, G. E., & Heron, P. J. (2020). The misuse of colour in science communication. *Nature Communications*, 11, 5444.
281
+ - Cumming, G., & Finch, S. (2005). Inference by eye: Confidence intervals and how to read pictures of data. *American Psychologist*, 60(2), 170-180.
282
+ - Kutas, M., & Federmeier, K. D. (2011). Thirty years and counting: Finding meaning in the N400 component. *Annual Review of Psychology*, 62, 621-647.
283
+ - Loftus, G. R., & Masson, M. E. J. (1994). Using confidence intervals in within-subject designs. *Psychonomic Bulletin & Review*, 1(4), 476-490.
284
+ - Luck, S. J. (2014). *An Introduction to the Event-Related Potential Technique* (2nd ed.). MIT Press.
285
+ - Miller, G. A. (1956). The magical number seven, plus or minus two. *Psychological Review*, 63(2), 81-97.
286
+ - Morey, R. D. (2008). Confidence intervals from normalized data: A correction to Cousineau (2005). *Tutorials in Quantitative Methods for Psychology*, 4(2), 61-64.
287
+ - Nuñez, J. R., Anderton, C. R., & Renslow, R. S. (2018). Optimizing colormaps with consideration for color vision deficiency to enable accurate interpretation of scientific data. *PLoS ONE*, 13(7), e0199239.
288
+ - Okabe, M., & Ito, K. (2002). Color universal design (CUD): How to make figures and presentations that are friendly to colorblind people. J*Fly Data Depository for Drosophila Researchers*.
289
+ - Tufte, E. R. (2001). *The Visual Display of Quantitative Information* (2nd ed.). Graphics Press.
290
+ - Weissgerber, T. L., Milic, N. M., Winham, S. J., & Garovic, V. D. (2015). Beyond bar and line graphs: Time for a new data presentation paradigm. *PLoS Biology*, 13(4), e1002128.
291
+
292
+ See `references/plot-recipes.md` for concrete code recipes for each visualization type.