@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.
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +35 -0
- package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
- package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
- package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
- package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
- package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
- package/skills/01_Meta-Skills/share-usage/README.md +63 -0
- package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
- package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
- package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
- package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
- package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
- package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
- package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
- package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
- package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
- package/skills/13_Visualization/nature-figure/README.md +442 -0
- package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
- package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
- package/skills/13_Visualization/nature-figure/references/api.md +428 -0
- package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
- package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
- package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
- package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
- package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
- package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
- package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
- package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
- package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
- package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
- package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
- package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
- package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
- package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
- package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
- package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
- package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
- package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "repo-to-skill"
|
|
3
|
+
description: "Convert a GitHub repository or local codebase into a well-structured Claude Code skill with progressive disclosure. Use this skill whenever the user provides a GitHub URL or local repo path and asks to turn it into a skill, create a skill from a repo, or convert a library/tool/framework into reusable skill documentation. Also trigger when users say things like 'make a skill from this repo', 'turn this codebase into a skill', or 'I want a skill for [library name]'."
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
authors:
|
|
6
|
+
- "Claude (AI-assisted)"
|
|
7
|
+
review_status: "ai-generated"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Repo-to-Skill: Convert a Repository into a Claude Code Skill
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
This skill encodes the complete workflow for transforming a GitHub repository (or local codebase) into a well-structured Claude Code skill. It guides you through cloning, exploring, extracting key information, and assembling a skill with proper progressive disclosure — a concise SKILL.md entry point backed by detailed reference files.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
Activate when the user:
|
|
19
|
+
- Provides a GitHub URL and asks to create a skill from it
|
|
20
|
+
- Points to a local repository path and wants it converted to a skill
|
|
21
|
+
- Says "make a skill from this repo/library/tool"
|
|
22
|
+
- Wants to document a codebase as a reusable skill
|
|
23
|
+
|
|
24
|
+
## Workflow Overview
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
1. Acquire repo → 2. Explore broadly → 3. Collect key info → 4. Design structure → 5. Write SKILL.md + references
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Phase 1: Acquire the Repository
|
|
33
|
+
|
|
34
|
+
### From GitHub URL
|
|
35
|
+
```bash
|
|
36
|
+
# Clone to a working directory
|
|
37
|
+
git clone <github-url> /tmp/skill-source-repo
|
|
38
|
+
# or clone to a user-specified path
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
If the user provides just a repo name (e.g., "mne-tools/mne-python"), construct the URL:
|
|
42
|
+
```bash
|
|
43
|
+
git clone https://github.com/<owner>/<repo>.git /tmp/skill-source-repo
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### From Local Path
|
|
47
|
+
If the user provides a local path (e.g., `/srv/repos/my-library`), use it directly. Verify it exists before proceeding.
|
|
48
|
+
|
|
49
|
+
### Already Available
|
|
50
|
+
Check if the repo is already cloned locally before downloading again.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Phase 2: Explore the Repository
|
|
55
|
+
|
|
56
|
+
This is the most important phase. Explore broadly and deeply — the quality of the skill depends on how well you understand the repo. Use parallel subagents when possible to speed up exploration.
|
|
57
|
+
|
|
58
|
+
### 2.1 Top-Level Orientation
|
|
59
|
+
|
|
60
|
+
Read these files first (if they exist):
|
|
61
|
+
- `README.md` / `README.rst` — project overview, installation, quick start
|
|
62
|
+
- `CHANGELOG.md` / `CHANGES.rst` / `HISTORY.md` — recent API changes
|
|
63
|
+
- `pyproject.toml` / `setup.py` / `setup.cfg` / `package.json` — dependencies, version
|
|
64
|
+
- `CONTRIBUTING.md` — project conventions
|
|
65
|
+
- `LICENSE` — license type
|
|
66
|
+
|
|
67
|
+
Then list the top-level directory structure to understand the project layout.
|
|
68
|
+
|
|
69
|
+
### 2.2 Core Source Code
|
|
70
|
+
|
|
71
|
+
Identify the main source directory (often `src/`, `lib/`, or the package name itself). Then:
|
|
72
|
+
|
|
73
|
+
1. Read `__init__.py` (or equivalent entry point) to find all exported modules/classes/functions
|
|
74
|
+
2. List all submodules/subdirectories
|
|
75
|
+
3. For each major submodule, read its `__init__.py` to get the public API
|
|
76
|
+
4. Read key implementation files for important classes/functions — focus on docstrings and signatures, not internal logic
|
|
77
|
+
|
|
78
|
+
### 2.3 Documentation
|
|
79
|
+
|
|
80
|
+
Look for documentation in these common locations:
|
|
81
|
+
- `docs/` or `doc/` directory
|
|
82
|
+
- `examples/` directory — working code examples are gold
|
|
83
|
+
- `tutorials/` directory — step-by-step guides
|
|
84
|
+
- API reference docs (often generated, but source `.rst` or `.md` files are useful)
|
|
85
|
+
- Jupyter notebooks (`.ipynb`) in any directory
|
|
86
|
+
|
|
87
|
+
### 2.4 Examples and Tutorials
|
|
88
|
+
|
|
89
|
+
These are the most valuable resources for a skill. For each example/tutorial:
|
|
90
|
+
- Note what it demonstrates
|
|
91
|
+
- Extract the key code patterns
|
|
92
|
+
- Identify the recommended parameter values and best practices
|
|
93
|
+
|
|
94
|
+
### 2.5 Tests (Optional)
|
|
95
|
+
|
|
96
|
+
Skim test files to discover edge cases, expected behaviors, and usage patterns that aren't in the docs.
|
|
97
|
+
|
|
98
|
+
### Exploration Strategy
|
|
99
|
+
|
|
100
|
+
Use the Agent tool with `subagent_type=Explore` for broad exploration, or launch multiple parallel subagents to cover different areas simultaneously:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
Agent 1: Explore top-level structure + README + core __init__.py files
|
|
104
|
+
Agent 2: Explore tutorials/ and examples/ directories, read representative files
|
|
105
|
+
Agent 3: Explore docs/ for API reference, read key module documentation
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
The goal is to collect:
|
|
109
|
+
- Complete list of public API (classes, functions, constants)
|
|
110
|
+
- Recommended usage patterns and pipelines
|
|
111
|
+
- Parameter defaults and recommended values
|
|
112
|
+
- Common pitfalls and gotchas
|
|
113
|
+
- Code examples for each major feature
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Phase 3: Design the Skill Structure
|
|
118
|
+
|
|
119
|
+
### Determine Scope
|
|
120
|
+
|
|
121
|
+
Based on exploration, decide:
|
|
122
|
+
- What is the skill's primary purpose? (e.g., "guide users through X analysis pipeline")
|
|
123
|
+
- What are the major topic areas? (these become reference files)
|
|
124
|
+
- What belongs in the main SKILL.md vs. references?
|
|
125
|
+
|
|
126
|
+
### Progressive Disclosure Architecture
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
skill-name/
|
|
130
|
+
├── SKILL.md (< 500 lines — overview, pipeline, quick reference)
|
|
131
|
+
└── references/
|
|
132
|
+
├── topic-a.md (detailed API + examples for topic A)
|
|
133
|
+
├── topic-b.md (detailed API + examples for topic B)
|
|
134
|
+
├── topic-c.md (detailed API + examples for topic C)
|
|
135
|
+
└── ...
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Rules of thumb:
|
|
139
|
+
- SKILL.md: Pipeline overview, core concepts, quick-start code, common pitfalls, reference table pointing to detail files
|
|
140
|
+
- Each reference file: One major topic, complete API listing, detailed code examples, parameter tables
|
|
141
|
+
- Keep each file under 300 lines for readability; split if larger
|
|
142
|
+
- Include a "Reference Files" table in SKILL.md so the model knows when to read each file
|
|
143
|
+
|
|
144
|
+
### Reuse Repo Resources Directly
|
|
145
|
+
|
|
146
|
+
When the repo already has well-written documentation, examples, or reference material, copy them directly into `references/` rather than rewriting. This saves effort and preserves accuracy:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
# Copy useful docs directly
|
|
150
|
+
cp /tmp/skill-source-repo/docs/api_reference.md references/
|
|
151
|
+
cp /tmp/skill-source-repo/examples/quickstart.py references/
|
|
152
|
+
cp /tmp/skill-source-repo/tutorials/getting_started.md references/
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Rename files to be descriptive if needed. Add a brief header noting the source.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Phase 4: Write the SKILL.md
|
|
160
|
+
|
|
161
|
+
### Naming Rule
|
|
162
|
+
|
|
163
|
+
Skill name may only contain lowercase letters, numbers, and hyphens. The name must match the folder name. For example, a skill in folder `my-cool-tool/` must have `name: "my-cool-tool"` in its frontmatter.
|
|
164
|
+
|
|
165
|
+
### Required Structure
|
|
166
|
+
|
|
167
|
+
```markdown
|
|
168
|
+
---
|
|
169
|
+
name: "my-skill-name"
|
|
170
|
+
description: "One-line description of what this skill provides"
|
|
171
|
+
version: "1.0.0"
|
|
172
|
+
authors:
|
|
173
|
+
- "Claude (AI-assisted)"
|
|
174
|
+
review_status: "ai-generated"
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
# Skill Title
|
|
178
|
+
|
|
179
|
+
## Purpose
|
|
180
|
+
What domain knowledge this skill encodes and why it's useful.
|
|
181
|
+
|
|
182
|
+
## When to Use This Skill
|
|
183
|
+
Trigger conditions — what user phrases/contexts activate this skill.
|
|
184
|
+
|
|
185
|
+
## Reference Files (Progressive Disclosure)
|
|
186
|
+
| Topic | File | When to Read |
|
|
187
|
+
|-------|------|--------------|
|
|
188
|
+
| Topic A | `references/topic-a.md` | User asks about A |
|
|
189
|
+
| Topic B | `references/topic-b.md` | User asks about B |
|
|
190
|
+
|
|
191
|
+
## Overview / Pipeline
|
|
192
|
+
High-level workflow or concept map.
|
|
193
|
+
|
|
194
|
+
## Quick Start
|
|
195
|
+
Minimal working example covering the most common use case.
|
|
196
|
+
|
|
197
|
+
## Key Concepts
|
|
198
|
+
Core data structures, important classes, essential functions.
|
|
199
|
+
|
|
200
|
+
## Common Pitfalls
|
|
201
|
+
Numbered list of mistakes to avoid, with brief explanations.
|
|
202
|
+
|
|
203
|
+
## [Additional sections as needed]
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Writing Guidelines
|
|
207
|
+
|
|
208
|
+
1. Lead with the pipeline/workflow — users want to know "what do I do first?"
|
|
209
|
+
2. Include runnable code examples — not pseudocode
|
|
210
|
+
3. Cite parameter values with sources when possible
|
|
211
|
+
4. Keep SKILL.md under 500 lines — move details to references
|
|
212
|
+
5. Use tables for API listings and parameter comparisons
|
|
213
|
+
6. The reference table is critical — it tells the model when to load each file
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## Phase 5: Write Reference Files
|
|
218
|
+
|
|
219
|
+
For each major topic area, create a reference file:
|
|
220
|
+
|
|
221
|
+
```markdown
|
|
222
|
+
# Topic Name Reference
|
|
223
|
+
|
|
224
|
+
## Table of Contents
|
|
225
|
+
1. [Section 1](#section-1)
|
|
226
|
+
2. [Section 2](#section-2)
|
|
227
|
+
...
|
|
228
|
+
|
|
229
|
+
## Section 1
|
|
230
|
+
[Detailed API, parameters, code examples]
|
|
231
|
+
|
|
232
|
+
## Section 2
|
|
233
|
+
[More details]
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### What to Include in References
|
|
237
|
+
|
|
238
|
+
- Complete function/class signatures with all parameters
|
|
239
|
+
- Parameter tables with types, defaults, and descriptions
|
|
240
|
+
- Multiple code examples showing different use cases
|
|
241
|
+
- Tips for parameter selection
|
|
242
|
+
- Links between related functions
|
|
243
|
+
|
|
244
|
+
### Reusing Repo Content
|
|
245
|
+
|
|
246
|
+
Prefer copying existing high-quality content from the repo:
|
|
247
|
+
- Tutorial code → reference examples
|
|
248
|
+
- API docstrings → function reference tables
|
|
249
|
+
- README sections → overview content
|
|
250
|
+
- Example scripts → working code snippets
|
|
251
|
+
|
|
252
|
+
Only rewrite when the original content is poorly organized, outdated, or too verbose.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Quality Checklist
|
|
257
|
+
|
|
258
|
+
Before finishing, verify:
|
|
259
|
+
|
|
260
|
+
- [ ] Skill name contains only lowercase letters, numbers, and hyphens, and matches the folder name
|
|
261
|
+
- [ ] SKILL.md is under 500 lines
|
|
262
|
+
- [ ] All major features/modules are covered
|
|
263
|
+
- [ ] Reference table in SKILL.md lists all reference files with "when to read" guidance
|
|
264
|
+
- [ ] Each reference file has a table of contents
|
|
265
|
+
- [ ] Code examples are complete and runnable
|
|
266
|
+
- [ ] Common pitfalls section exists
|
|
267
|
+
- [ ] Quick start example covers the most common use case
|
|
268
|
+
- [ ] No reference file exceeds ~300 lines (split if needed)
|
|
269
|
+
- [ ] Skill directory uses kebab-case naming
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## Example: Converting a Python Library
|
|
274
|
+
|
|
275
|
+
For a Python library like `pandas`:
|
|
276
|
+
|
|
277
|
+
```
|
|
278
|
+
pandas-guide/
|
|
279
|
+
├── SKILL.md # Overview, core objects (DataFrame, Series), quick start
|
|
280
|
+
└── references/
|
|
281
|
+
├── io.md # read_csv, read_excel, to_parquet, etc.
|
|
282
|
+
├── selection-indexing.md # loc, iloc, boolean indexing, query
|
|
283
|
+
├── groupby-aggregation.md # groupby, agg, transform, pivot_table
|
|
284
|
+
├── merging-joining.md # merge, join, concat
|
|
285
|
+
├── time-series.md # DatetimeIndex, resample, rolling
|
|
286
|
+
└── visualization.md # plot(), plot.bar(), etc.
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
The SKILL.md would contain the DataFrame/Series overview, a quick-start example, and a reference table pointing to each topic file.
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "share-case"
|
|
3
|
+
description: "One-command community case sharing — capture research context from your session and submit to GitHub Discussions"
|
|
4
|
+
domain: "meta-skill"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
review_status: "ai-generated"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Share Case
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
This meta-skill captures a researcher's experience using any skill in this repository and submits it as a structured case to GitHub Discussions. It handles all formatting and submission so users never need to leave their terminal or know Git.
|
|
14
|
+
|
|
15
|
+
## When to Use This Skill
|
|
16
|
+
|
|
17
|
+
Activate when the user:
|
|
18
|
+
|
|
19
|
+
- Says "share this case", "share my experience", "分享这个案例"
|
|
20
|
+
- Wants to document how they used a skill in their research
|
|
21
|
+
- Asks how to contribute a usage example
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Research Planning Protocol
|
|
26
|
+
|
|
27
|
+
Before starting the case sharing process, you MUST:
|
|
28
|
+
|
|
29
|
+
1. **Identify the skill used** — Which skill(s) from this repository were used in the current session?
|
|
30
|
+
2. **Clarify sharing scope** — What aspects of the experience does the user want to share?
|
|
31
|
+
3. **Declare what will be extracted** — List the specific conversation elements that will be included
|
|
32
|
+
4. **Note privacy considerations** — Are there dataset names, lab identifiers, or participant details that should be anonymized?
|
|
33
|
+
5. **Present the extraction plan to the user and WAIT for confirmation** before proceeding.
|
|
34
|
+
|
|
35
|
+
For detailed methodology guidance, see `skills/research-literacy/SKILL.md`.
|
|
36
|
+
|
|
37
|
+
## ⚠️ Verification Notice
|
|
38
|
+
|
|
39
|
+
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).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Prerequisites
|
|
44
|
+
|
|
45
|
+
This skill supports two submission methods:
|
|
46
|
+
|
|
47
|
+
1. **Direct submission via `gh` CLI** (Recommended)
|
|
48
|
+
- Requires `gh` CLI installed and authenticated
|
|
49
|
+
- Run `gh auth status` to check
|
|
50
|
+
- Install from https://cli.github.com/ and run `gh auth login`
|
|
51
|
+
|
|
52
|
+
2. **Manual submission via web browser**
|
|
53
|
+
- No `gh` CLI required
|
|
54
|
+
- Opens GitHub Discussions page in browser
|
|
55
|
+
- User copies and pastes the generated case
|
|
56
|
+
|
|
57
|
+
The skill will check for `gh` availability and let the user choose their preferred method.
|
|
58
|
+
|
|
59
|
+
**GitHub Discussions** must be enabled on the repository. The skill submits to the "Show & Tell" category.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Interactive Flow
|
|
64
|
+
|
|
65
|
+
### Step 1 — Quick Survey
|
|
66
|
+
|
|
67
|
+
Present these questions using multiple-choice format:
|
|
68
|
+
|
|
69
|
+
**Q1: Which skill did you use?**
|
|
70
|
+
- Auto-detect from the current session context (list skills that were activated)
|
|
71
|
+
- Let the user confirm or select manually from the full skill list
|
|
72
|
+
|
|
73
|
+
**Q2: What was your research scenario?**
|
|
74
|
+
- Formal experiment
|
|
75
|
+
- Coursework or teaching
|
|
76
|
+
- Method exploration
|
|
77
|
+
- Paper reproduction
|
|
78
|
+
- Other (free text)
|
|
79
|
+
|
|
80
|
+
**Q3: How helpful was the skill? (1-5)**
|
|
81
|
+
- 1 = Not helpful
|
|
82
|
+
- 2 = Slightly helpful
|
|
83
|
+
- 3 = Moderately helpful
|
|
84
|
+
- 4 = Very helpful
|
|
85
|
+
- 5 = Extremely helpful
|
|
86
|
+
|
|
87
|
+
**Q4: What was most valuable? (select all that apply)**
|
|
88
|
+
- Correct methodology guidance
|
|
89
|
+
- Validated parameters and thresholds
|
|
90
|
+
- Pitfall warnings
|
|
91
|
+
- Complete pipeline coverage
|
|
92
|
+
- Literature references
|
|
93
|
+
- Other (free text)
|
|
94
|
+
|
|
95
|
+
### Step 2 — Context Extraction
|
|
96
|
+
|
|
97
|
+
Extract the following from the current conversation:
|
|
98
|
+
|
|
99
|
+
1. **Research context** — The user's original research question and experimental setup
|
|
100
|
+
2. **Key recommendations** — The main suggestions the skill provided (parameters, methods, warnings)
|
|
101
|
+
3. **Follow-up adjustments** — Any modifications made during the conversation
|
|
102
|
+
4. **Outcome summary** — What the user ultimately decided to do
|
|
103
|
+
|
|
104
|
+
Format each as a concise paragraph. Do NOT include raw conversation transcripts — synthesize into readable summaries.
|
|
105
|
+
|
|
106
|
+
### Step 3 — User Review and Submission Choice
|
|
107
|
+
|
|
108
|
+
Display the complete case preview using the format below.
|
|
109
|
+
|
|
110
|
+
**First, check `gh` CLI availability:**
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
gh auth status 2>&1
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Then present submission options using AskUserQuestion:**
|
|
117
|
+
|
|
118
|
+
If `gh` is available:
|
|
119
|
+
- **Submit via gh CLI (Recommended)** — Direct submission to GitHub Discussions
|
|
120
|
+
- **Open in browser** — Manual submission via web interface
|
|
121
|
+
- **Delete sections** — Remove specific paragraphs before submitting
|
|
122
|
+
- **Anonymize** — Replace specific names (datasets, labs, participants)
|
|
123
|
+
- **Abort** — Cancel without submitting
|
|
124
|
+
|
|
125
|
+
If `gh` is NOT available:
|
|
126
|
+
- **Open in browser** — Manual submission via web interface
|
|
127
|
+
- **Delete sections** — Remove specific paragraphs before submitting
|
|
128
|
+
- **Anonymize** — Replace specific names (datasets, labs, participants)
|
|
129
|
+
- **Abort** — Cancel without submitting
|
|
130
|
+
|
|
131
|
+
**You MUST wait for explicit user confirmation before proceeding to Step 4.**
|
|
132
|
+
|
|
133
|
+
### Step 4 — Submit to GitHub
|
|
134
|
+
|
|
135
|
+
Based on the user's choice in Step 3:
|
|
136
|
+
|
|
137
|
+
#### Option A: Submit via `gh` CLI
|
|
138
|
+
|
|
139
|
+
Create a GitHub Discussion in the "Show & Tell" category.
|
|
140
|
+
|
|
141
|
+
**First, get repository and category IDs:**
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
gh api graphql -f query='
|
|
145
|
+
{
|
|
146
|
+
repository(owner: "HaoxuanLiTHUAI", name: "awesome_cognitive_and_neuroscience_skills") {
|
|
147
|
+
id
|
|
148
|
+
discussionCategories(first: 10) {
|
|
149
|
+
nodes {
|
|
150
|
+
id
|
|
151
|
+
name
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}'
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Then create the discussion:**
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
gh api graphql -f query='
|
|
162
|
+
mutation {
|
|
163
|
+
createDiscussion(input: {
|
|
164
|
+
repositoryId: "REPO_ID",
|
|
165
|
+
categoryId: "SHOW_AND_TELL_CATEGORY_ID",
|
|
166
|
+
title: "Community Case: SKILL_NAME",
|
|
167
|
+
body: "CASE_BODY_HERE"
|
|
168
|
+
}) {
|
|
169
|
+
discussion {
|
|
170
|
+
url
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}'
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
On success, display the Discussion URL:
|
|
177
|
+
```
|
|
178
|
+
✅ Case shared successfully!
|
|
179
|
+
🔗 Discussion URL: [URL]
|
|
180
|
+
|
|
181
|
+
Thank you for contributing to the community!
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
On failure, fall back to Option B.
|
|
185
|
+
|
|
186
|
+
#### Option B: Open in Browser
|
|
187
|
+
|
|
188
|
+
1. Save the case locally to the current directory as `case-skill-name-YYYYMMDD.md`
|
|
189
|
+
|
|
190
|
+
2. Open the GitHub Discussions page:
|
|
191
|
+
```bash
|
|
192
|
+
xdg-open "https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/discussions/new?category=show-and-tell" 2>/dev/null || \
|
|
193
|
+
open "https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/discussions/new?category=show-and-tell" 2>/dev/null || \
|
|
194
|
+
echo "Please open: https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/discussions/new?category=show-and-tell"
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
3. Inform the user:
|
|
198
|
+
```
|
|
199
|
+
✅ Case saved to: case-skill-name-YYYYMMDD.md
|
|
200
|
+
|
|
201
|
+
🌐 Opening GitHub Discussions in your browser...
|
|
202
|
+
|
|
203
|
+
📋 Next steps:
|
|
204
|
+
1. Title: "Community Case: [Skill Name]"
|
|
205
|
+
2. Copy the content from case-skill-name-YYYYMMDD.md
|
|
206
|
+
3. Paste it into the discussion body
|
|
207
|
+
4. Click "Start discussion"
|
|
208
|
+
|
|
209
|
+
Thank you for contributing to the community!
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Case Format Template
|
|
215
|
+
|
|
216
|
+
The submitted Discussion body uses this format:
|
|
217
|
+
|
|
218
|
+
```markdown
|
|
219
|
+
## Community Case: [skill-name]
|
|
220
|
+
|
|
221
|
+
### Quick Info
|
|
222
|
+
- **Skill used**: `[skill-name]`
|
|
223
|
+
- **Scenario**: [selected option from Q2]
|
|
224
|
+
- **Rating**: [stars from Q3, e.g., ⭐⭐⭐⭐]
|
|
225
|
+
- **Most valuable**: [selected options from Q4]
|
|
226
|
+
|
|
227
|
+
### Research Context
|
|
228
|
+
> [User's research question and experimental setup — synthesized from conversation]
|
|
229
|
+
|
|
230
|
+
### What the Skill Suggested
|
|
231
|
+
- [Key recommendation 1]
|
|
232
|
+
- [Key recommendation 2]
|
|
233
|
+
- [Key recommendation 3]
|
|
234
|
+
|
|
235
|
+
### What I Actually Did & Result
|
|
236
|
+
> [User's experience applying the recommendations and the outcome]
|
|
237
|
+
|
|
238
|
+
### User's Tips
|
|
239
|
+
> [Optional: Additional insights the user wants to share with the community]
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
*Submitted via the `share-case` meta-skill.*
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Privacy Principles
|
|
248
|
+
|
|
249
|
+
- **Nothing is submitted without explicit user confirmation** after full preview
|
|
250
|
+
- Users can remove any section or paragraph before submission
|
|
251
|
+
- Users can anonymize dataset names, lab names, and participant identifiers
|
|
252
|
+
- Users can choose to submit anonymously (no GitHub username attribution in the case body)
|
|
253
|
+
- The skill never auto-submits — the user must explicitly approve
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Share Usage Skill
|
|
2
|
+
|
|
3
|
+
Generate and share anonymized statistics about your skill usage with the community.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
Simply say to Claude:
|
|
8
|
+
```
|
|
9
|
+
share my skill usage
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
or
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
generate usage report
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## What This Does
|
|
19
|
+
|
|
20
|
+
1. Analyzes your Claude Code logs
|
|
21
|
+
2. Counts how many times you've used each skill from this repository
|
|
22
|
+
3. Generates a completely anonymized report
|
|
23
|
+
4. Optionally helps you share it with the community
|
|
24
|
+
|
|
25
|
+
## Privacy
|
|
26
|
+
|
|
27
|
+
The report is **completely anonymized** and includes ONLY:
|
|
28
|
+
- Skill names and usage counts
|
|
29
|
+
- Date range
|
|
30
|
+
- Optional research domain tag
|
|
31
|
+
- Optional comments
|
|
32
|
+
|
|
33
|
+
**No personal information, project details, or conversation content is included.**
|
|
34
|
+
|
|
35
|
+
## Example Report
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
# Skill Usage Report
|
|
39
|
+
|
|
40
|
+
**Time Period**: 2024-01-15 to 2024-03-03 (48 days)
|
|
41
|
+
**Research Domain**: fMRI analysis
|
|
42
|
+
|
|
43
|
+
## Summary
|
|
44
|
+
- Total skill calls: 47
|
|
45
|
+
- Unique skills used: 12
|
|
46
|
+
- Most used skill: fmri-glm-analysis-guide (15 times)
|
|
47
|
+
|
|
48
|
+
## Top 10 Skills
|
|
49
|
+
1. fmri-glm-analysis-guide: 15 uses
|
|
50
|
+
2. fmri-preprocessing-pipeline-guide: 8 uses
|
|
51
|
+
3. cogsci-statistics: 6 uses
|
|
52
|
+
...
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Why Share?
|
|
56
|
+
|
|
57
|
+
Sharing your usage report helps:
|
|
58
|
+
- Maintainers understand which skills are most valuable
|
|
59
|
+
- Other researchers discover useful skills
|
|
60
|
+
- Guide future skill development priorities
|
|
61
|
+
- Build a stronger community
|
|
62
|
+
|
|
63
|
+
**Sharing is completely optional!**
|