scaffold_script
Gathers prior code, project dataset paths, and cleaning steps to enable writing a new script consistent with the user's existing conventions.
Instructions
Assemble the raw material to write a NEW script from previous work.
Pulls the most relevant prior code, the project's dataset variables/paths,
and the cleaning steps — so you can write a new script in the user's own
conventions (same names, paths, packages). Call this, then write the script.
Args:
goal: What the new script should do.
project_id: The project to scaffold for (prioritised, then cross-project).
language: Target language (r, python, …).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| project_id | No | ||
| language | No | r |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |