Weld provides prompts for a structured development workflow:
1. Discovery (optional) | Analyze existing codebase architecture
2. Interview (optional) | Refine specification through Q&A
3. Research | Deep dive into implementation approach
4. Planning | Generate step-by-step implementation plan
5. Implement | Execute plan steps interactively
6. Review | Validate documents against codebase
7. Commit | Create commit with transcript link
Weld creates structured prompts that you run in Claude Code. Each command generates a focused prompt tailored to its purpose:
- Research prompts guide analysis of architecture and dependencies
- Planning prompts produce step-by-step implementation plans
- Review prompts validate documents against your codebase
- Commit prompts generate meaningful commit messages
Commands log their inputs and outputs to .weld/<command>/history.jsonl. This provides:
- Audit trail of all AI interactions
- Ability to replay or reference past sessions
- Debugging information for troubleshooting
A transcript is a Claude Code session record, published as a GitHub gist and linked in commit messages:
Implement user auth
Claude-Transcript: https://gist.github.com/...
This provides full auditability of AI-assisted changes.
Before starting, understand the existing architecture:
weld discover -o docs/architecture.mdUse interview mode to improve your spec:
weld interview specs/feature.mdDeep dive into the approach:
weld research specs/feature.md -o research.mdCreate an actionable implementation plan:
weld plan specs/feature.md -o plan.mdValidate the plan against your codebase:
weld review plan.md --applyExecute the plan step by step:
weld implement plan.mdAfter each step completes, you'll be prompted to review changes:
Review changes from step 1.1? [y/N]:
This optional review prompt lets you catch issues early. You can choose to:
- Review only (get a list of findings)
- Review and apply fixes automatically
If you skipped the per-step review prompts, you can review all changes before committing:
weld review --diff --stagedCreate a commit with transcript link:
weld commit --all- Commands Reference - Detailed command documentation
- Plan Format - How plans are structured