How xaviiromf/sdd-generator works
SDD-Studio is a Spanish-language browser studio that turns an idea, structured requirements, project context, and configuration into a traceable 34-document development kit. Its principal workflow is requirements and context capture → configuration and design refinement → review → generated documents and ZIP export. It also supports local project/version management, JSON backup and import, and optional MCP inference. The source index and excerpts show the app’s draft, worker, and store wiring; some feature-to-engine connections below are documented by the README rather than sampled implementation.
Main entry points: editorStore.ts Editor state · projectLibraryStore.ts Project and version state · StudioLayout.tsx Studio interface · RequirementsEditor.tsx Idea and requirements
Components 23
Project definition
- Studio interface
src/app/StudioLayout.tsx - Idea and requirements
src/components/requirements/RequirementsEditor.tsx - Context interview
src/components/requirements/ContextInterview.tsx - Project definition
src/domain/projectDefinition.ts - Editor state
src/store/editorStore.ts
Configuration and design
- Seven-phase configuration
src/components/configurator/Configurator.tsx - Technology catalog
src/catalog/technologies.ts - Aesthetic studio
src/components/aesthetics/AestheticStudio.tsx - Project profiles
src/domain/profiles.ts - Optional MCP inference
src/services/mcpClient.ts
Kit generation
- Generator worker
src/workers/generator.worker.ts - Kit compiler
src/engine/compiler.ts - Kit context
src/engine/kitContext.ts - Traceability coverage
src/engine/coverage.ts
Local project management
- Project library
src/components/projects/ProjectLibrary.tsx - Project and version state
src/store/projectLibraryStore.ts - Browser project storage
src/services/projectStorage.ts - Draft recovery
src/services/draftStorage.ts - JSON backup import
src/services/projectImport.ts
Review and delivery
- Document viewer
src/components/documents/DocumentCanvas.tsx - Preparation review
src/components/review/PreparationReview.tsx - ZIP and prompt export
src/components/export/ExportBar.tsx
Other components
- Project author
Connections 23
- Project author → Idea and requirements: describes idea
- Project author → Context interview: adds context
- Idea and requirements → Editor state: edits requirements
src/components/requirements/ContextInterview.tsx - Context interview → Editor state: updates project
src/components/requirements/ContextInterview.tsx - Editor state → Project definition: maintains definition
src/store/editorStore.ts - Project author → Seven-phase configuration: refines phases
- Seven-phase configuration → Technology catalog: offers choices
src/catalog/technologies.ts - Project author → Aesthetic studio: customizes design
- Aesthetic studio → Project profiles: configures profile
src/domain/profiles.ts - Optional MCP inference → Editor state: supplies optional inference
- Studio interface → Generator worker: starts generation
- Generator worker → Kit compiler: compiles kit
src/workers/generator.worker.ts - Kit compiler → Kit context: uses kit context
src/engine/kitContext.ts - Project author → Preparation review: reviews readiness
- Preparation review → Traceability coverage: shows coverage
src/components/review/PreparationReview.tsx - Project author → Document viewer: inspects documents
- Project author → ZIP and prompt export: copies or downloads
- Project author → Project library: manages projects
- Project library → Project and version state: updates library
src/store/projectLibraryStore.ts - Project and version state → Browser project storage: reads and writes
src/store/projectLibraryStore.ts - Studio interface → Draft recovery: restores and saves draft
src/app/App.tsx - Project author → JSON backup import: imports backup
- Project and version state → JSON backup import: validates import
src/store/projectLibraryStore.ts