Auto-suggest tags from attached code snippets🏷️
Add a "Suggest Tags" button near a task's code snippet that sends the snippet to an LLM and returns 2-3 relevant tags as clickable chips.
Tasks
Add "Suggest Tags" button in code snippet section of task card
Create POST /api/ai/suggest-tags route (backend)
Route accepts { code }, prompts LLM for 2-3 tags, returns array
Render suggestions as clickable chips
Clicking a chip adds it to the task's tags
Acceptance Criteria
Button only shows when a code snippet is attached
Suggested tags are relevant to the snippet's language/content
Adding a tag doesn't duplicate existing ones
Files likely touched
client/src/components/TaskCard.jsx, server/routes/ai.js
Auto-suggest tags from attached code snippets🏷️
Add a "Suggest Tags" button near a task's code snippet that sends the snippet to an LLM and returns 2-3 relevant tags as clickable chips.
Tasks
Add "Suggest Tags" button in code snippet section of task card
Create POST /api/ai/suggest-tags route (backend)
Route accepts { code }, prompts LLM for 2-3 tags, returns array
Render suggestions as clickable chips
Clicking a chip adds it to the task's tags
Acceptance Criteria
Button only shows when a code snippet is attached
Suggested tags are relevant to the snippet's language/content
Adding a tag doesn't duplicate existing ones
Files likely touched
client/src/components/TaskCard.jsx, server/routes/ai.js