generate_code
Generate production-ready code for a feature in your target language. Produces a structured prompt the host LLM runs to output code, tests, logging, error handling, and docs.
Instructions
Generate clean, scalable, production-ready code for a feature. Returns a structured prompt the host LLM executes to produce code, tests, logging, error handling, and docs following industry best practices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Surrounding architecture: frameworks in use, conventions, neighbouring services. | |
| feature | Yes | Plain-English description of the feature or component to build. | |
| language | Yes | Target language/runtime, e.g. 'TypeScript', 'Java 21 + Spring Boot 3'. | |
| constraints | No | Hard constraints (latency budgets, compliance, library versions, etc.). | |
| includeDocs | No | Generate inline + module-level documentation. | |
| includeTests | No | Generate unit + integration tests. |