@yibeichan/claude-skills 1.0.2

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 (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +98 -0
  3. package/cli.js +272 -0
  4. package/install.py +240 -0
  5. package/package.json +44 -0
  6. package/skills/bidsapp-nidm-standards/SKILL.md +202 -0
  7. package/skills/bidsapp-nidm-standards/references/babs_config.md +20 -0
  8. package/skills/bidsapp-nidm-standards/references/cli_arguments.md +76 -0
  9. package/skills/bidsapp-nidm-standards/references/container_patterns.md +53 -0
  10. package/skills/bidsapp-nidm-standards/references/nidm_integration.md +403 -0
  11. package/skills/bidsapp-nidm-standards/references/repo_structure.md +121 -0
  12. package/skills/bidsapp-nidm-standards/references/testing_patterns.md +82 -0
  13. package/skills/dicom2fmriprep/SKILL.md +377 -0
  14. package/skills/dicom2fmriprep/evals/evals.json +26 -0
  15. package/skills/dicom2fmriprep/references/babs-details.md +407 -0
  16. package/skills/dicom2fmriprep/references/fmriprep-details.md +250 -0
  17. package/skills/dicom2fmriprep/references/heudiconv-details.md +243 -0
  18. package/skills/fmri-ssm/SKILL.md +317 -0
  19. package/skills/fmri-ssm/references/code_templates.md +1570 -0
  20. package/skills/fmri-ssm/references/downstream_analysis.md +680 -0
  21. package/skills/fmri-ssm/references/group_inference.md +608 -0
  22. package/skills/fmri-ssm/references/hrf_modeling.md +447 -0
  23. package/skills/fmri-ssm/references/model_catalog.md +436 -0
  24. package/skills/fmri-ssm/references/paradigm_guide.md +406 -0
  25. package/skills/fmri-ssm/references/preprocessing.md +614 -0
  26. package/skills/fmri-ssm.zip +0 -0
  27. package/skills/neuroimaging-qc/SKILL.md +203 -0
  28. package/skills/neuroimaging-qc/references/eeg_qc.md +400 -0
  29. package/skills/neuroimaging-qc/references/fmri_qc.md +343 -0
  30. package/skills/neuroimaging-qc/references/fnirs_qc.md +430 -0
  31. package/skills/neuroimaging-qc/references/structural_qc.md +454 -0
  32. package/skills/neuroimaging-qc/scripts/parse_fmriprep_confounds.py +153 -0
  33. package/skills/neuroimaging-qc/scripts/parse_mriqc.py +114 -0
  34. package/skills/neuroimaging-qc/scripts/qc_report.py +295 -0
  35. package/skills/scientific-writer/SKILL.md +202 -0
  36. package/skills/scientific-writer/references/citation_styles.md +163 -0
  37. package/skills/scientific-writer/references/field_conventions.md +245 -0
  38. package/skills/scientific-writer/references/figures_tables.md +225 -0
  39. package/skills/scientific-writer/references/reporting_guidelines.md +225 -0
  40. package/skills.json +54 -0
@@ -0,0 +1,225 @@
1
+ # Reporting Guidelines Reference
2
+
3
+ ## Contents
4
+ 1. [Guideline Selection](#guideline-selection)
5
+ 2. [CONSORT](#consort-randomized-trials)
6
+ 3. [STROBE](#strobe-observational-studies)
7
+ 4. [PRISMA](#prisma-systematic-reviews)
8
+ 5. [Other Guidelines](#other-guidelines)
9
+
10
+ ---
11
+
12
+ ## Guideline Selection
13
+
14
+ | Study Type | Guideline | Website |
15
+ |-----------|-----------|---------|
16
+ | Randomized controlled trial | CONSORT | consort-statement.org |
17
+ | Observational (cohort, case-control, cross-sectional) | STROBE | strobe-statement.org |
18
+ | Systematic review/meta-analysis | PRISMA | prisma-statement.org |
19
+ | Diagnostic accuracy | STARD | stard-statement.org |
20
+ | Prediction models | TRIPOD | tripod-statement.org |
21
+ | Animal research | ARRIVE | arriveguidelines.org |
22
+ | Case reports | CARE | care-statement.org |
23
+ | Quality improvement | SQUIRE | squire-statement.org |
24
+ | Economic evaluation | CHEERS | ispor.org/cheers |
25
+ | Clinical trial protocol | SPIRIT | spirit-statement.org |
26
+
27
+ **Rule**: Identify applicable guideline before writing. Use checklist during drafting.
28
+
29
+ ---
30
+
31
+ ## CONSORT (Randomized Trials)
32
+
33
+ ### Essential Elements
34
+
35
+ **Title/Abstract**
36
+ - Identify as randomized trial in title
37
+ - Structured abstract with trial design, methods, results, conclusions
38
+
39
+ **Introduction**
40
+ - Scientific background and rationale
41
+ - Specific objectives or hypotheses
42
+
43
+ **Methods**
44
+ - Trial design (parallel, factorial, etc.) with allocation ratio
45
+ - Eligibility criteria for participants
46
+ - Settings and locations
47
+ - Interventions with sufficient detail for replication
48
+ - Pre-specified primary and secondary outcomes
49
+ - Sample size calculation
50
+ - Randomization: sequence generation, allocation concealment, implementation
51
+ - Blinding: who was blinded, how
52
+
53
+ **Results**
54
+ - Flow diagram (REQUIRED): enrollment, allocation, follow-up, analysis
55
+ - Baseline demographics table
56
+ - Numbers analyzed per group
57
+ - Primary outcome: effect estimate with precision (95% CI)
58
+ - All pre-specified secondary outcomes
59
+ - Harms/adverse events
60
+
61
+ **Discussion**
62
+ - Limitations (sources of bias, imprecision)
63
+ - Generalizability
64
+ - Interpretation consistent with results
65
+
66
+ **Other**
67
+ - Registration number and registry name
68
+ - Protocol access
69
+ - Funding source
70
+
71
+ ### CONSORT Flow Diagram
72
+ ```
73
+ Enrollment: Assessed for eligibility (n=)
74
+
75
+ Excluded (n=)
76
+ • Not meeting criteria (n=)
77
+ • Declined (n=)
78
+ • Other (n=)
79
+
80
+ Randomized (n=)
81
+
82
+ Allocation: ←——————————————→
83
+ Intervention (n=) Control (n=)
84
+ ↓ ↓
85
+ Follow-up: Lost to FU (n=) Lost to FU (n=)
86
+ Discontinued (n=) Discontinued (n=)
87
+ ↓ ↓
88
+ Analysis: Analyzed (n=) Analyzed (n=)
89
+ Excluded (n=) Excluded (n=)
90
+ ```
91
+
92
+ ---
93
+
94
+ ## STROBE (Observational Studies)
95
+
96
+ ### Essential Elements
97
+
98
+ **Title/Abstract**
99
+ - Indicate study design (cohort, case-control, cross-sectional)
100
+
101
+ **Introduction**
102
+ - Background/rationale
103
+ - Objectives including pre-specified hypotheses
104
+
105
+ **Methods**
106
+ - Study design with key elements
107
+ - Setting: locations, dates of recruitment/exposure/follow-up
108
+ - Participants: eligibility, sources, selection methods
109
+ - Variables: outcomes, exposures, predictors, confounders
110
+ - Data sources/measurement for each variable
111
+ - Bias: efforts to address potential sources
112
+ - Study size: how determined
113
+ - Statistical methods including confounding control
114
+
115
+ **Results**
116
+ - Participant flow diagram
117
+ - Descriptive data: characteristics, exposures, follow-up time
118
+ - Outcome data: numbers in each category
119
+ - Main results: unadjusted and adjusted estimates with CI
120
+ - Other analyses (subgroups, interactions, sensitivity)
121
+
122
+ **Discussion**
123
+ - Key results summary
124
+ - Limitations including bias direction
125
+ - Interpretation with literature context
126
+ - Generalizability
127
+
128
+ ### Study-Specific Requirements
129
+
130
+ **Cohort studies**: Report numbers at each follow-up stage, person-time at risk
131
+
132
+ **Case-control studies**: Report case/control selection rationale, matching criteria
133
+
134
+ **Cross-sectional studies**: Report analytical methods for sampling strategy
135
+
136
+ ---
137
+
138
+ ## PRISMA (Systematic Reviews)
139
+
140
+ ### Essential Elements
141
+
142
+ **Title**
143
+ - Identify as systematic review, meta-analysis, or both
144
+
145
+ **Abstract**
146
+ - Structured summary: background, objectives, data sources, eligibility, synthesis methods, results, limitations, conclusions, registration
147
+
148
+ **Introduction**
149
+ - Rationale and objectives (PICO format recommended)
150
+
151
+ **Methods**
152
+ - Protocol registration (PROSPERO, OSF)
153
+ - Eligibility criteria
154
+ - Information sources with dates
155
+ - Search strategy (full for at least one database)
156
+ - Selection process
157
+ - Data collection process
158
+ - Data items
159
+ - Risk of bias assessment (tool used)
160
+ - Effect measures
161
+ - Synthesis methods (meta-analysis approach if used)
162
+ - Certainty assessment (e.g., GRADE)
163
+
164
+ **Results**
165
+ - PRISMA flow diagram (REQUIRED)
166
+ - Study characteristics
167
+ - Risk of bias within studies
168
+ - Results of individual studies
169
+ - Synthesis results with heterogeneity
170
+ - Risk of bias across studies
171
+ - Certainty of evidence
172
+
173
+ **Discussion**
174
+ - Summary of evidence
175
+ - Limitations
176
+ - Conclusions
177
+
178
+ ### PRISMA Flow Diagram
179
+ ```
180
+ Identification: Records from databases (n=)
181
+ Records from other sources (n=)
182
+
183
+ Records after duplicates removed (n=)
184
+
185
+ Screening: Records screened (n=)
186
+
187
+ Records excluded (n=)
188
+
189
+ Full-text assessed (n=)
190
+
191
+ Full-text excluded (n=)
192
+ • Reason 1 (n=)
193
+ • Reason 2 (n=)
194
+
195
+ Included: Studies in qualitative synthesis (n=)
196
+
197
+ Studies in meta-analysis (n=)
198
+ ```
199
+
200
+ ---
201
+
202
+ ## Other Guidelines
203
+
204
+ ### STARD (Diagnostic Accuracy)
205
+ Key elements: Index test, reference standard, participant flow, 2×2 table, sensitivity/specificity with CI
206
+
207
+ ### TRIPOD (Prediction Models)
208
+ Key elements: Model development vs. validation, predictor selection, model performance measures, calibration, discrimination
209
+
210
+ ### ARRIVE (Animal Research)
211
+ Key elements: Species/strain, housing, sample size justification, randomization, blinding, humane endpoints
212
+
213
+ ### CARE (Case Reports)
214
+ Key elements: Patient information, clinical findings, timeline, diagnostic assessment, therapeutic interventions, outcomes
215
+
216
+ ---
217
+
218
+ ## Pre-Submission Checklist
219
+
220
+ - [ ] Correct guideline identified for study type
221
+ - [ ] Checklist downloaded from official website
222
+ - [ ] All applicable items addressed
223
+ - [ ] Flow diagram included (CONSORT, STROBE, PRISMA)
224
+ - [ ] Registration number included (trials, systematic reviews)
225
+ - [ ] Checklist completed and ready for submission
package/skills.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "$schema": "https://skills.anthropic.com/schema/v1",
3
+ "name": "claude-skills",
4
+ "version": "1.0.0",
5
+ "description": "Claude skills for neuroimaging research workflows and scientific writing",
6
+ "repository": "https://github.com/yibeichen/claude-skills",
7
+ "skills": [
8
+ {
9
+ "name": "bidsapp-nidm-standards",
10
+ "version": "1.0.0",
11
+ "description": "Standards for creating NIDM-integrated BIDSapps that run through BABS. Trigger keywords: BIDSapp, NIDM, BABS, FreeSurfer, repository structure",
12
+ "path": "skills/bidsapp-nidm-standards",
13
+ "author": "Yibei Chen",
14
+ "tags": ["neuroimaging", "BIDS", "NIDM", "BABS", "BIDSapp"],
15
+ "dependencies": []
16
+ },
17
+ {
18
+ "name": "neuroimaging-qc",
19
+ "version": "1.0.0",
20
+ "description": "Evidence-based QC decision-making for neuroimaging data (fMRI, EEG, fNIRS, structural MRI). Interpret QC metrics from fMRIPrep, MRIQC, FreeSurfer, MNE-Python, Homer3 to make justified inclusion/exclusion decisions. Trigger keywords: QC, quality control, fMRIPrep, MRIQC, motion, exclusion, subject filtering",
21
+ "path": "skills/neuroimaging-qc",
22
+ "author": "Yibei Chen",
23
+ "tags": ["neuroimaging", "QC", "fMRI", "EEG", "fNIRS", "quality-control"],
24
+ "dependencies": []
25
+ },
26
+ {
27
+ "name": "fmri-ssm",
28
+ "version": "1.0.0",
29
+ "description": "State-space models (SSMs) for fMRI analysis: HMM, HMM-MAR, sticky/HDP-HMM, IO-HMM, SLDS, rSLDS, SNLDS. Covers resting-state, task-based (MID, SST, N-back), and naturalistic fMRI. Trigger keywords: HMM on brain data, brain state dynamics, dynamic FC, switching dynamics, latent states from BOLD, SLDS on neural timeseries, fMRI state-space modeling",
30
+ "path": "skills/fmri-ssm",
31
+ "author": "Yibei Chen",
32
+ "tags": ["neuroimaging", "fMRI", "HMM", "state-space", "brain-dynamics", "SSM", "resting-state"],
33
+ "dependencies": []
34
+ },
35
+ {
36
+ "name": "dicom2fmriprep",
37
+ "version": "1.0.0",
38
+ "description": "Generate scripts for the full fMRI preprocessing pipeline: DICOM to BIDS conversion (heudiconv), BIDS validation, fMRIPrep with Singularity, and large-scale HPC processing via BABS on SLURM. Trigger keywords: DICOM, BIDS, heudiconv, fMRIPrep, BABS, SLURM, preprocessing, dcm2niix, heuristic",
39
+ "path": "skills/dicom2fmriprep",
40
+ "author": "Yibei Chen",
41
+ "tags": ["neuroimaging", "fMRI", "BIDS", "fMRIPrep", "heudiconv", "BABS", "SLURM", "preprocessing"],
42
+ "dependencies": []
43
+ },
44
+ {
45
+ "name": "scientific-writer",
46
+ "version": "1.0.0",
47
+ "description": "Write rigorous scientific manuscripts following academic standards (IMRAD, citations, figures, CONSORT/STROBE/PRISMA guidelines). Trigger keywords: scientific writing, research papers, grant proposals, literature reviews",
48
+ "path": "skills/scientific-writer",
49
+ "author": "Yibei Chen",
50
+ "tags": ["writing", "research", "academic", "publications"],
51
+ "dependencies": []
52
+ }
53
+ ]
54
+ }