← Back to Kontasks
Konui Templates vs gvShell Templates
Comparison of template systems in konui and gvShell
Output
🔄 Two Template Systems - Same Goal, Different Layers
Yes! You're Right - They're Conceptually Similar
Both are about structured patterns that reduce repetitive work and ensure consistent output. But they operate at different layers:
Konui Kontask Templates
Purpose: Render rich UI cards from structured data
| image_selection | Grid of clickable images with selection |
| text_approval | Text block for review (plain/markdown/html) |
| comparison | Side-by-side comparison of items |
| url_verification | URL with preview iframe |
| action_confirm | Warning dialog with confirmation checkbox |
| multi_choice | Radio/checkbox list of options |
| code_review | Syntax-highlighted code with diff support |
| data_table | Sortable data table |
| markdown | Rendered markdown content |
| file_tree | Interactive file tree with git status |
| custom | Raw HTML (what we use most often) |
gvShell Prompt Templates
Purpose: Pre-written AI prompts with variable substitution
| coding | "You are an expert {{language}} developer..." |
| review | "Review for bugs, security, performance..." |
| debug | "Help me debug this issue..." |
| explain | "Explain this code step-by-step..." |
| refactor | "Refactor without changing behavior..." |
| test | "Write comprehensive tests for..." |
The Key Difference
KONUI TEMPLATES (Output Layer) ┌─────────────────────────────────────────────────┐ │ Claude generates structured data: │ │ { template: "image_selection", │ │ data: { images: [...] } } │ │ ↓ │ │ Template renderer → Rich HTML UI card │ └─────────────────────────────────────────────────┘ GVSHELL TEMPLATES (Input Layer) ┌─────────────────────────────────────────────────┐ │ User types: │ │ /template use review │ │ ↓ │ │ Template expands → Full prompt sent to Claude │ └─────────────────────────────────────────────────┘
How They Work Together in greatVibe
# 1. User applies a prompt template in gvShell: gvshell> /template use review file=router.ts # 2. Template expands to full prompt: "Review this Go code for bugs, security, performance... Format as Critical/Warning/Suggestion..." # 3. Claude processes and creates kontask: konui_create_task({ template: "code_review", data: {...} }) # 4. Konui renders using its template system: → Beautiful syntax-highlighted code review card
💡 Summary
gvShell templates = How you ask Claude (input prompts)
Konui templates = How Claude answers you (output rendering)
They're two sides of the same coin - both reduce repetition and ensure consistency, just at different points in the workflow.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
gvshellkonuitemplatesarchitecture
Created
7 Jan 2026, 12:07 am
Updated
7 Jan 2026, 12:07 am
Timing
⏱️ 92.1s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
Raw Data
{
"id": "76a39cef-bccc-4405-b9df-a154c12d6726",
"type": "general",
"status": "completed",
"title": "Konui Templates vs gvShell Templates",
"description": "Comparison of template systems in konui and gvShell",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\">\n<h2 style=\"color:#fff;margin:0 0 20px 0;\">🔄 Two Template Systems - Same Goal, Different Layers</h2>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#e5c07b;\">Yes! You're Right - They're Conceptually Similar</h3>\n<p style=\"color:#e0e0e0;margin:0;\">Both are about <strong>structured patterns</strong> that reduce repetitive work and ensure consistent output. But they operate at different layers:</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#61afef;\">Konui Kontask Templates</h3>\n<p style=\"color:#abb2bf;margin:0 0 12px 0;\"><strong>Purpose:</strong> Render rich UI cards from structured data</p>\n<table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\">\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;width:30%;\">image_selection</td><td style=\"padding:8px;color:#abb2bf;\">Grid of clickable images with selection</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">text_approval</td><td style=\"padding:8px;color:#abb2bf;\">Text block for review (plain/markdown/html)</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">comparison</td><td style=\"padding:8px;color:#abb2bf;\">Side-by-side comparison of items</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">url_verification</td><td style=\"padding:8px;color:#abb2bf;\">URL with preview iframe</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">action_confirm</td><td style=\"padding:8px;color:#abb2bf;\">Warning dialog with confirmation checkbox</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">multi_choice</td><td style=\"padding:8px;color:#abb2bf;\">Radio/checkbox list of options</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">code_review</td><td style=\"padding:8px;color:#abb2bf;\">Syntax-highlighted code with diff support</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">data_table</td><td style=\"padding:8px;color:#abb2bf;\">Sortable data table</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">markdown</td><td style=\"padding:8px;color:#abb2bf;\">Rendered markdown content</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">file_tree</td><td style=\"padding:8px;color:#abb2bf;\">Interactive file tree with git status</td></tr>\n<tr><td style=\"padding:8px;color:#98c379;\">custom</td><td style=\"padding:8px;color:#abb2bf;\">Raw HTML (what we use most often)</td></tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#c678dd;\">gvShell Prompt Templates</h3>\n<p style=\"color:#abb2bf;margin:0 0 12px 0;\"><strong>Purpose:</strong> Pre-written AI prompts with variable substitution</p>\n<table style=\"width:100%;border-collapse:collapse;font-size:0.9rem;\">\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;width:30%;\">coding</td><td style=\"padding:8px;color:#abb2bf;\">\"You are an expert {{language}} developer...\"</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">review</td><td style=\"padding:8px;color:#abb2bf;\">\"Review for bugs, security, performance...\"</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">debug</td><td style=\"padding:8px;color:#abb2bf;\">\"Help me debug this issue...\"</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">explain</td><td style=\"padding:8px;color:#abb2bf;\">\"Explain this code step-by-step...\"</td></tr>\n<tr style=\"border-bottom:1px solid #444;\"><td style=\"padding:8px;color:#98c379;\">refactor</td><td style=\"padding:8px;color:#abb2bf;\">\"Refactor without changing behavior...\"</td></tr>\n<tr><td style=\"padding:8px;color:#98c379;\">test</td><td style=\"padding:8px;color:#abb2bf;\">\"Write comprehensive tests for...\"</td></tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#56b6c2;\">The Key Difference</h3>\n<pre style=\"background:#3d3d3d;padding:16px;border-radius:4px;color:#e0e0e0;margin:0;line-height:1.8;font-family:monospace;\">\n<span style=\"color:#c678dd;font-weight:bold;\">KONUI TEMPLATES</span> (Output Layer)\n┌─────────────────────────────────────────────────┐\n│ Claude generates structured data: │\n│ <span style=\"color:#98c379;\">{ template: \"image_selection\",</span> │\n│ <span style=\"color:#98c379;\"> data: { images: [...] } }</span> │\n│ ↓ │\n│ Template renderer → Rich HTML UI card │\n└─────────────────────────────────────────────────┘\n\n<span style=\"color:#e5c07b;font-weight:bold;\">GVSHELL TEMPLATES</span> (Input Layer)\n┌─────────────────────────────────────────────────┐\n│ User types: │\n│ <span style=\"color:#61afef;\">/template use review</span> │\n│ ↓ │\n│ Template expands → Full prompt sent to Claude │\n└─────────────────────────────────────────────────┘\n</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"margin:0 0 12px 0;color:#ff6b6b;\">How They Work Together in greatVibe</h3>\n<pre style=\"background:#3d3d3d;padding:16px;border-radius:4px;color:#e0e0e0;margin:0;line-height:1.8;font-family:monospace;\">\n<span style=\"color:#7f848e;\"># 1. User applies a prompt template in gvShell:</span>\n<span style=\"color:#61afef;\">gvshell></span> /template use review file=router.ts\n\n<span style=\"color:#7f848e;\"># 2. Template expands to full prompt:</span>\n<span style=\"color:#abb2bf;\">\"Review this Go code for bugs, security, performance...\n Format as Critical/Warning/Suggestion...\"</span>\n\n<span style=\"color:#7f848e;\"># 3. Claude processes and creates kontask:</span>\n<span style=\"color:#98c379;\">konui_create_task({ template: \"code_review\", data: {...} })</span>\n\n<span style=\"color:#7f848e;\"># 4. Konui renders using its template system:</span>\n<span style=\"color:#e5c07b;\">→ Beautiful syntax-highlighted code review card</span>\n</pre>\n</div>\n\n<div style=\"background:#1a3d1a;border:1px solid #2d5a2d;padding:16px;border-radius:6px;\">\n<h4 style=\"margin:0 0 8px 0;color:#98c379;\">💡 Summary</h4>\n<p style=\"color:#e0e0e0;margin:0;\">\n<strong>gvShell templates</strong> = How you <em>ask</em> Claude (input prompts)<br>\n<strong>Konui templates</strong> = How Claude <em>answers</em> you (output rendering)<br><br>\nThey're two sides of the same coin - both reduce repetition and ensure consistency, just at different points in the workflow.\n</p>\n</div>\n</div>",
"requestedAt": "2026-01-06T23:55:00.000Z",
"requestId": "aac1109c-1bc1-485f-8442-bdfb9d6700f2",
"choices": [
{
"label": "See konui template code",
"value": "Show me the actual kontask-templates.ts implementation with code examples",
"primary": true
},
{
"label": "Try file_tree template",
"value": "Create a kontask using the file_tree template to show the gvshell directory structure"
},
{
"label": "Continue to Phase 7",
"value": "Continue with gvShell Phase 7 Step 28 (Agent Registration)"
}
],
"turnTiming": {
"totalMs": 92116,
"ttfeMs": 205,
"thinkingMs": 91911,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-06T14:07:27.358Z",
"updatedAt": "2026-01-06T14:07:32.491Z",
"requestId": "aac1109c-1bc1-485f-8442-bdfb9d6700f2",
"scope": "vibetools",
"tags": [
"gvshell",
"konui",
"templates",
"architecture"
],
"targetUser": "claude"
}