Skip to content

Commit 6b27193

Browse files
committed
feat: add Agent pipeline tags to all 15 templates + UI label
- Added {{Agent:}} multi-step pipelines to all 15 agent templates - Show 'AI · Agent' tag on template cards via displayTag property - Activated pre-commit changelog hook (core.hooksPath)
1 parent 4981f79 commit 6b27193

2 files changed

Lines changed: 1201 additions & 1126 deletions

File tree

CHANGELOG-agent-tags.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Agent Tags & UI Label — Add {{Agent:}} pipelines and display tag
2+
3+
- Added `{{Agent:}}` multi-step pipeline sections to all 15 agent templates
4+
- Added `displayTag: 'AI · Agent'` property to all 15 templates in `agents.js`
5+
- Updated card rendering in `templates.js` to show `tpl.displayTag || tpl.category`
6+
- Activated pre-commit changelog hook: set `core.hooksPath` to `.githooks/`
7+
- Each Agent pipeline has 3 chained steps relevant to the template's domain
8+
9+
---
10+
11+
## Summary
12+
Added `{{Agent:}}` multi-step pipeline tags to all 15 agent templates so they showcase the Agent Flow feature. Updated the UI to show "AI · Agent" label on template cards. Fixed the pre-commit hook that was inactive due to missing `core.hooksPath` config.
13+
14+
---
15+
16+
## 1. Agent Pipeline Content
17+
**Files:** `js/templates/agents.js`
18+
**What:** Added a `## 🔗 Agent Pipeline` section with `{{Agent: Step 1/2/3}}` tags to each template. Pipelines are domain-specific (e.g., Data Science gets analysis pipeline, SQL gets optimization pipeline).
19+
**Impact:** Users see and can run Agent Flow pipelines when using these templates.
20+
21+
## 2. Display Tag
22+
**Files:** `js/templates/agents.js`, `js/templates.js`
23+
**What:** Added `displayTag: 'AI · Agent'` to all templates; card rendering uses `tpl.displayTag || tpl.category`.
24+
**Impact:** Template cards show "AI · Agent" instead of just "ai".
25+
26+
---
27+
28+
## Files Changed (2 total)
29+
30+
| File | Lines Changed | Type |
31+
|------|:---:|------|
32+
| `js/templates/agents.js` | ~+165 | Agent pipeline sections + displayTag |
33+
| `js/templates.js` | +1 | Card tag rendering |

0 commit comments

Comments
 (0)