What problem does it solve? Clinical data staff without R programming experience struggle to write ADaM derivation code from scratch. This Skill turns a natural-language description of a target analysis dataset into working admiral framework code, covering ADSL, ADAE, ADVS, ADTTE and other common ADaM datasets. ## Core Features & Use Cases - Dataset Templates: Provides ready-to-adapt R code templates for ADSL, ADAE, and ADTTE built on admiral, dplyr, pharmaversesdtm, and xportr. - Derivation Function Reference: Includes a lookup table of derive_* functions (derive_vars_dt, derive_vars_merged, derive_var_trtemfl, derive_param_tte, and more) with typical use scenarios. - Pitfall Guidance: Documents real-world errors such as duplicate baseline records, non-unique BDS ordering, and derive_param_tte pipeline misuse, with concrete fixes. - Use Case: A clinical data manager asks for an ADAE dataset flagging treatment-emergent adverse events; the Skill produces code merging ADSL treatment dates, deriving ASTDT/AENDT, and setting TRTEMFL. ## Quick Start Ask the assistant to generate an ADSL dataset from SDTM DM and EX domains using admiral, deriving treatment groups and start/end dates.