Skip to content

Auto-suggest tags from attached code snippets🏷️ #120

Description

@anoopcodehack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions