scaffold_script
Assemble prior code, dataset variables, and cleaning steps from a project to create a new script in the user's own conventions. Call this before writing the script.
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 |