Guide
AI prompt recipes
Copy-paste prompts for common task types you can build with the AI editor.
These prompts are starting points for the experiment-editor AI. Paste one in, then refine with follow-up messages. Each keeps settings in config.js and preserves the platform data protocol.
Adapt the specifics (stimuli, keys, counts) to your study — the AI works best when you are concrete about the data you want recorded.
Reaction-time task
Keypress reaction-time task
Build a keypress reaction-time task with jsPsych for the VibeMyExpt platform. - Keep all tunable settings in config.js on a CONFIG object: number of trials, the stimulus set, valid response keys, fixation duration, and inter-trial interval. - In experiment.js, show a fixation cross, then a stimulus, then wait for one of the CONFIG response keys. - Record per trial: stimulus, response key, correct (boolean), and rt (ms). - Randomize trial order. Add a short instructions screen at the start and a thank-you screen at the end. - Ensure initJsPsych posts vibemyexpt:trial_data on on_data_update and vibemyexpt:experiment_complete on on_finish. Do not change that protocol.
Likert survey
Likert-scale survey
Add a Likert-scale survey to this experiment using jsPsych for the VibeMyExpt platform. - Put the list of questions and the scale labels (e.g. Strongly disagree … Strongly agree) in config.js on CONFIG so I can edit them without touching experiment.js. - Render each question on the scale; require an answer before continuing. - Save one data field per question using stable field names derived from CONFIG (not free-form), plus the numeric scale value. - Keep the existing initJsPsych data protocol (vibemyexpt:trial_data / vibemyexpt:experiment_complete) unchanged.
Timed image stimulus
Timed stimulus with response window
Add a timed image-stimulus trial to this experiment with jsPsych for the VibeMyExpt platform. - Reference images from the assets folder using the __ASSETS map (e.g. __ASSETS['stimulus.png']) — do not hardcode URLs. - In config.js on CONFIG, expose: stimulus display duration (ms), the response window (ms), and the valid response keys. - Show the stimulus for the display duration, then accept a response until the response window closes; record response and rt, and whether the response was in time. - Keep the existing initJsPsych data protocol (vibemyexpt:trial_data / vibemyexpt:experiment_complete) unchanged.
Voice recording
For audio, use the dedicated Voice recording guide — it includes the full upload-protocol prompt.