new-user

Creates a student practice workspace by copying TODO-blanked CDISC starter scripts into a personal directory.

13|6|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/kaipingyang/CDISC_training --skill new-user-kaipingyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-user
Source: https://github.com/kaipingyang/CDISC_training/tree/main/.claude/skills/new-user
Command: npx skills add https://github.com/kaipingyang/CDISC_training --skill new-user-kaipingyang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Clinical data trainees need a personal, isolated practice area with fill-in-the-blank R starter scripts for SDTM, ADaM, and TFL exercises, without touching the reference answer scripts in the project root. ## Core Features & Use Cases - Practice Area Initialization: Runs Rscript users/setup.R <name> to copy the TODO-blanked starter templates from users/_template/ into users/<name>/, with overwrite = FALSE so reruns never erase filled-in work. - Path Placeholder Replacement: Automatically replaces <STUDENT_NAME> output-path placeholders so each student's outputs write to their own directory, never overwriting root answer outputs. - Guided Onboarding: Gives the student a clear next-step learning path (SDTM → ADaM → TFL, ordered by file number) and enforces practice/check dual-mode rules that protect answer scripts. - Use Case: A new trainee says "开始练习" and provides the name zhangsan; the skill creates users/zhangsan/ with blanked starters and tells them to open sdtm/03_ae.R and fill in the # TODO lines. ## Quick Start Tell the assistant "create a practice workspace for zhangsan" and it will initialize the student directory and explain how to begin the exercises.

Frequently Asked Questions about new-user

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a student practice directory for CDISC exercises?

Provide a student name (letters, digits, underscores only) and the skill runs Rscript users/setup.R with that name. It copies the TODO-blanked sdtm, adam, and tfl starters from users/_template/ into users/<name>/.

What happens if I rerun the setup script for an existing student?

The setup script uses overwrite = FALSE, so rerunning it will not erase exercises the student has already filled in. The existing files in users/<name>/ are preserved.

Can the skill read the reference answer scripts while a student is practicing?

No. During practice mode the root sdtm/, adam/, and tfl/ answer scripts are off-limits. They may only be read when the student explicitly asks to check or compare answers, and they must never be modified.

Why does my student directory still show <STUDENT_NAME> in output paths?

That is residue from an older template copy where the placeholder was not replaced. Manually replace <STUDENT_NAME> with the actual student name so outputs write to the student's own directory instead of the root output folders.

What is the recommended exercise order for SDTM, ADaM, and TFL practice?

Start with SDTM (01_dm, 02_vs, 03_ae), then ADaM (01_adsl, 02_adae, 03_advs), then TFL (01_t_demographic, 02_t_adverse_events, 03_g_km). Higher-numbered files in each layer are optional advanced exercises.