VibesPro Generator Handbook Epic

User Journey

The VibesPro Generator bounded context provides the Nx-based generator infrastructure for spec-to-code projections. It enables library generation, meta-generators, type sync, pattern oracles, and governance hooks to transform SEA™ DSL specifications into executable code.

Jobs to be Done & EARS Requirements

Job: Generate Nx Library

User Story: As a developer, I want to generate a TypeScript library using Nx generators, so that I can quickly scaffold code with proper structure and configuration.

EARS Requirement:


Job: List Available Generators

User Story: As a developer, I want to discover available Nx generators, so that I can find the right generator for my task.

EARS Requirement:


Job: Preview Generator Output

User Story: As a developer, I want to preview generator output before writing files, so that I can verify the generator will produce what I expect.

EARS Requirement:


Job: Create Custom Generator

User Story: As a platform engineer, I want to create a custom Nx generator for organization-specific patterns, so that teams can generate consistent code structures.

EARS Requirement:


Job: Sync Types from SEA DSL

User Story: As a developer, I want to generate TypeScript types from SEA™ DSL specifications, so that my code matches the domain model.

EARS Requirement:


Job: Apply Pattern Oracle

User Story: As a developer, I want to use Pattern Oracle to suggest code patterns based on SEA™ DSL context, so that I generate code following best practices.

EARS Requirement:


Job: Execute Governance Hooks

User Story: As a governance officer, I want to validate generated code against governance policies, so that all code complies with architectural rules.

EARS Requirement:


Job: Configure Meta-Generators

User Story: As a platform engineer, I want to create meta-generators that orchestrate multiple generators, so that I can generate complex multi-file structures with a single command.

EARS Requirement:


Domain Entities Summary

Root Aggregates

Value Objects

Policy Rules

Integration Points

Success Metrics

Non-Functional Requirements