local_boilerplate
Generate boilerplate code from a spec with a local model, writing it to a target file and returning only a path and size. Use it to add code without loading generated content into context.
Instructions
Generates boilerplate code from a specification, with a local code model.
**Writes the code to `target`** and returns only a two-line receipt (path, size). The generated
code never enters your context: that is where the saving is, and that is why `target` is not
optional. To see it, open the file; to use it, it is already in place.
Args:
spec: Description of what the code must do.
language: Programming language (e.g. 'python', 'typescript').
target: ABSOLUTE path of the file to write. Missing directories are created.
overwrite: Overwrite `target` if it already exists. By default it fails, and it fails
BEFORE generating anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| target | Yes | ||
| language | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |