weld research¶
Research a specification before planning.
Usage¶
Arguments¶
| Argument | Description |
|---|---|
input | Path to the specification file |
Options¶
| Option | Short | Description |
|---|---|---|
--output | -o | Path to write research (default: .weld/research/) |
--focus | -f | Specific areas to focus on |
--quiet | -q | Suppress streaming output |
Description¶
Generates a research prompt and runs Claude to analyze:
- Architecture and existing patterns
- Dependencies and integration points
- Risks and open questions
Examples¶
Research a specification¶
Write to specific location¶
Focus on specific concerns¶
Suppress streaming output¶
Output¶
Research output is written to .weld/research/ 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.