Designs REDCap data dictionaries with validated fields, branching logic, and longitudinal events. Maps study variables to CDISC CDASH/SDTM domains and NCI-EVS controlled terminology. Lints dictionaries for common errors.
Ships in alterlab-faculty-life. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Designs validated electronic data capture (EDC) instruments in REDCap and aligns a study's variables to CDISC submission standards. It owns two jobs that overlap with sibling skills only at the edges:
This is design + standards work, not a live-API connector. Producing the CSV and the mapping is in scope; importing it into a running REDCap server is the instance owner's job (REDCap's own API/UI).
Build me a REDCap data dictionary for a 3-arm RCT screening + follow-up.
Add branching logic so the pregnancy question only shows when sex = female.
Lint this data_dictionary.csv before I import it.
Map my CRF variables to CDISC SDTM domains and CDASH fields.
Which SDTM domain and controlled-terminology codelist does "adverse event" go in?
→ Draft or read the dictionary, run scripts/lint_data_dictionary.py to catch
structural errors, then (for CDISC) produce a variable → CDASH → SDTM mapping
table. Always state which facts are design conventions vs. instance-specific.
Use it when the request is about building the instrument or making it standards-compliant:
| The request is really about… | Route to |
|---|---|
| Bridging an ELN to REDCap; reading/writing LabArchives notebook entries or attachments via its REST API | alterlab-labarchive |
| Psychometrics — Likert scale construction, response-bias mitigation, sampling strategy, pilot testing, reliability/validity (Cronbach's α, factor analysis) | alterlab-survey-design |
| Picking or running the statistical test, assumptions, power/sample size, APA results | alterlab-statistical-analysis |
| KVKK / Turkish data-protection plan, anonymization, VERBIS, açık rıza | alterlab-kvkk-dmp |
| IRB / ethics application, informed consent, GDPR/HIPAA, human-subjects protocol | alterlab-research-ethics (or alterlab-tr-research-ethics for Turkish etik kurul) |
| Finding registered trials by condition/NCT ID on ClinicalTrials.gov | alterlab-clinicaltrials |
| ISO 13485 medical-device QMS documentation | alterlab-iso13485 |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-labarchive) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
Routing rule of thumb: survey-design owns the questions and their measurement
properties; this skill owns the database that captures them and its standards
mapping. If the user asks for both (e.g. "design a validated depression scale
and the REDCap form for it"), do the scale work under alterlab-survey-design
and the dictionary/mapping here.
REDCap projects are defined by a data dictionary — a CSV with 18 columns in a fixed order. Authoring or repairing this CSV is the core deliverable.
| # | Column header | Purpose |
|---|---|---|
| 1 | Variable / Field Name | Lowercase machine name (export/analysis). |
| 2 | Form Name | Instrument the field belongs to. |
| 3 | Section Header | Visual section break above the field. |
| 4 | Field Type | One of the values below. |
| 5 | Field Label | Human-readable prompt shown on the form. |
| 6 | Choices, Calculations, OR Slider Labels | 1, Yes | 0, No for choice fields; the equation for calc. |
| 7 | Field Note | Helper text under the field. |
| 8 | Text Validation Type OR Show Slider Number | Validation for text; slider display. |
| 9 | Text Validation Min | Lower bound (integer/number/date). |
| 10 | Text Validation Max | Upper bound. |
| 11 | Identifier? | y marks PII/PHI (drives de-identified exports). |
| 12 | Branching Logic (Show field only if...) | Show-field condition. |
| 13 | Required Field? | y / blank. |
| 14 | Custom Alignment | Layout. |
| 15 | Question Number (surveys only) | Survey numbering. |
| 16 | Matrix Group Name | Groups matrix fields. |
| 17 | Matrix Ranking? | Matrix ranking flag. |
| 18 | Field Annotation | Action tags / annotations (e.g. @HIDDEN). |
Field Type values: text, notes, dropdown, radio, checkbox,
calc, sql, descriptive, slider, yesno, truefalse, file.
Text Validation Type values (built-ins): dates date_ymd / date_mdy /
date_dmy, the matching datetime_* and datetime_seconds_* forms, time,
time_hh_mm_ss, time_mm_ss, integer, number and number_1dp…number_4dp
(plus *_comma_decimal variants), email, phone, zipcode, alpha_only, and
a few locale/ID formats (full list in the reference). autocomplete belongs on
dropdown fields and signature on file fields. Admins can disable types per
instance, so confirm with a test import.
Deeper field-by-field rules, the choice-string grammar, branching-logic operators, longitudinal/repeating-instrument design, and a worked dictionary are in references/redcap_design.md.
uv run python scripts/lint_data_dictionary.py \
path/to/data_dictionary.csv
The linter is stdlib-only (no network, no REDCap account). It checks the
18-column header, field-name syntax, field-type/validation legality, that choice
fields carry a choices string, that calc/branching fields reference variables
that exist (an event prefix such as [visit_1_arm_1][weight_kg] is allowed),
duplicate variable names, and PII fields left unflagged as Identifier?. It
exits non-zero and emits a JSON report when issues are found. It is a
structural linter — it does not validate against a live REDCap
server, so always tell the user a clean lint still needs a test import.
CDISC defines complementary standards across the data lifecycle. Map a study so its collected data is regulator- and reuse-ready.
| Standard | Role | What you produce |
|---|---|---|
| CDASH | Collection — standard fields to collect on CRFs; traces into SDTM. | The CRF/REDCap fields named to CDASH conventions. |
| SDTM | Tabulation — organizes submitted data into domains. | A variable → domain mapping. |
| Controlled Terminology | Codelists of valid values (NCI-EVS). | Coded values tied to the right codelist. |
SDTM observation classes: Interventions, Events, Findings, and Findings About, plus special-purpose domains such as DM Demographics. Common domains and their two-letter codes: AE Adverse Events, VS Vital Signs, LB Laboratory, EX Exposure, CM Concomitant Medications, MH Medical History.
Controlled Terminology is maintained with NCI's Enterprise Vocabulary Services (NCI-EVS) and updated quarterly; do not invent codelist values — cite the codelist and tell the user to pull the current quarterly release.
Versions are real but move — the skill records the latest it verified on cdisc.org (2026-09-23): SDTMIG v3.4 (2021-11-29), which is built on SDTM v2.0; SDTM v2.1 (2024-06-10) is the newest model release and accompanies the Tobacco Implementation Guide; CDASHIG v2.3 (2023-09-28, CDASH Model v1.3); Controlled Terminology 2026-03-27 is the current quarterly release. New SDTMIG domains are in public review (comments due 2 Oct 2026). Confirm the current version with the user / cdisc.org and the regulator's data-standards catalog before asserting one in a deliverable, because these are re-released. The mapping recipe, the CDASH↔SDTM traceability idea, and the worked AE/VS examples are in references/cdisc_mapping.md.
alterlab-survey-design first.Identifier? for every PII field, branching
logic, and (longitudinal) the event/arm plan separately.scripts/lint_data_dictionary.py; fix every error before the
user imports.Identifier? = y?alterlab-survey-design and ELN bridging to
alterlab-labarchive instead of doing them here?Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/alterlab-faculty-life:alterlab-redcap-cdiscfrom alterlab-faculty-life
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-faculty-life6 skills in this plugin
/alterlab-accreditation-aolScaffolds program-level Assurance-of-Learning (AoL) documentation for AACSB (Standard 5 in the 2020 standards and the 2026 Global Standards) and ABET (Criterion 3 Student Outcomes, Criterion 4 Continuous Improvement) accreditation — program learning outcomes / competency goals, curriculum-to-outcome mapping matrices, direct- and indirect-assessment plans, rubric design, and closing-the-loop continuous-improvement narratives — and validates the structure of an outcome-mapping matrix with scripts/aol_matrix.py. Use when the user needs AACSB or ABET assurance-of-learning material, a program-learning-outcomes set, a curriculum/outcome map or coverage matrix, a direct/indirect assessment plan, a closing-the-loop report, or accreditation self-study text. For single-course design or course rubrics prefer alterlab-teaching-design; for post-award grant reports prefer alterlab-grant-reporting. Part of the AlterLab Academic Skills suite./alterlab-grant-reportingDrafts post-award grant deliverables across funder formats — NIH RPPR (Annual, multi-year-funded, Interim, Final via eRA Commons), NSF annual/final project reports and the public Project Outcomes Report (Research.gov), and Horizon Europe / ERC periodic and final reports (technical Part A/B + financial statements on the EU Funding & Tenders Portal) — plus milestone and deliverable tracking, budget-vs-actual variance narratives, no-cost-extension and rebudgeting justifications, and effort/closeout reporting. Computes report due dates from the award period with scripts/report_deadlines.py. Use when the user needs a grant progress or final report, post-award reporting, an RPPR, a periodic report, a no-cost-extension request, milestone tracking, or a budget-variance narrative. For writing new proposals prefer alterlab-research-grants; for TÜBİTAK proposals prefer alterlab-tubitak-proposal. Part of the AlterLab Academic Skills suite./alterlab-preprint-depositionDrives preprint deposition across servers (arXiv, bioRxiv, medRxiv, ChemRxiv, SSRN, Research Square, OSF Preprints): picks the server by field, prepares submission metadata and arXiv categories, sets the license from each server's real option set (arXiv non-exclusive license or CC BY/BY-SA/BY-NC-SA/BY-NC-ND/CC0; bioRxiv/medRxiv CC variants or No-reuse) against funder mandates (NIH, NSF, Gates, Plan S), handles immutable versioning and preprint DOIs, checks a journal's preprint policy live in Jisc Open Policy Finder (formerly Sherpa Romeo; no key needed), and links the preprint to the published article. Reuses alterlab-arxiv and alterlab-biorxiv for metadata. Use when depositing a preprint, choosing a preprint server, preparing an arXiv, bioRxiv, or medRxiv submission, setting a preprint license, or checking journal preprint policy; for Zenodo/Dryad/Figshare data deposition prefer alterlab-open-science, for TÜBİTAK Aperta prefer alterlab-aperta. Part of the AlterLab Academic Skills suite./alterlab-recommendation-lettersDrafts evidence-anchored academic reference and recommendation letters across types — graduate admission, faculty hiring, tenure/promotion external review, fellowship, and award nomination — from a structured prompt of candidate accomplishments, role context, evaluator relationship, and audience, calibrating specificity and register to the letter type and running a no-fabrication guard that flags unsupported superlatives, unanchored rankings, and claims with no evidence in the supplied dossier. Ships scripts/letter_scaffold.py to emit a typed section skeleton and scripts/claim_guard.py to lint a draft for evidence-free assertions. Use when the request is to write a recommendation or reference letter for a student or colleague, a tenure or promotion external-review letter, a fellowship or award nomination, or to check a letter draft for unsupported claims. For a candidate writing their own CV, research statement, or career narrative prefer alterlab-academic-career. Part of the AlterLab Academic Skills suite./alterlab-syllabus-ai-policyDrafts course-level generative-AI use policies and syllabus statements: assigns each graded task a permitted/restricted/prohibited tier (modeled on Cornell's prohibit/allow-with-attribution/encourage framework), writes the disclosure clause with current APA (2025: cite the shared chat or the tool) and MLA generative-AI citation templates, and adds assessment-integrity, accessibility, and equity language bound to the institution's own academic-integrity code. Ships scripts/policy_builder.py to emit a paste-ready statement and scripts/policy_lint.py to flag a vague or self-contradicting draft. Use when the request mentions a syllabus AI policy, a course statement on ChatGPT or generative AI, an academic-integrity clause for AI tools, an AI-disclosure rule, or per-assignment permitted/prohibited AI tiers. For full course/backward design, syllabus, or rubrics use alterlab-teaching-design; for human-subjects AI-tool ethics use alterlab-research-ethics. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job