Skip to content

Commit 4981f79

Browse files
committed
feat: show 'AI · Agent' tag on agent template cards
- Added displayTag: 'AI · Agent' to all 15 agent templates - Updated card rendering to use tpl.displayTag || tpl.category
1 parent f11f659 commit 4981f79

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

js/templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</div>
9090
<div class="template-card-name">${tpl.name}</div>
9191
<div class="template-card-desc">${tpl.description}</div>
92-
<span class="template-card-tag ${tpl.category}">${tpl.category}</span>
92+
<span class="template-card-tag ${tpl.category}">${tpl.displayTag || tpl.category}</span>
9393
<div class="template-card-preview">${preview.replace(/</g, '&lt;').replace(/>/g, '&gt;')}</div>
9494
`;
9595

js/templates/agents.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ window.__MDV_TEMPLATES_AGENTS = [
77
{
88
name: 'Data Science Pipeline',
99
category: 'ai',
10+
displayTag: 'AI · Agent',
1011
icon: 'bi-diagram-3',
1112
description: 'End-to-end data science workflow — Python code, statistical math, data tables, and pipeline diagrams',
1213
variables: [
@@ -141,6 +142,7 @@ print(f"Weights: {[round(w, 4) for w in weights]}")
141142
{
142143
name: 'SQL Database Workshop',
143144
category: 'ai',
145+
displayTag: 'AI · Agent',
144146
icon: 'bi-database-gear',
145147
description: 'Interactive SQL workshop — schema design, queries, ERD diagrams, and sample data tables',
146148
variables: [
@@ -340,6 +342,7 @@ Provide specific, actionable recommendations with expected performance improveme
340342
{
341343
name: 'Full-Stack App Blueprint',
342344
category: 'ai',
345+
displayTag: 'AI · Agent',
343346
icon: 'bi-layers',
344347
description: 'Complete app architecture — interactive HTML preview, API design, JS logic, and deployment diagram',
345348
content: '# 🏗️ Full-Stack App Blueprint — Task Manager\n\n' +
@@ -466,6 +469,7 @@ Provide specific, actionable recommendations with expected performance improveme
466469
{
467470
name: 'AI Research Agent',
468471
category: 'ai',
472+
displayTag: 'AI · Agent',
469473
icon: 'bi-robot',
470474
description: 'Multi-step AI research workflow — AI/Think reasoning, LaTeX math, chain-of-thought analysis, and citations',
471475
variables: [
@@ -599,6 +603,7 @@ Use formal academic language and reference the specific metrics from the benchma
599603
{
600604
name: 'DevOps Runbook',
601605
category: 'ai',
606+
displayTag: 'AI · Agent',
602607
icon: 'bi-hdd-rack',
603608
description: 'Production runbook — bash scripts, monitoring dashboards, incident response tables, and escalation flows',
604609
variables: [
@@ -713,6 +718,7 @@ Use formal academic language and reference the specific metrics from the benchma
713718
{
714719
name: 'Financial Modeling Agent',
715720
category: 'ai',
721+
displayTag: 'AI · Agent',
716722
icon: 'bi-cash-stack',
717723
description: 'Financial analysis toolkit — compound interest math, Python projections, financial tables, and growth charts',
718724
variables: [
@@ -802,6 +808,7 @@ Use formal academic language and reference the specific metrics from the benchma
802808
{
803809
name: 'ML Model Evaluation',
804810
category: 'ai',
811+
displayTag: 'AI · Agent',
805812
icon: 'bi-graph-up',
806813
description: 'Machine learning evaluation suite — confusion matrices, Python metrics, ROC analysis, and comparison tables',
807814
content: '# 🤖 ML Model Evaluation Report\n' +
@@ -879,6 +886,7 @@ Use formal academic language and reference the specific metrics from the benchma
879886
{
880887
name: 'API Testing Suite',
881888
category: 'ai',
889+
displayTag: 'AI · Agent',
882890
icon: 'bi-plug',
883891
description: 'REST API test suite — curl commands, response validation, status code tables, and sequence diagrams',
884892
variables: [
@@ -982,6 +990,7 @@ Use formal academic language and reference the specific metrics from the benchma
982990
{
983991
name: 'HTML Dashboard Builder',
984992
category: 'ai',
993+
displayTag: 'AI · Agent',
985994
icon: 'bi-speedometer2',
986995
description: 'Interactive analytics dashboard — live HTML charts, KPI cards, and real-time data visualization',
987996
content: '# 📊 Interactive Dashboard Builder\n' +
@@ -1080,6 +1089,7 @@ Use formal academic language and reference the specific metrics from the benchma
10801089
{
10811090
name: 'Competitive Intel Agent',
10821091
category: 'ai',
1092+
displayTag: 'AI · Agent',
10831093
icon: 'bi-binoculars',
10841094
description: 'Market intelligence report — AI-powered SWOT, competitor tables, positioning diagrams, and strategy',
10851095
variables: [
@@ -1172,6 +1182,7 @@ Use formal academic language and reference the specific metrics from the benchma
11721182
{
11731183
name: 'Algorithm Visualizer',
11741184
category: 'ai',
1185+
displayTag: 'AI · Agent',
11751186
icon: 'bi-cpu',
11761187
description: 'Algorithm analysis — Big-O math, Python implementations, complexity comparison tables, and flowcharts',
11771188
content: '# ⚡ Algorithm Visualizer\n' +
@@ -1284,6 +1295,7 @@ Use formal academic language and reference the specific metrics from the benchma
12841295
{
12851296
name: 'System Design Document',
12861297
category: 'ai',
1298+
displayTag: 'AI · Agent',
12871299
icon: 'bi-diagram-2',
12881300
description: 'Architecture design — mermaid system diagrams, SQL schemas, capacity math, and trade-off tables',
12891301
variables: [
@@ -1417,6 +1429,7 @@ Use formal academic language and reference the specific metrics from the benchma
14171429
{
14181430
name: 'Data Cleaning Toolkit',
14191431
category: 'ai',
1432+
displayTag: 'AI · Agent',
14201433
icon: 'bi-funnel',
14211434
description: 'Data quality pipeline — Python cleaning scripts, validation tables, bash processing, and quality metrics',
14221435
content: '# 🧹 Data Cleaning Toolkit\n' +
@@ -1542,6 +1555,7 @@ Use formal academic language and reference the specific metrics from the benchma
15421555
{
15431556
name: 'Project Retrospective Agent',
15441557
category: 'ai',
1558+
displayTag: 'AI · Agent',
15451559
icon: 'bi-arrow-counterclockwise',
15461560
description: 'Sprint/project retro — AI analysis, metrics tables, timeline diagrams, and interactive HTML survey',
15471561
variables: [
@@ -1693,6 +1707,7 @@ Use formal academic language and reference the specific metrics from the benchma
16931707
{
16941708
name: 'Science Lab Notebook',
16951709
category: 'ai',
1710+
displayTag: 'AI · Agent',
16961711
icon: 'bi-mortarboard',
16971712
description: 'Scientific experiment notebook — LaTeX equations, Python simulations, data tables, and experiment diagrams',
16981713
content: '# 🔬 Science Lab Notebook\n' +

0 commit comments

Comments
 (0)