AgentSkillsCN

categorize-feedback

将被识别为客户反馈的收件箱消息进行分类,明确其所属类别、情感倾向与紧急程度。适用于符合已配置反馈标签模式的消息(例如,主题以“[反馈]”开头)。

SKILL.md
--- frontmatter
name: categorize-feedback
description: Classify an inbox message identified as client feedback. Assign category, sentiment, and urgency. Use for messages matching the configured feedback label pattern (e.g., subject starts with [Feedback]).
tools:
  - categorize_feedback
user-invokable: false
version: 1.0.0

Categorize Feedback

Purpose

Process a client feedback message by classifying it into a structured category with sentiment and urgency scoring, then persisting the result.

Instructions

  1. Extract key phrases from the subject and any available metadata (do NOT use or store the email body — metadata only)
  2. Call categorize_feedback with the message ID, subject, sender, and extracted key phrases
  3. Inspect the returned FeedbackCategory:
    • Record the category (BugReport / FeatureRequest / Praise / Complaint / Question / Other)
    • Record sentiment score (-1 to +1)
    • Record urgency level (Low / Medium / High / Critical)
  4. If IsHighPriority is true (urgency = High or Critical):
    • The tool will automatically flag the item for human review via AlertService
    • Log the escalation with reason
  5. Add the message ID to the processed-message log with disposition "Categorized"

Category Definitions

  • BugReport: Client reports a defect or malfunction
  • FeatureRequest: Client requests new functionality
  • Praise: Positive feedback with no action required
  • Complaint: Negative feedback about service, quality, or experience
  • Question: Request for information or clarification
  • Other: Does not fit other categories

Expected Output

The structured FeedbackCategory: category, sentiment, urgency, and whether it was escalated.