@vfarcic/dot-ai
Version:
AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance
67 lines (44 loc) • 1.92 kB
Markdown
Convert validated Kubernetes manifests into {{output_format_description}}.
{{intent}}
{{solution_description}}
```yaml
{{{raw_manifests}}}
```
{{{questions_and_answers}}}
{{output_path}}
Transform the raw Kubernetes manifests into {{output_format_description}}.
1. **Analyze Context**: Review the user intent, solution description, and the questions/answers to understand what the user is trying to achieve.
2. **Externalize Configuration**: Make values that users might want to change across deployments or environments configurable. Use your judgment based on the context - the questions asked indicate what the user cares about customizing.
3. **Convert Manifests**: Transform raw manifests into the appropriate format with references to externalized configuration.
4. **Generate Metadata**: Create required metadata files for the package.
{{{format_specific_instructions}}}
Return a JSON object with exactly this structure:
```json
{
"files": [
{
"relativePath": "path/to/file.yaml",
"content": "file content as string"
}
]
}
```
**JSON Schema:**
- `files`: array (required) - List of files to generate
- `relativePath`: string (required) - File path relative to output directory (e.g., "Chart.yaml", "templates/deployment.yaml")
- `content`: string (required) - Complete file content
{{{format_example}}}
{{{previous_attempt}}}
{{{error_details}}}
If this is a retry, analyze the validation error and fix the specific issue while preserving working parts.
**CRITICAL**: Return ONLY the JSON object. NO markdown code blocks, NO explanations, NO additional text before or after the JSON.