generate_files
Generate a complete set of related files (e.g., interface, implementation, DTOs, validators, mapper, controller) from a single spec, returning structured content you can save to your project.
Instructions
Generate several related files in one call (e.g. a full module: interface + implementation + DTOs + validators + mapper + controller). Returns structured, saveable file content — never writes to disk itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Full specification of the module/feature to generate | |
| model | No | Model to use | |
| language | No | Target programming language (e.g. typescript, csharp, python) | |
| provider | No | AI Provider | |
| framework | No | Framework in use (e.g. ASP.NET Core, NestJS, Express, Spring Boot) | |
| components | No | List/description of the components expected (e.g. "IUserRepository, UserRepository, IUserService, UserService, DTOs, Validators, Mapper, Controller, Unit Tests") | |
| module_name | No | Name of the module/feature (e.g. User, Order, Authentication) | |
| architecture | No | Architecture to follow (e.g. Clean Architecture, Onion, Vertical Slice, Modular Monolith, Microservices, CQRS, Repository+UoW) | |
| coding_style | No | Coding style/formatting conventions to follow | |
| project_rules | No | Project-specific rules or constraints the generated code must respect | |
| target_folder | No | Target folder/namespace the generated file(s) belong to | |
| design_pattern | No | Specific design pattern(s) to apply | |
| project_context | No | Existing project tree, dependencies, namespaces, or conventions the output must match | |
| naming_convention | No | Naming convention to follow (e.g. PascalCase classes, camelCase methods) |