Software Forge
AI-powered software engineering pipeline for VS Code — from idea to deployment, with standardized documentation at every phase.
Software Forge acts as the software architect's assistant, guiding projects through a structured eight-phase process that transforms raw ideas into production-ready engineering documentation. Every artifact is traceable, versioned, and follows industry standards (IEEE 830, IEEE 829, C4 model).
Powered by Claude via the @anthropic-ai/claude-agent-sdk.
Features
Idea Maturation Pipeline
Capture ideas freely, refine them individually, then let AI validate them as a cohesive set:
- Wish List — Add raw ideas without structure constraints
- Refinement — Claude asks targeted questions to shape each idea
- Batch Validation — AI analyzes all ideas together for overlaps, gaps, and dependencies
- Deep Context — Clarify scope, integration points, use cases, and architectural patterns
- Document Generation — Produce formal engineering documents with full traceability
Eight Engineering Phases
| Phase |
Key Outputs |
| 1. Ideation |
Wish-list items, refined ideas |
| 2. Discovery |
Discovery report, stakeholder analysis, feasibility assessment, vision document |
| 3. Requirements |
BRD, FRS, NFRs, use cases, user stories, SRS, data dictionary, glossary, RTM |
| 4. System Design |
SAD, ADRs, HLD, database design, API spec, UI/UX spec, ICD, tech stack |
| 5. Detailed Design |
LLD, technical specs, error handling design |
| 6. Implementation Planning |
Implementation plan, repo strategy, CI/CD design, risk plan |
| 7. Test Planning |
Test strategy, test plan, test cases |
| 8. Deployment Planning |
Deployment plan with rollback procedures |
34 Document Types
Each document type has a configurable Markdown template with YAML frontmatter, following industry standards:
- IEEE 830 — Software Requirements Specification
- IEEE 829 — Test Plan
- IEEE 1016 — Software Architecture Document
- C4 Model — Architecture diagrams (Context, Container, Component)
Traceability
Every requirement, decision, and test case links back through the pipeline:
IDEA-001 -> BR-001 -> FR-001 -> SRS-001 -> COMP-001 -> TC-001
Updates propagate staleness flags — never auto-overwrite.
Mermaid Diagrams
Documents include AI-generated Mermaid diagrams rendered live in the built-in webview:
- C4 architecture diagrams
- Entity-relationship diagrams
- Sequence diagrams
- State machines
- Flowcharts
- Class diagrams
- Gantt charts
Export to SVG or PNG with one click.
Configurable Templates
Override any template per project. Place your custom version in docs/forge/.templates/ and the extension uses it instead of the built-in default.
Getting Started
Install
From VSIX:
code --install-extension software-forge-0.1.0.vsix
From Marketplace:
Search for Software Forge in the VS Code Extensions panel.
Initialize a Project
- Open a workspace in VS Code
- Press
Ctrl+Shift+P and run Software Forge: Initialize Project
- Enter your project name
- The
docs/forge/ directory is created with the phase structure
Typical Workflow
1. Add ideas -> Software Forge: Add Idea to Wish List
2. Refine each idea -> Software Forge: Refine Idea
3. Validate all -> Software Forge: Validate All Ideas
4. Generate docs -> Software Forge: Generate Document
5. Refine docs -> Software Forge: Refine Document
6. Approve docs -> Software Forge: Approve Document
7. Advance phase -> Software Forge: Advance Phase
Commands
| Command |
Description |
Software Forge: Initialize Project |
Create docs/forge/ structure in workspace |
Software Forge: Add Idea to Wish List |
Capture a new raw idea |
Software Forge: Refine Idea |
Refine a specific idea with AI assistance |
Software Forge: Validate All Ideas |
Batch-validate all refined ideas |
Software Forge: Generate Document |
Generate a document for the current phase |
Software Forge: Refine Document |
Refine a document with feedback |
Software Forge: Approve Document |
Mark a document as approved |
Software Forge: Advance Phase |
Advance to the next pipeline phase |
Software Forge: View Traceability Matrix |
View cross-document traceability |
Software Forge: Open Document |
Preview document in webview with Mermaid rendering |
Software Forge: Configure Authentication |
Set up Claude API authentication |
Software Forge: Export Diagram |
Export a Mermaid diagram to SVG/PNG |
Configuration
| Setting |
Default |
Description |
softwareForge.outputDir |
docs/forge |
Output directory for generated documents |
softwareForge.autoCommit |
true |
Auto-commit documents to git after creation/approval |
softwareForge.model |
sonnet |
Claude model (sonnet, opus, haiku) |
softwareForge.templateDir |
"" |
Custom template directory (project-level override) |
softwareForge.maxBudgetUsd |
5 |
Maximum budget in USD per Claude session |
Project Output Structure
docs/forge/
forge.json # Project state
.templates/ # Optional: template overrides
01-ideation/
wish-list/ # Raw ideas (IDEA-XXX)
refined/ # Refined ideas
02-discovery/
discovery-report.md
stakeholder-analysis.md
feasibility-assessment.md
vision-document.md
03-requirements/
brd.md, frs.md, nfrs.md, srs.md, ...
use-cases/ # UC-XXX per use case
04-system-design/
sad.md, hld.md, api-spec.md, ...
adrs/ # ADR-XXX per decision
05-detailed-design/
lld.md, error-handling.md, ...
technical-specs/ # SPEC-XXX per module
06-implementation/
implementation-plan.md, cicd-design.md, ...
07-testing/
test-strategy.md, test-plan.md, test-cases.md
08-deployment/
deployment-plan.md
Development
Build from Source
git clone https://github.com/V4lle-Tech/software-forge.git
cd software-forge
npm ci
npm run build
Run in Development
# Watch mode
npm run watch:esbuild
# Press F5 in VS Code to launch Extension Development Host
Generate VSIX
npx @vscode/vsce package --no-dependencies
See HOW-VSIX.md for detailed build instructions.
Publish
See HOW-PUBLISH.md for distribution and CI/CD setup.
Tech Stack
| Layer |
Technology |
| Language |
TypeScript (strict mode, ES2022) |
| Extension Host |
VS Code Extension API |
| AI Engine |
Claude via @anthropic-ai/claude-agent-sdk |
| Frontmatter |
gray-matter |
| Markdown |
marked |
| Diagrams |
Mermaid (CDN in webview) |
| Bundler |
esbuild |
License
MIT - Antonio Valle / V4lle-Tech