weld plan¶
Generate an implementation plan from a specification.
Usage¶
Arguments¶
| Argument | Description |
|---|---|
input | Path to the specification file |
Options¶
| Option | Short | Description |
|---|---|---|
--output | -o | Path to write the plan (default: .weld/plan/) |
--quiet | -q | Suppress streaming output |
Description¶
The command:
- Reads the specification file
- Generates a planning prompt
- Runs Claude to create the plan
- Writes the result to the output file
Examples¶
Generate a plan¶
Write to specific location¶
Suppress streaming output¶
Output¶
Plans are written to .weld/plan/ by default with a timestamped filename.
Input Validation¶
Before starting the (potentially expensive) Claude operation, weld validates inputs upfront:
- File existence: Verifies the input file exists
- File type: Ensures the path points to a file, not a directory
- Output path: If
--outputis specified, validates the path is writable
When validation fails, you'll see a clear error message with an actionable hint:
This prevents wasted API tokens from invalid inputs.
See Also¶
- Plan Format - How plans are structured
- implement - Execute the generated plan
- review - Validate the plan before implementing